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... | |
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 |
Static Public Member Functions | |
static void | removeFiles (const polyMesh &mesh) |
Helper: remove all procAddressing files from mesh instance. More... | |
Container for processor mesh addressing.
Definition at line 54 of file processorMeshes.H.
processorMeshes | ( | PtrList< Time > & | databases, |
const word & | meshName | ||
) |
Construct from components.
Definition at line 147 of file processorMeshes.C.
References Foam::read().
ClassName | ( | "processorMeshes" | ) |
Runtime type information.
Foam::fvMesh::readUpdateState readUpdate | ( | ) |
Update the meshes based on the mesh files saved in time directories.
Definition at line 166 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.
void reconstructPoints | ( | fvMesh & | mesh | ) |
Reconstruct point position after motion in parallel.
Definition at line 217 of file processorMeshes.C.
References Foam::abort(), Foam::FatalError, FatalErrorInFunction, forAll, mesh, polyMesh::meshSubDir, fvMesh::movePoints(), IOobject::MUST_READ, IOobject::NO_WRITE, primitiveMesh::nPoints(), timeName, and fvMesh::write().
Definition at line 111 of file processorMeshes.H.
Definition at line 116 of file processorMeshes.H.
|
inline |
Definition at line 121 of file processorMeshes.H.
|
inline |
Definition at line 126 of file processorMeshes.H.
|
inline |
Definition at line 131 of file processorMeshes.H.
|
inline |
Definition at line 136 of file processorMeshes.H.
|
static |
Helper: remove all procAddressing files from mesh instance.
Definition at line 274 of file processorMeshes.C.
References Foam::expressions::patchExpr::debug, DebugVar, polyMesh::facesInstance(), mesh, polyMesh::meshSubDir, and Foam::rm().