120 points0_(readPoints0(mesh))
122 if (points0_.size() != mesh.
nPoints())
125 <<
"Number of points in mesh " << mesh.
nPoints()
126 <<
" differs from number of points " << points0_.size()
127 <<
" read from file " 176 if (
mesh().topoChanged())
Class containing mesh-to-mesh mapping information after a mesh distribution where we send parts of me...
virtual void distribute(const polyDistributionMap &)
Update corresponding to the given distribution map.
errorManipArg< error, int > exit(error &err, const int errNo=1)
A list of keyword definitions, which are a keyword followed by any number of values (e...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
Templated form of IOobject providing type information for file reading and header type checking...
static word meshSubDir
Return the mesh sub-directory name (usually "polyMesh")
points0MotionSolver(const word &name, const polyMesh &, const dictionary &, const word &type)
Construct from mesh and dictionary.
dimensioned< vector > dimensionedVector
Dimensioned vector obtained from generic dimensioned type.
word findInstance(const fileName &dir, const word &name=word::null, const IOobject::readOption rOpt=IOobject::MUST_READ, const word &stopInstance=word::null) const
Return the location of "dir" containing the file "name".
virtual bool write() const
Optionally write motion state information for restart.
GeometricField< vector, pointPatchField, pointMesh > pointVectorField
Virtual base class for mesh motion solver.
const Time & time() const
Return the top-level database.
virtual bool write() const
Write points0 if the mesh topology changed.
const dimensionSet dimLength
virtual const pointField & points() const
Return raw points.
static word timeName(const scalar, const int precision=curPrecision_)
Return time name of given scalar time.
A class for handling words, derived from string.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
virtual void movePoints(const pointField &)
Update local data for geometry changes.
const word & constant() const
Return constant name.
virtual void topoChange(const polyTopoChangeMap &)
Update local data for topology changes.
Internal::FieldType & primitiveFieldRef()
Return a reference to the internal field.
const Time & time() const
Return time.
defineTypeNameAndDebug(combustionModel, 0)
static pointMesh & New(polyMesh &mesh)
virtual void mapMesh(const polyMeshMap &)
Update from another mesh using the given map.
static pointVectorField readPoints0(const polyMesh &mesh)
virtual ~points0MotionSolver()
Destructor.
Mesh consisting of general polyhedral cells.
Class containing mesh-to-mesh mapping information.
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
A primitive field of type <T> with automated input and output.