Public Member Functions | Private Member Functions | Private Attributes
processorMeshes Class Reference

Container for processor mesh addressing. More...

Collaboration diagram for processorMeshes:
Collaboration graph
[legend]

Public Member Functions

 processorMeshes (PtrList< Time > &databases, const word &meshName)
 Construct from components. More...
 
fvMesh::readUpdateState readUpdate ()
 Update the meshes based on the mesh files saved in time directories. More...
 
void reconstructPoints (fvMesh &)
 Reconstruct point position after motion in parallel. More...
 
const PtrList< fvMesh > & meshes () const
 
PtrList< fvMesh > & meshes ()
 
const PtrList< labelIOList > & pointProcAddressing () const
 
PtrList< labelIOList > & faceProcAddressing ()
 
const PtrList< labelIOList > & cellProcAddressing () const
 
const PtrList< labelIOList > & boundaryProcAddressing () const
 

Private Member Functions

void read ()
 Read all meshes. More...
 
 processorMeshes (const processorMeshes &)
 Disallow default bitwise copy construct. More...
 
void operator= (const processorMeshes &)
 Disallow default bitwise assignment. More...
 

Private Attributes

const word meshName_
 
PtrList< Time > & databases_
 Processor databases. More...
 
PtrList< fvMeshmeshes_
 List of processor meshes. More...
 
PtrList< labelIOListpointProcAddressing_
 List of processor point addressing lists. More...
 
PtrList< labelIOListfaceProcAddressing_
 List of processor face addressing lists. More...
 
PtrList< labelIOListcellProcAddressing_
 List of processor cell addressing lists. More...
 
PtrList< labelIOListboundaryProcAddressing_
 List of processor boundary addressing lists. More...
 

Detailed Description

Container for processor mesh addressing.

Source files

Definition at line 52 of file processorMeshes.H.

Constructor & Destructor Documentation

◆ processorMeshes() [1/2]

processorMeshes ( const processorMeshes )
private

Disallow default bitwise copy construct.

◆ processorMeshes() [2/2]

processorMeshes ( PtrList< Time > &  databases,
const word meshName 
)

Construct from components.

Definition at line 135 of file processorMeshes.C.

References Foam::read().

Here is the call graph for this function:

Member Function Documentation

◆ read()

void read ( )
private

◆ operator=()

void operator= ( const processorMeshes )
private

Disallow default bitwise assignment.

◆ readUpdate()

Update the meshes based on the mesh files saved in time directories.

Definition at line 154 of file processorMeshes.C.

References Foam::exit(), Foam::FatalError, FatalErrorInFunction, forAll, Foam::nl, Foam::read(), polyMesh::TOPO_CHANGE, polyMesh::TOPO_PATCH_CHANGE, and polyMesh::UNCHANGED.

Referenced by main().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ reconstructPoints()

void reconstructPoints ( fvMesh mesh)

Reconstruct point position after motion in parallel.

Definition at line 205 of file processorMeshes.C.

References Foam::abort(), Foam::FatalError, FatalErrorInFunction, forAll, mesh, polyMesh::meshSubDir, fvMesh::movePoints(), IOobject::MUST_READ, IOobject::NO_WRITE, primitiveMesh::nPoints(), PtrList::set(), List::size(), timeName, and fvMesh::write().

Referenced by main().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ meshes() [1/2]

const PtrList<fvMesh>& meshes ( ) const
inline

Definition at line 105 of file processorMeshes.H.

References processorMeshes::meshes_.

Referenced by main().

Here is the caller graph for this function:

◆ meshes() [2/2]

PtrList<fvMesh>& meshes ( )
inline

Definition at line 110 of file processorMeshes.H.

References processorMeshes::meshes_.

◆ pointProcAddressing()

const PtrList<labelIOList>& pointProcAddressing ( ) const
inline

Definition at line 115 of file processorMeshes.H.

References processorMeshes::pointProcAddressing_.

Referenced by main().

Here is the caller graph for this function:

◆ faceProcAddressing()

PtrList<labelIOList>& faceProcAddressing ( )
inline

Definition at line 120 of file processorMeshes.H.

References processorMeshes::faceProcAddressing_.

Referenced by main().

Here is the caller graph for this function:

◆ cellProcAddressing()

const PtrList<labelIOList>& cellProcAddressing ( ) const
inline

Definition at line 125 of file processorMeshes.H.

References processorMeshes::cellProcAddressing_.

Referenced by main().

Here is the caller graph for this function:

◆ boundaryProcAddressing()

const PtrList<labelIOList>& boundaryProcAddressing ( ) const
inline

Definition at line 130 of file processorMeshes.H.

References processorMeshes::boundaryProcAddressing_.

Referenced by main().

Here is the caller graph for this function:

Field Documentation

◆ meshName_

const word meshName_
private

Definition at line 56 of file processorMeshes.H.

Referenced by processorMeshes::read().

◆ databases_

PtrList<Time>& databases_
private

Processor databases.

Definition at line 59 of file processorMeshes.H.

Referenced by processorMeshes::read().

◆ meshes_

PtrList<fvMesh> meshes_
private

List of processor meshes.

Definition at line 62 of file processorMeshes.H.

Referenced by processorMeshes::meshes(), and processorMeshes::read().

◆ pointProcAddressing_

PtrList<labelIOList> pointProcAddressing_
private

List of processor point addressing lists.

Definition at line 65 of file processorMeshes.H.

Referenced by processorMeshes::pointProcAddressing(), and processorMeshes::read().

◆ faceProcAddressing_

PtrList<labelIOList> faceProcAddressing_
private

List of processor face addressing lists.

Definition at line 68 of file processorMeshes.H.

Referenced by processorMeshes::faceProcAddressing(), and processorMeshes::read().

◆ cellProcAddressing_

PtrList<labelIOList> cellProcAddressing_
private

List of processor cell addressing lists.

Definition at line 71 of file processorMeshes.H.

Referenced by processorMeshes::cellProcAddressing(), and processorMeshes::read().

◆ boundaryProcAddressing_

PtrList<labelIOList> boundaryProcAddressing_
private

List of processor boundary addressing lists.

Definition at line 74 of file processorMeshes.H.

Referenced by processorMeshes::boundaryProcAddressing(), and processorMeshes::read().


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