multiDomainDecomposition Class Reference

... More...

Inheritance diagram for multiDomainDecomposition:
Collaboration diagram for multiDomainDecomposition:

Public Member Functions

 TypeName ("multiDomainDecomposition")
 Runtime type information. More...
 
 multiDomainDecomposition (const processorRunTimes &procRunTimes, const wordList &regionNames)
 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 > &regions, bool reuse)
 Construct from a list of regions. More...
 
 MultiRegionListBase (Container< Region > &&regions)
 Construct from a list of regions. More...
 
- Public Member Functions inherited from MultiRegionRefs< Region >
 MultiRegionRefs (UPtrList< Region > &regions)
 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 &regionName) const
 Const-access a region. More...
 
RegionRef< Region > operator[] (const word &regionName)
 Access a region. More...
 

Detailed Description

Constructor & Destructor Documentation

◆ multiDomainDecomposition()

multiDomainDecomposition ( const processorRunTimes procRunTimes,
const wordList regionNames 
)

Construct from processor run times and region names.

Definition at line 61 of file multiDomainDecomposition.C.

◆ ~multiDomainDecomposition()

Destructor.

Definition at line 74 of file multiDomainDecomposition.C.

Member Function Documentation

◆ TypeName()

TypeName ( "multiDomainDecomposition"  )

Runtime type information.

◆ nProcs()

label nProcs ( ) const
inline

Return the number of processors in the decomposition.

Definition at line 92 of file multiDomainDecomposition.H.

References processorRunTimes::nProcs().

Here is the call graph for this function:

◆ readDecompose()

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.

Here is the call graph for this function:

◆ readReconstruct()

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.

Here is the call graph for this function:

◆ readUpdateDecompose()

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.

Here is the call graph for this function:

◆ readUpdateReconstruct()

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.

Here is the call graph for this function:

◆ writeComplete()

void writeComplete ( const bool  doSets) const

Write the decomposed meshes and associated data.

Definition at line 216 of file multiDomainDecomposition.C.

References forAll.

◆ writeProcs()

void writeProcs ( const bool  doSets) const

Write the decomposed meshes and associated data.

Definition at line 225 of file multiDomainDecomposition.C.

References forAll.


The documentation for this class was generated from the following files: