40#ifndef Foam_displacementMotionSolver_H
41#define Foam_displacementMotionSolver_H
78 TypeName(
"displacementMotionSolver");
104 const word& solverTypeName,
A primitive field of type <T> with automated input and output.
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
Virtual base class for displacement motion solver.
pointVectorField & pointDisplacement() noexcept
Return reference to the point motion displacement field.
const pointVectorField & pointDisplacement() const noexcept
Return const reference to the point motion displacement field.
declareRunTimeSelectionTable(autoPtr, displacementMotionSolver, displacement,(const polyMesh &mesh, const IOdictionary &dict, const pointVectorField &pointDisplacement, const pointIOField &points0),(mesh, dict, pointDisplacement, points0))
displacementMotionSolver(const displacementMotionSolver &)=delete
No copy construct.
pointVectorField pointDisplacement_
Point motion field.
static autoPtr< displacementMotionSolver > New(const word &solverTypeName, const polyMesh &, const IOdictionary &, const pointVectorField &pointDisplacement, const pointIOField &points0)
Select constructed from polyMesh, dictionary and components.
virtual ~displacementMotionSolver()=default
Destructor.
void operator=(const displacementMotionSolver &)=delete
No copy assignment.
TypeName("displacementMotionSolver")
Runtime type information.
const polyMesh & mesh() const
Return reference to mesh.
Virtual base class for displacement motion solvers, where the point motion is relative to a set of fi...
pointField & points0() noexcept
Return reference to the reference ('0') pointField.
Mesh consisting of general polyhedral cells.
A class for handling words, derived from Foam::string.
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
#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.