43 #ifndef externalDisplacementMeshMover_H 44 #define externalDisplacementMeshMover_H 105 TypeName(
"externalDisplacementMeshMover");
147 const bool dryRun =
false 171 const pointMesh&
pMesh()
const 176 const polyMesh&
mesh()
const 191 const label nAllowableErrors,
virtual void movePoints(const pointField &)
Update local data for geometry changes.
TypeName("externalDisplacementMeshMover")
Runtime type information.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
const pointMesh & pMesh() const
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
declareRunTimeSelectionTable(autoPtr, externalDisplacementMeshMover, dictionary,(const dictionary &dict, const List< labelPair > &baffles, pointVectorField &pointDisplacement, const bool dryRun),(dict, baffles, pointDisplacement, dryRun))
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
pointVectorField & pointDisplacement()
Return reference to the point motion displacement field.
A class for handling words, derived from Foam::string.
const bool dryRun_
In dry-run mode?
virtual bool move(const dictionary &, const label nAllowableErrors, labelList &checkFaces)=0
Move mesh using current pointDisplacement boundary values.
const Mesh & mesh() const noexcept
Return mesh.
pointVectorField & pointDisplacement_
Reference to point motion field.
virtual void updateMesh(const mapPolyMesh &)
Update local data for topology changes.
Virtual base class for mesh movers with externally provided displacement field giving the boundary co...
List< labelPair > baffles_
Baffles in the mesh.
static autoPtr< externalDisplacementMeshMover > New(const word &type, const dictionary &dict, const List< labelPair > &baffles, pointVectorField &pointDisplacement, const bool dryRun=false)
Return a reference to the selected meshMover model.
const polyMesh & mesh() const
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
Mesh consisting of general polyhedral cells.
static autoPtr< indirectPrimitivePatch > getPatch(const polyMesh &, const labelList &)
Construct patch on selected patches.
virtual ~externalDisplacementMeshMover()
Destructor.
static labelList getFixedValueBCs(const pointVectorField &)
Extract fixed-value patchfields.