44 #ifndef attachDetach_H 45 #define attachDetach_H 93 mutable label triggerIndex_;
96 mutable modifierState state_;
99 mutable bool trigger_;
117 void checkDefinition();
128 void calcPointMatchMap()
const;
134 void clearAddressing()
const;
140 static const scalar positionDifference_;
157 const word& faceZoneName,
158 const word& masterPatchName,
159 const word& slavePatchName,
183 return masterPatchID_;
189 return slavePatchID_;
195 return state_ == ATTACHED;
200 return manualTrigger_;
225 return triggerTimes_;
bool attached() const
Is the interface attached?
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
const polyPatchID & masterPatchID() const
Return master patch ID.
virtual void modifyMotionPoints(pointField &motionPoints) const
Modify motion points to comply with the topological change.
A list of keyword definitions, which are a keyword followed by any number of values (e...
virtual void setRefinement(polyTopoChange &) const
Insert the layer addition/removal instructions.
A simple wrapper around bool so that it can be read as a word: true/false, on/off, yes/no, y/n, t/f, or none.
const word & name() const
Return name of this modifier.
const scalarField & triggerTimes() const
Get reference to trigger times.
label index() const
Return the index of this modifier.
TypeName("attachDetach")
Runtime type information.
virtual void write(Ostream &) const
Write.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
const polyPatchID & slavePatchID() const
Return slave patch ID.
List of mesh modifiers defining the mesh dynamics.
A class for handling words, derived from string.
virtual void updateMesh(const mapPolyMesh &)
Force recalculation of locally stored data on topological change.
virtual bool changeTopology() const
Check for topology change.
Virtual base class for mesh modifiers.
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...
const Switch & manualTrigger() const
virtual void writeDict(Ostream &) const
Write dictionary.
Direct mesh changes based on v1.3 polyTopoChange syntax.
virtual ~attachDetach()
Destructor.