43#ifndef externalDisplacementMeshMover_H
44#define externalDisplacementMeshMover_H
59class externalDisplacementMeshMover
93 externalDisplacementMeshMover
95 const externalDisplacementMeshMover&
99 void operator=(
const externalDisplacementMeshMover&) =
delete;
105 TypeName(
"externalDisplacementMeshMover");
113 externalDisplacementMeshMover,
129 externalDisplacementMeshMover
147 const bool dryRun =
false
171 const pointMesh&
pMesh()
const
176 const polyMesh&
mesh()
const
191 const label nAllowableErrors,
const Mesh & mesh() const noexcept
Return const reference to mesh.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
static labelList getFixedValueBCs(const pointVectorField &)
Extract fixed-value patchfields.
TypeName("externalDisplacementMeshMover")
Runtime type information.
static autoPtr< indirectPrimitivePatch > getPatch(const polyMesh &, const labelList &)
Construct patch on selected patches.
const polyMesh & mesh() const
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.
virtual bool move(const dictionary &, const label nAllowableErrors, labelList &checkFaces)=0
Move mesh using current pointDisplacement boundary values.
virtual ~externalDisplacementMeshMover()
Destructor.
const pointVectorField & pointDisplacement() const
Return const reference to the point motion displacement field.
declareRunTimeSelectionTable(autoPtr, externalDisplacementMeshMover, dictionary,(const dictionary &dict, const List< labelPair > &baffles, pointVectorField &pointDisplacement, const bool dryRun),(dict, baffles, pointDisplacement, dryRun))
List< labelPair > baffles_
Baffles in the mesh.
const bool dryRun_
In dry-run mode?
const pointMesh & pMesh() const
virtual void movePoints(const pointField &)
Update local data for geometry changes.
pointVectorField & pointDisplacement()
Return reference to the point motion displacement field.
virtual void updateMesh(const mapPolyMesh &)
Update local data for topology changes.
pointVectorField & pointDisplacement_
Reference to point motion field.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
Mesh representing a set of points created from polyMesh.
Mesh consisting of general polyhedral cells.
A class for handling words, derived from Foam::string.
List< label > labelList
A List of labels.
GeometricField< vector, pointPatchField, pointMesh > pointVectorField
vectorField pointField
pointField is a vectorField.
#define declareRunTimeSelectionTable(ptrWrapper, baseType, argNames, argList, parList)
Declare a run-time selection (variables and adder classes).
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.