121 points0_(readPoints0(
mesh))
127 <<
" differs from number of points " <<
points0_.size()
128 <<
" read from file "
164 points0_.primitiveFieldRef() =
mesh().
points();
169 points0_.boundaryFieldRef().
reset
173 points0_.mesh().boundary(),
174 points0_.internalField(),
175 calculatedPointPatchVectorField::typeName
189 points0_.boundaryFieldRef().reset
193 points0_.mesh().boundary(),
194 points0_.internalField(),
195 calculatedPointPatchVectorField::typeName
static pointMesh & New(const word &name, const polyMesh &mesh)
Construct and return the named DemandDrivenMeshObject.
void reset(const Field< Type > &)
Reset the field values to the given field.
Generic GeometricBoundaryField class.
A primitive field of type <Type> with automated input and output.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
static const word & constant()
Return constant name.
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".
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
Virtual base class for mesh motion solver.
virtual bool write() const
Optionally write motion state information for restart.
const polyMesh & mesh() const
Return reference to mesh.
const Time & time() const
Return time.
Virtual base class for displacement motion solvers.
points0MotionSolver(const word &name, const polyMesh &, const dictionary &, const word &type)
Construct from mesh and dictionary.
virtual ~points0MotionSolver()
Destructor.
virtual void topoChange(const polyTopoChangeMap &)
Update local data for topology changes.
virtual void distribute(const polyDistributionMap &)
Update corresponding to the given distribution map.
static pointVectorField readPoints0(const polyMesh &mesh)
virtual void mapMesh(const polyMeshMap &)
Update from another mesh using the given map.
virtual void movePoints(const pointField &)
Update local data for geometry changes.
virtual bool write() const
Write points0 if the mesh topology changed.
pointVectorField points0_
Starting points.
pointField & points0()
Return reference to the reference field.
Class containing mesh-to-mesh mapping information after a mesh distribution where we send parts of me...
void distributePointData(List< T > &lst) const
Distribute list of point data.
Class containing mesh-to-mesh mapping information.
Mesh consisting of general polyhedral cells.
virtual const pointField & points() const
Return raw points.
static word meshSubDir
Return the mesh sub-directory name (usually "polyMesh")
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
Templated form of IOobject providing type information for file reading and header type checking.
fileName filePath() const
Return the path for the file for this Type.
A class for handling words, derived from string.
Foam::fvMesh mesh(Foam::IOobject(regionName, runTime.name(), runTime, Foam::IOobject::MUST_READ), false)
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
errorManipArg< error, int > exit(error &err, const int errNo=1)
const dimensionSet dimLength
defineTypeNameAndDebug(combustionModel, 0)
PointField< vector > pointVectorField
dimensioned< vector > dimensionedVector
Dimensioned vector obtained from generic dimensioned type.
word name(const LagrangianState state)
Return a string representation of a Lagrangian state enumeration.
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.