93 mutable label triggerIndex_;
96 mutable modifierState state_;
102 mutable bool trigger_;
108 mutable unique_ptr<Map<label>> pointMatchMapPtr_;
120 void checkDefinition();
131 void calcPointMatchMap()
const;
137 void clearAddressing()
const;
143 static const scalar positionDifference_;
160 const word& faceZoneName,
161 const word& masterPatchName,
162 const word& slavePatchName,
186 return masterPatchID_;
192 return slavePatchID_;
198 return state_ == ATTACHED;
204 return manualTrigger_;
229 return triggerTimes_;
A HashTable to objects of type <T> with a label key.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Attach/detach boundary mesh modifier. This modifier takes a set of internal faces and converts them i...
virtual ~attachDetach()=default
Destructor.
const scalarField & triggerTimes() const
Get reference to trigger times.
bool attached() const
Is the interface attached?
virtual bool changeTopology() const
Check for topology change.
const polyPatchID & masterPatchID() const
Return master patch ID.
virtual void writeDict(Ostream &) const
Write dictionary.
bool manualTrigger() const
Is manually triggered?
TypeName("attachDetach")
Runtime type information.
virtual void setRefinement(polyTopoChange &) const
Insert the layer addition/removal instructions.
virtual void modifyMotionPoints(pointField &motionPoints) const
Modify motion points to comply with the topological change.
const polyPatchID & slavePatchID() const
Return slave patch ID.
virtual void updateMesh(const mapPolyMesh &)
Force recalculation of locally stored data on topological change.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
Virtual base class for mesh modifiers.
label index() const
Return the index of this modifier.
const word & name() const
Return name of this modifier.
Direct mesh changes based on v1.3 polyTopoChange syntax.
List of mesh modifiers defining the mesh dynamics.
A class for handling words, derived from Foam::string.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.