processorMeshes Class Reference

Container for processor mesh addressing. More...

Public Member Functions

 ClassName ("processorMeshes")
 Runtime type information. More...
 
 processorMeshes (PtrList< Time > &databases, const word &meshName)
 Construct from components. More...
 
polyMesh::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 noexcept
 
PtrList< fvMesh > & meshes () noexcept
 
const PtrList< labelIOList > & pointProcAddressing () const noexcept
 
PtrList< labelIOList > & faceProcAddressing () noexcept
 
const PtrList< labelIOList > & cellProcAddressing () const noexcept
 
const PtrList< labelIOList > & boundaryProcAddressing () const noexcept
 

Static Public Member Functions

static void removeFiles (const polyMesh &mesh)
 Helper: remove all procAddressing files from mesh instance. More...
 

Detailed Description

Container for processor mesh addressing.

Source files

Definition at line 54 of file processorMeshes.H.

Constructor & Destructor Documentation

◆ processorMeshes()

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

Construct from components.

Definition at line 107 of file processorMeshes.C.

Member Function Documentation

◆ ClassName()

ClassName ( "processorMeshes"  )

Runtime type information.

◆ readUpdate()

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

Definition at line 127 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.

Here is the call graph for this function:

◆ reconstructPoints()

void reconstructPoints ( fvMesh mesh)

Reconstruct point position after motion in parallel.

Definition at line 178 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< T >::set(), UList< T >::size(), timeName, and fvMesh::write().

Here is the call graph for this function:

◆ meshes() [1/2]

const PtrList< fvMesh > & meshes ( ) const
inlinenoexcept

Definition at line 111 of file processorMeshes.H.

◆ meshes() [2/2]

PtrList< fvMesh > & meshes ( )
inlinenoexcept

Definition at line 116 of file processorMeshes.H.

◆ pointProcAddressing()

const PtrList< labelIOList > & pointProcAddressing ( ) const
inlinenoexcept

Definition at line 121 of file processorMeshes.H.

◆ faceProcAddressing()

PtrList< labelIOList > & faceProcAddressing ( )
inlinenoexcept

Definition at line 126 of file processorMeshes.H.

◆ cellProcAddressing()

const PtrList< labelIOList > & cellProcAddressing ( ) const
inlinenoexcept

Definition at line 131 of file processorMeshes.H.

◆ boundaryProcAddressing()

const PtrList< labelIOList > & boundaryProcAddressing ( ) const
inlinenoexcept

Definition at line 136 of file processorMeshes.H.

◆ removeFiles()

void removeFiles ( const polyMesh mesh)
static

Helper: remove all procAddressing files from mesh instance.

Definition at line 231 of file processorMeshes.C.

References polyMesh::facesInstance(), mesh, polyMesh::meshSubDir, IOobject::NO_READ, IOobject::NO_WRITE, IOobject::objectPath(), IOobject::rename(), Foam::rm(), and fvMesh::thisDb().

Here is the call graph for this function:

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