... More...
Public Member Functions | |
TypeName ("multiDomainDecomposition") | |
Runtime type information. More... | |
multiDomainDecomposition (const processorRunTimes &procRunTimes, const wordList ®ionNames) | |
Construct from processor run times and region names. More... | |
virtual | ~multiDomainDecomposition () |
Destructor. More... | |
label | nProcs () const |
Return the number of processors in the decomposition. More... | |
bool | readDecompose (const bool doSets) |
Read in the complete mesh. Read the processor meshes if they are. More... | |
bool | readReconstruct (const bool doSets) |
Read in the processor meshes. Read the complete mesh if it is. More... | |
fvMesh::readUpdateState | readUpdateDecompose () |
Read-update for decomposition. More... | |
fvMesh::readUpdateState | readUpdateReconstruct () |
Read-update for reconstruction. More... | |
void | writeComplete (const bool doSets) const |
Write the decomposed meshes and associated data. More... | |
void | writeProcs (const bool doSets) const |
Write the decomposed meshes and associated data. More... | |
Public Member Functions inherited from MultiRegionListBase< Container, Region > | |
MultiRegionListBase (Container< Region > ®ions, bool reuse) | |
Construct from a list of regions. More... | |
MultiRegionListBase (Container< Region > &®ions) | |
Construct from a list of regions. More... | |
Public Member Functions inherited from MultiRegionRefs< Region > | |
MultiRegionRefs (UPtrList< Region > ®ions) | |
Construct from a list of region pointers. More... | |
~MultiRegionRefs () | |
Destructor. More... | |
label | size () const |
Return the size. More... | |
RegionRef< const Region > | operator[] (const label regioni) const |
Const-access a region. More... | |
RegionRef< Region > | operator[] (const label regioni) |
Access a region. More... | |
RegionRef< const Region > | operator[] (const word ®ionName) const |
Const-access a region. More... | |
RegionRef< Region > | operator[] (const word ®ionName) |
Access a region. More... | |
multiDomainDecomposition | ( | const processorRunTimes & | procRunTimes, |
const wordList & | regionNames | ||
) |
Construct from processor run times and region names.
Definition at line 61 of file multiDomainDecomposition.C.
|
virtual |
Destructor.
Definition at line 74 of file multiDomainDecomposition.C.
TypeName | ( | "multiDomainDecomposition" | ) |
Runtime type information.
|
inline |
Return the number of processors in the decomposition.
Definition at line 92 of file multiDomainDecomposition.H.
References processorRunTimes::nProcs().
bool readDecompose | ( | const bool | doSets | ) |
Read in the complete mesh. Read the processor meshes if they are.
available and up to date relative to the complete mesh, or decompose if not. Return whether or not decomposition happened.
Definition at line 80 of file multiDomainDecomposition.C.
References Foam::endl(), forAll, and Foam::Info.
bool readReconstruct | ( | const bool | doSets | ) |
Read in the processor meshes. Read the complete mesh if it is.
available and up to date relative to the processor meshes, or reconstruct if not. Return whether or not reconstruction happened.
Definition at line 116 of file multiDomainDecomposition.C.
References Foam::endl(), forAll, and Foam::Info.
Foam::fvMesh::readUpdateState readUpdateDecompose | ( | ) |
Read-update for decomposition.
Definition at line 153 of file multiDomainDecomposition.C.
References Foam::endl(), forAll, Foam::Info, fvMesh::TOPO_CHANGE, and fvMesh::UNCHANGED.
Foam::fvMesh::readUpdateState readUpdateReconstruct | ( | ) |
Read-update for reconstruction.
Definition at line 185 of file multiDomainDecomposition.C.
References Foam::endl(), forAll, Foam::Info, fvMesh::TOPO_CHANGE, and fvMesh::UNCHANGED.
void writeComplete | ( | const bool | doSets | ) | const |
Write the decomposed meshes and associated data.
Definition at line 216 of file multiDomainDecomposition.C.
References forAll.
void writeProcs | ( | const bool | doSets | ) | const |
Write the decomposed meshes and associated data.
Definition at line 225 of file multiDomainDecomposition.C.
References forAll.