44 #ifndef attachDetach_H
45 #define attachDetach_H
93 mutable label triggerIndex_;
96 mutable modifierState state_;
99 mutable bool trigger_;
111 void checkDefinition();
122 void calcPointMatchMap()
const;
128 void clearAddressing()
const;
134 static const scalar positionDifference_;
151 const word& faceZoneName,
152 const word& masterPatchName,
153 const word& slavePatchName,
180 return masterPatchID_;
186 return slavePatchID_;
192 return state_ == ATTACHED;
197 return manualTrigger_;
222 return triggerTimes_;
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A simple wrapper around bool so that it can be read as a word: true/false, on/off,...
Attach/detach boundary mesh modifier. This modifier takes a set of internal faces and converts them i...
virtual void write(Ostream &) const
Write.
const polyPatchID & slavePatchID() const
Return slave patch ID.
void operator=(const attachDetach &)=delete
Disallow default bitwise assignment.
virtual void topoChange(const polyTopoChangeMap &)
Force recalculation of locally stored data on topological change.
attachDetach(const word &name, const label index, const polyTopoChanger &mme, const word &faceZoneName, const word &masterPatchName, const word &slavePatchName, const scalarField &triggerTimes, const bool manualTrigger=false)
Construct from components.
const polyPatchID & masterPatchID() const
Return master patch ID.
bool attached() const
Is the interface attached?
virtual bool changeTopology() const
Check for topology change.
virtual void writeDict(Ostream &) const
Write dictionary.
virtual ~attachDetach()
Destructor.
TypeName("attachDetach")
Runtime type information.
virtual void setRefinement(polyTopoChange &) const
Insert the layer addition/removal instructions.
const scalarField & triggerTimes() const
Get reference to trigger times.
virtual void modifyMotionPoints(pointField &motionPoints) const
Modify motion points to comply with the topological change.
const Switch & manualTrigger() const
A list of keyword definitions, which are a keyword followed by any number of values (e....
Virtual base class for mesh modifiers.
label index() const
Return the index of this modifier.
const word & name() const
Return name of this modifier.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
Direct mesh changes based on v1.3 polyTopoChange syntax.
List of mesh modifiers defining the mesh dynamics.
A class for handling words, derived from string.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.