Go to the documentation of this file.
44 #ifndef attachDetach_H
45 #define attachDetach_H
157 const word& faceZoneName,
158 const word& masterPatchName,
159 const word& slavePatchName,
A simple wrapper around bool so that it can be read as a word: true/false, on/off,...
faceZoneID faceZoneID_
Master face zone ID.
A class for handling words, derived from string.
Map< label > * pointMatchMapPtr_
Map of matching points.
virtual bool changeTopology() const
Check for topology change.
virtual void updateMesh(const mapPolyMesh &)
Force recalculation of locally stored data on topological change.
polyPatchID masterPatchID_
Master patch ID. Holds faces with original orientation.
void attachInterface(polyTopoChange &) const
Attach interface.
virtual void modifyMotionPoints(pointField &motionPoints) const
Modify motion points to comply with the topological change.
TypeName("attachDetach")
Runtime type information.
attachDetach(const attachDetach &)
Disallow default bitwise copy construct.
virtual void writeDict(Ostream &) const
Write dictionary.
List of mesh modifiers defining the mesh dynamics.
void calcPointMatchMap() const
Calculate point match addressing.
Direct mesh changes based on v1.3 polyTopoChange syntax.
label index() const
Return the index of this modifier.
label triggerIndex_
Trigger time index.
bool trigger_
Attach/detach trigger.
modifierState
State of the modifier.
virtual void write(Ostream &) const
Write.
Attach/detach boundary mesh modifier. This modifier takes a set of internal faces and converts them i...
Switch manualTrigger_
Use manual trigger.
polyPatchID slavePatchID_
Slave patch ID. Holds mirrored faces.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Pre-declare SubField and related Field type.
static const scalar positionDifference_
Relative vertex position tolerance.
const polyPatchID & masterPatchID() const
Return master patch ID.
scalarField triggerTimes_
List of trigger times.
void clearAddressing() const
Clear addressing.
void detachInterface(polyTopoChange &) const
Detach interface.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Virtual base class for mesh modifiers.
const polyPatchID & slavePatchID() const
Return slave patch ID.
const word & name() const
Return name of this modifier.
modifierState state_
State of the modifier.
void operator=(const attachDetach &)
Disallow default bitwise assignment.
const scalarField & triggerTimes() const
Get reference to trigger times.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
virtual ~attachDetach()
Destructor.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
void checkDefinition()
Check validity of construction data.
const Map< label > & pointMatchMap() const
Return point match map.
bool attached() const
Is the interface attached?
virtual void setRefinement(polyTopoChange &) const
Insert the layer addition/removal instructions.
const Switch & manualTrigger() const