Go to the documentation of this file.
46 <<
"Updating addressing and (optional) pointMesh/pointFields"
59 tetBasePtIsPtr_.clear();
64 if (globalMeshDataPtr_.valid())
66 globalMeshDataPtr_->updateMesh();
72 if (oldPointsPtr_.valid())
80 newMotionPoints.setSize(points_.size());
85 newMotionPoints.
map(oldMotionPoints, mpm.
pointMap());
109 newMotionPoints[
newPointi] = oldMotionPoints[oldPointi];
124 meshObject::updateMesh<polyMesh>(*
this, mpm);
125 meshObject::updateMesh<pointMesh>(*
this, mpm);
131 const_cast<Time&
>(
time()).functionObjects().updateMesh(mpm);
int debug
Static debugging option.
#define InfoInFunction
Report an information message using Foam::Info.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
static constexpr const zero Zero
Global zero.
const Time & time() const
Return time.
Ostream & endl(Ostream &os)
Add newline and flush stream.
#define forAll(list, i)
Loop across all elements in list.
void map(const UList< Type > &mapF, const labelUList &mapAddressing)
1 to 1 map from the given field
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
virtual void updateMesh(const mapPolyMesh &mpm)
Update the mesh corresponding to given map.
void updateMesh()
Correct polyBoundaryMesh after topology update.
const labelList & reversePointMap() const
Reverse point map.
const labelList & pointMap() const
Old point map.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
bool hasMotionPoints() const
Has valid preMotionPoints?
void clearAddressing()
Clear addressing.
void setInstance(const fileName &instance, const IOobject::writeOption wOpt=IOobject::AUTO_WRITE)
Set the instance for mesh files.