Nektar++
Public Member Functions | Protected Member Functions | List of all members
Nektar::SpatialDomains::ZoneFixed Struct Referencefinal

Fixed zone: does not move. More...

#include <Zones.h>

Inheritance diagram for Nektar::SpatialDomains::ZoneFixed:
[legend]

Public Member Functions

 ZoneFixed (int id, int domainID, const CompositeMap &domain, const int coordDim)
 Constructor. More...
 
 ~ZoneFixed () override=default
 Default destructor. More...
 
- Public Member Functions inherited from Nektar::SpatialDomains::ZoneBase
 ZoneBase (MovementType type, int indx, int domainID, CompositeMap domain, int coordDim)
 Constructor. More...
 
virtual ~ZoneBase ()=default
 Default destructor. More...
 
MovementType GetMovementType () const
 Returns the type of movement. More...
 
CompositeMap GetDomain () const
 Returns the domain the zone is on. More...
 
int & GetId ()
 Returns the zone ID. More...
 
int & GetDomainID ()
 Returns the ID of the domain making up this Zone. More...
 
bool Move (NekDouble time)
 Performs the movement of the zone at. More...
 
std::vector< GeometrySharedPtr > const & GetElements () const
 Returns all highest dimension elements in the zone. More...
 
bool & GetMoved ()
 Returns the flag which states if the zone has moved in this timestep. More...
 
void ClearBoundingBoxes ()
 Clears all bounding boxes associated with the zones elements. More...
 

Protected Member Functions

bool v_Move (NekDouble time) final
 Virtual function for movement of the zone at. More...
 
virtual bool v_Move (NekDouble time)
 Virtual function for movement of the zone at. More...
 

Additional Inherited Members

- Protected Attributes inherited from Nektar::SpatialDomains::ZoneBase
MovementType m_type = MovementType::eNone
 Type of zone movement. More...
 
int m_id
 Zone ID. More...
 
int m_domainID
 ID for the composite making up this zone. More...
 
CompositeMap m_domain
 Zone domain. More...
 
std::vector< GeometrySharedPtrm_elements
 Vector of highest dimension zone elements. More...
 
bool m_moved = true
 Moved flag. More...
 
int m_coordDim
 Coordinate dimension. More...
 
std::vector< PointGeomSharedPtrm_verts
 Vector of all points in the zone. More...
 
std::vector< CurveSharedPtrm_curves
 Vector of all curves in the zone. More...
 
std::vector< PointGeomm_origVerts
 Vector of all points in the zone at initialisation. More...
 

Detailed Description

Fixed zone: does not move.

Definition at line 345 of file Zones.h.

Constructor & Destructor Documentation

◆ ZoneFixed()

Nektar::SpatialDomains::ZoneFixed::ZoneFixed ( int  id,
int  domainID,
const CompositeMap domain,
const int  coordDim 
)
inline

Constructor.

Definition at line 348 of file Zones.h.

350 : ZoneBase(MovementType::eFixed, id, domainID, domain, coordDim)
351 {
352 }
ZoneBase(MovementType type, int indx, int domainID, CompositeMap domain, int coordDim)
Constructor.

◆ ~ZoneFixed()

Nektar::SpatialDomains::ZoneFixed::~ZoneFixed ( )
overridedefault

Default destructor.

Member Function Documentation

◆ v_Move()

bool Nektar::SpatialDomains::ZoneFixed::v_Move ( NekDouble  time)
finalprotectedvirtual

Virtual function for movement of the zone at.

Parameters
time

Reimplemented from Nektar::SpatialDomains::ZoneBase.

Definition at line 279 of file Movement/Zones.cpp.

280{
281 return false;
282}