43 Info<<
"void polyMesh::updateMesh(const mapPolyMesh&) : " 44 <<
"updating addressing and (optional) pointMesh/pointFields" 57 tetBasePtIsPtr_.clear();
62 if (globalMeshDataPtr_.valid())
64 globalMeshDataPtr_->updateMesh();
70 if (oldPointsPtr_.valid())
81 newMotionPoints.
map(oldMotionPoints, mpm.
pointMap());
89 newMotionPoints[newPointI] = points_[newPointI];
94 meshObject::updateMesh<polyMesh>(*
this, mpm);
95 meshObject::updateMesh<pointMesh>(*
this, mpm);
101 const_cast<Time&
>(
time()).functionObjects().updateMesh(mpm);
virtual void updateMesh(const mapPolyMesh &mpm)
Update the mesh corresponding to given map.
void setInstance(const fileName &)
Set the instance for mesh files.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
void size(const label)
Override size to be inconsistent with allocated storage.
void updateMesh()
Correct polyBoundaryMesh after topology update.
Templated 3D Vector derived from VectorSpace adding construction from 3 components, element access using x(), y() and z() member functions and the inner-product (dot-product) and cross product operators.
void clearAddressing()
Clear addressing.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
void setSize(const label)
Reset size of List.
Ostream & endl(Ostream &os)
Add newline and flush stream.
void map(const UList< Type > &mapF, const labelUList &mapAddressing)
1 to 1 map from the given field
const labelList & pointMap() const
Old point map.
const Time & time() const
Return time.