33 namespace pointMeshMovers
123 points0_(readPoints0(
mesh))
129 <<
" differs from number of points " <<
points0_.size()
130 <<
" read from file "
170 points0_.primitiveFieldRef() = poly().points();
175 points0_.boundaryFieldRef().reset
179 points0_.mesh().boundary(),
180 points0_.internalField(),
195 points0_.boundaryFieldRef().reset
199 points0_.mesh().boundary(),
200 points0_.internalField(),
static pointMesh & New(const word &name, const polyMesh &mesh)
Construct and return the named DemandDrivenMeshObject.
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.
const Time & time() const
Return the top-level database.
Abstract base class for pointMesh movers.
virtual bool write() const
Optionally write motion state information for restart.
virtual void topoChange(const polyTopoChangeMap &)
Update local data for topology changes.
virtual void distribute(const polyDistributionMap &)
Update corresponding to the given distribution map.
virtual ~displacementPoints0()
Destructor.
static pointVectorField readPoints0(const polyMesh &mesh)
virtual void mapMesh(const polyMeshMap &)=0
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.
displacementPoints0(const polyMesh &, const dictionary &, const word &type)
Construct from mesh and dictionary.
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.
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.
defineTypeNameAndDebug(externalDisplacement, 0)
errorManipArg< error, int > exit(error &err, const int errNo=1)
const dimensionSet & dimLength
String typeName(const std::type_info &info)
Return the un-mangled name given the standard type info.
PointField< vector > pointVectorField
dimensioned< vector > dimensionedVector
Dimensioned vector obtained from generic dimensioned type.
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.