48 if (points0_.size() != mesh.
nPoints())
51 <<
"Number of points in mesh " << mesh.
nPoints()
52 <<
" differs from number of points " << points0_.size()
54 << typeFilePath<pointIOField>
110 forAll(newPoints0, pointi)
118 if (masterPointi == pointi)
120 newPoints0[pointi] = points0_[oldPointi];
128 points[pointi] - points[masterPointi]
135 <<
"Cannot determine co-ordinates of introduced vertices." 136 <<
" New vertex " << pointi <<
" at co-ordinate " 141 twoDCorrectPoints(newPoints0);
143 points0_.transfer(newPoints0);
146 points0_.rename(
"points0");
#define forAll(list, i)
Loop across all elements in list.
const labelList & reversePointMap() const
Reverse point map.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
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.
vectorIOField pointIOField
pointIOField is a vectorIOField.
static word meshSubDir
Return the mesh sub-directory name (usually "polyMesh")
void size(const label)
Override size to be inconsistent with allocated storage.
Virtual base class for mesh motion solver.
A bounding box defined in terms of the points at its extremities.
static word timeName(const scalar, const int precision=precision_)
Return time name of given scalar time.
const Time & time() const
Return the top-level database.
bool hasMotionPoints() const
Has valid preMotionPoints?
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
dimensioned< Type > cmptDivide(const dimensioned< Type > &, const dimensioned< Type > &)
virtual const pointField & points() const
Return raw points.
virtual void updateMesh(const mapPolyMesh &)=0
Update local data for topology changes.
points0MotionSolver(const polyMesh &, const dictionary &, const word &type)
Construct from mesh and dictionary.
A class for handling words, derived from string.
virtual void movePoints(const pointField &)
Update local data for geometry changes.
const word & constant() const
Return constant name.
virtual void updateMesh(const mapPolyMesh &)
Update local data for topology changes.
dimensioned< Type > cmptMultiply(const dimensioned< Type > &, const dimensioned< Type > &)
const Time & time() const
Return time.
defineTypeNameAndDebug(combustionModel, 0)
const labelList & pointMap() const
Old point map.
static IOobject points0IO(const polyMesh &mesh)
Return IO object for points0.
vector span() const
The bounding box span (from minimum to maximum)
virtual ~points0MotionSolver()
Destructor.
Mesh consisting of general polyhedral cells.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
const pointField & preMotionPoints() const
Pre-motion point positions.