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 | distribute (const mapDistributePolyMesh &) |
In-place distribute. More... | |
bool | write () const |
Write. More... | |
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 | distribute (const mapDistributePolyMesh &) |
In-place distribute. More... | |
bool | write () const |
Write. More... | |
Private Member Functions | |
hexRef8Data (const hexRef8Data &) | |
Disallow default bitwise copy construct. More... | |
void | operator= (const hexRef8Data &) |
Disallow default bitwise assignment. More... | |
hexRef8Data (const hexRef8Data &) | |
Disallow default bitwise copy construct. More... | |
void | operator= (const hexRef8Data &) |
Disallow default bitwise assignment. More... | |
Private Attributes | |
autoPtr< labelIOList > | cellLevelPtr_ |
autoPtr< labelIOList > | pointLevelPtr_ |
autoPtr< uniformDimensionedScalarField > | level0EdgePtr_ |
autoPtr< refinementHistory > | refHistoryPtr_ |
Various for reading/decomposing/reconstructing/distributing refinement data.
Definition at line 57 of file hexRef4Data.H.
|
private |
Disallow default bitwise copy construct.
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 hexRef4Data.C.
References hexRef8Data::cellLevelPtr_, Foam::endl(), IOobject::headerOk(), Foam::Info, hexRef8Data::level0EdgePtr_, IOobject::name(), hexRef8Data::pointLevelPtr_, IOobject::READ_IF_PRESENT, IOobject::readOpt(), Foam::reduce(), hexRef8Data::refHistoryPtr_, IOobject::rename(), and Foam::returnReduce().
hexRef8Data | ( | const IOobject & | io, |
const hexRef8Data & | data, | ||
const labelList & | cellMap, | ||
const labelList & | pointMap | ||
) |
Construct as subset.
Definition at line 93 of file hexRef4Data.C.
References dictionary::clone(), IOdictionary::name(), and 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 149 of file hexRef4Data.C.
References IOobject::db(), forAll, mesh, Foam::name(), primitiveMesh::nCells(), primitiveMesh::nPoints(), IOobject::rename(), UPtrList::set(), and UPtrList::size().
~hexRef8Data | ( | ) |
Destructor.
Definition at line 240 of file hexRef4Data.C.
|
private |
Disallow default bitwise copy construct.
hexRef8Data | ( | const IOobject & | io | ) |
Construct read. Has special provision for only some processors.
having the files so can be used in redistribution.
hexRef8Data | ( | const IOobject & | io, |
const hexRef8Data & | , | ||
const labelList & | cellMap, | ||
const labelList & | pointMap | ||
) |
Construct as subset.
hexRef8Data | ( | const IOobject & | io, |
const UPtrList< const labelList > & | cellMaps, | ||
const UPtrList< const labelList > & | pointMaps, | ||
const UPtrList< const hexRef8Data > & | |||
) |
Construct from multiple hexRef8Data.
~hexRef8Data | ( | ) |
Destructor.
|
private |
Disallow default bitwise assignment.
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 246 of file hexRef4Data.C.
References IOobject::db(), Foam::dimLength, UPstream::master(), mesh, primitiveMesh::nCells(), IOobject::NO_READ, primitiveMesh::nPoints(), IOobject::readOpt(), IOobject::rename(), Foam::returnReduce(), and Pstream::scatter().
Referenced by redistributeAndWrite().
void distribute | ( | const mapDistributePolyMesh & | map | ) |
In-place distribute.
Definition at line 304 of file hexRef4Data.C.
References mapDistributePolyMesh::cellMap(), mapDistribute::distribute(), and mapDistributePolyMesh::pointMap().
Referenced by redistributeAndWrite().
bool write | ( | ) | const |
Write.
Definition at line 324 of file hexRef4Data.C.
Referenced by main(), redistributeAndWrite(), and domainDecomposition::writeDecomposition().
|
private |
Disallow default bitwise assignment.
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.
void distribute | ( | const mapDistributePolyMesh & | ) |
In-place distribute.
bool write | ( | ) | const |
Write.
|
private |
Definition at line 64 of file hexRef4Data.H.
Referenced by hexRef8Data::hexRef8Data().
|
private |
Definition at line 66 of file hexRef4Data.H.
Referenced by hexRef8Data::hexRef8Data().
|
private |
Definition at line 68 of file hexRef4Data.H.
Referenced by hexRef8Data::hexRef8Data().
|
private |
Definition at line 70 of file hexRef4Data.H.
Referenced by hexRef8Data::hexRef8Data().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.