Go to the documentation of this file.
47 #ifndef attachDetach_H
48 #define attachDetach_H
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 class for handling words, derived from Foam::string.
virtual bool changeTopology() const
Check for topology change.
virtual void updateMesh(const mapPolyMesh &)
Force recalculation of locally stored data on topological change.
virtual void modifyMotionPoints(pointField &motionPoints) const
Modify motion points to comply with the topological change.
TypeName("attachDetach")
Runtime type information.
virtual void writeDict(Ostream &) const
Write dictionary.
List of mesh modifiers defining the mesh dynamics.
Direct mesh changes based on v1.3 polyTopoChange syntax.
label index() const
Return the index of this modifier.
virtual void write(Ostream &) const
Write.
Attach/detach boundary mesh modifier. This modifier takes a set of internal faces and converts them i...
const polyPatchID & masterPatchID() const
Return master patch ID.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Virtual base class for mesh modifiers.
const polyPatchID & slavePatchID() const
Return slave patch ID.
const word & name() const
Return name of this modifier.
virtual ~attachDetach()=default
Destructor.
const scalarField & triggerTimes() const
Get reference to trigger times.
bool manualTrigger() const
Is manually triggered?
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
bool attached() const
Is the interface attached?
virtual void setRefinement(polyTopoChange &) const
Insert the layer addition/removal instructions.