44 <<
"Updating addressing and (optional) pointMesh/pointFields" 57 tetBasePtIsPtr_.clear();
63 if (globalMeshDataPtr_.valid())
65 globalMeshDataPtr_->topoChange();
71 if (oldPointsPtr_.valid())
82 newMotionPoints.
map(oldMotionPoints, map.
pointMap());
95 if (oldCellCentresPtr_.valid())
98 pointField oldMotionCellCentres = oldCellCentresPtr_();
100 pointField& newMotionCellCentres = oldCellCentresPtr_();
106 newMotionCellCentres.
map(oldMotionCellCentres, map.
cellMap());
112 if (map.
cellMap()[newCelli] == -1)
114 newMotionCellCentres[newCelli] =
cellCentres()[newCelli];
119 meshObject::topoChange<polyMesh>(*
this, map);
120 meshObject::topoChange<pointMesh>(*
this, map);
130 meshObject::mapMesh<polyMesh>(*
this, map);
131 meshObject::mapMesh<pointMesh>(*
this, map);
137 meshObject::distribute<polyMesh>(*
this, map);
138 meshObject::distribute<pointMesh>(*
this, map);
#define forAll(list, i)
Loop across all elements in list.
Class containing mesh-to-mesh mapping information after a mesh distribution where we send parts of me...
virtual void distribute(const polyDistributionMap &map)
Redistribute or update using the given distribution map.
void size(const label)
Override size to be inconsistent with allocated storage.
const labelList & pointMap() const
Old point map.
Ostream & endl(Ostream &os)
Add newline and flush stream.
label size() const
Return number of elements in table.
const labelList & cellMap() const
Old cell map.
void topoChange()
Correct polyBoundaryMesh after topology update.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
const vectorField & cellCentres() const
void map(const UList< Type > &mapF, const labelUList &mapAddressing)
1 to 1 map from the given field
virtual void topoChange(const polyTopoChangeMap &)
Update topology using the given map.
const Time & time() const
Return time.
virtual void mapMesh(const polyMeshMap &)
Update from another mesh using the given map.
void setInstance(const fileName &)
Set the instance for mesh files.
void setSize(const label)
Reset size of List.
Class containing mesh-to-mesh mapping information.
void clearAddressing()
Clear addressing.
#define InfoInFunction
Report an information message using Foam::Info.