Go to the documentation of this file.
39 #ifndef layerAdditionRemoval_H
40 #define layerAdditionRemoval_H
65 mutable scalar minLayerThickness_;
68 mutable scalar maxLayerThickness_;
72 const bool thicknessFromVolume_;
76 mutable scalar oldLayerThickness_;
85 mutable label triggerRemoval_;
88 mutable label triggerAddition_;
100 void checkDefinition();
106 bool validCollapse()
const;
109 bool setLayerPairing()
const;
127 void clearAddressing()
const;
133 static scalar readOldThickness(
const dictionary&);
139 static const scalar addDelta_;
144 static const scalar removeDelta_;
160 const word& zoneName,
161 const scalar minThickness,
162 const scalar maxThickness,
163 const bool thicknessFromVolume =
true
201 return minLayerThickness_;
210 return maxLayerThickness_;
virtual bool changeTopology() const
Check for topology change.
A class for handling words, derived from Foam::string.
virtual void updateMesh(const mapPolyMesh &)
Force recalculation of locally stored data on topological change.
Cell layer addition mesh modifier.
A class for managing temporary objects.
List of mesh modifiers defining the mesh dynamics.
Direct mesh changes based on v1.3 polyTopoChange syntax.
virtual void setRefinement(polyTopoChange &) const
Insert the layer addition/removal instructions.
label index() const
Return the index of this modifier.
virtual ~layerAdditionRemoval()
Destructor.
void setMaxLayerThickness(const scalar t) const
Set max layer thickness which triggers removal.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
void setMinLayerThickness(const scalar t) const
Set min layer thickness which triggers removal.
scalar maxLayerThickness() const
Return max layer thickness which triggers removal.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Virtual base class for mesh modifiers.
const word & name() const
Return name of this modifier.
virtual void modifyMotionPoints(pointField &motionPoints) const
Modify motion points to comply with the topological change.
scalar minLayerThickness() const
Return min layer thickness which triggers removal.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
virtual void write(Ostream &) const
Write.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
virtual void writeDict(Ostream &) const
Write dictionary.
TypeName("layerAdditionRemoval")
Runtime type information.