47 #ifndef attachDetach_H 48 #define attachDetach_H 93 mutable label triggerIndex_;
96 mutable modifierState state_;
102 mutable bool trigger_;
108 mutable std::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_;
virtual void write(Ostream &) const
Write.
virtual void setRefinement(polyTopoChange &) const
Insert the layer addition/removal instructions.
bool manualTrigger() const
Is manually triggered?
A list of keyword definitions, which are a keyword followed by a number of values (eg...
const polyPatchID & masterPatchID() const
Return master patch ID.
bool attached() const
Is the interface attached?
TypeName("attachDetach")
Runtime type information.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
List of mesh modifiers defining the mesh dynamics.
A class for handling words, derived from Foam::string.
virtual void updateMesh(const mapPolyMesh &)
Force recalculation of locally stored data on topological 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...
virtual void writeDict(Ostream &) const
Write dictionary.
virtual bool changeTopology() const
Check for topology change.
virtual ~attachDetach()=default
Destructor.
Direct mesh changes based on v1.3 polyTopoChange syntax.
const scalarField & triggerTimes() const
Get reference to trigger times.
const polyPatchID & slavePatchID() const
Return slave patch ID.
const word & name() const
Return name of this modifier.
virtual void modifyMotionPoints(pointField &motionPoints) const
Modify motion points to comply with the topological change.
label index() const
Return the index of this modifier.