Various for reading/decomposing/reconstructing/distributing refinement data. More...
Public Member Functions | |
hexRef8Data (const IOobject &io) | |
Construct read. Has special provision for only some processors. More... | |
hexRef8Data (const IOobject &io, const hexRef8Data &, const labelList &cellMap, const labelList &pointMap) | |
Construct as subset. More... | |
hexRef8Data (const IOobject &io, const UPtrList< const labelList > &cellMaps, const UPtrList< const labelList > &pointMaps, const UPtrList< const hexRef8Data > &) | |
Construct from multiple hexRef8Data. More... | |
~hexRef8Data () | |
Destructor. More... | |
void | sync (const IOobject &io) |
Parallel synchronise. This enforces valid objects on all processors. More... | |
void | updateMesh (const mapPolyMesh &) |
In-place update for topology changes. More... | |
void | distribute (const mapDistributePolyMesh &) |
In-place distribute. More... | |
bool | write () const |
Write. More... | |
Various for reading/decomposing/reconstructing/distributing refinement data.
Definition at line 57 of file hexRef8Data.H.
hexRef8Data | ( | const IOobject & | io | ) |
Construct read. Has special provision for only some processors.
having the files so can be used in redistribution.
Definition at line 39 of file hexRef8Data.C.
References Foam::endl(), Foam::Info, IOobject::name(), IOobject::rename(), Foam::returnReduce(), and IOobject::typeHeaderOk().
hexRef8Data | ( | const IOobject & | io, |
const hexRef8Data & | data, | ||
const labelList & | cellMap, | ||
const labelList & | pointMap | ||
) |
Construct as subset.
Definition at line 101 of file hexRef8Data.C.
References IOobject::rename().
hexRef8Data | ( | const IOobject & | io, |
const UPtrList< const labelList > & | cellMaps, | ||
const UPtrList< const labelList > & | pointMaps, | ||
const UPtrList< const hexRef8Data > & | procDatas | ||
) |
Construct from multiple hexRef8Data.
Definition at line 157 of file hexRef8Data.C.
References IOobject::db(), forAll, mesh, Foam::name(), primitiveMesh::nCells(), primitiveMesh::nPoints(), IOobject::rename(), and UPtrList< T >::size().
~hexRef8Data | ( | ) |
Destructor.
Definition at line 248 of file hexRef8Data.C.
void sync | ( | const IOobject & | io | ) |
Parallel synchronise. This enforces valid objects on all processors.
(even if they don't have a mesh). Used by redistributePar.
Definition at line 254 of file hexRef8Data.C.
References IOobject::db(), Foam::dimLength, mesh, primitiveMesh::nCells(), IOobject::NO_READ, primitiveMesh::nPoints(), IOobject::readOpt(), IOobject::rename(), Foam::returnReduce(), and Pstream::scatter().
void updateMesh | ( | const mapPolyMesh & | map | ) |
In-place update for topology changes.
Definition at line 312 of file hexRef8Data.C.
References mapPolyMesh::cellMap(), polyMesh::facesInstance(), mapPolyMesh::mesh(), and mapPolyMesh::pointMap().
void distribute | ( | const mapDistributePolyMesh & | map | ) |
In-place distribute.
Definition at line 335 of file hexRef8Data.C.
References mapDistributePolyMesh::cellMap(), mapDistribute::distribute(), and mapDistributePolyMesh::pointMap().
bool write | ( | ) | const |
Write.
Definition at line 355 of file hexRef8Data.C.