41 #ifndef externalDisplacementMeshMover_H
42 #define externalDisplacementMeshMover_H
51 class polyTopoChangeMap;
73 TypeName(
"externalDisplacementMeshMover");
162 const label nAllowableErrors,
const Mesh & mesh() const
Return mesh.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
Virtual base class for mesh movers with externally provided displacement field giving the boundary co...
TypeName("externalDisplacementMeshMover")
Runtime type information.
declareRunTimeSelectionTable(autoPtr, externalDisplacementMeshMover, dictionary,(const dictionary &dict, const List< labelPair > &baffles, pointVectorField &pointDisplacement),(dict, baffles, pointDisplacement))
virtual bool move(const dictionary &, const label nAllowableErrors, const labelList &checkFaces)=0
Move mesh using current pointDisplacement boundary values.
virtual void topoChange(const polyTopoChangeMap &)
Update local data for topology changes.
const pointMesh & pMesh() const
static autoPtr< externalDisplacementMeshMover > New(const word &type, const dictionary &dict, const List< labelPair > &baffles, pointVectorField &pointDisplacement)
Return a reference to the selected meshMover model.
virtual ~externalDisplacementMeshMover()
Destructor.
externalDisplacementMeshMover(const dictionary &dict, const List< labelPair > &baffles, pointVectorField &pointDisplacement)
Construct from dictionary and displacement field. Dictionary is.
List< labelPair > baffles_
Baffles in the mesh.
virtual void movePoints(const pointField &)
Update local data for geometry changes.
pointVectorField & pointDisplacement()
Return reference to the point motion displacement field.
void operator=(const externalDisplacementMeshMover &)=delete
Disallow default bitwise assignment.
const polyMesh & mesh() const
pointVectorField & pointDisplacement_
Reference to point motion field.
Mesh representing a set of points created from polyMesh.
Mesh consisting of general polyhedral cells.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
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.
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.