Container for processor mesh addressing. More...
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< fvMesh > | meshes_ |
List of processor meshes. More... | |
PtrList< labelIOList > | pointProcAddressing_ |
List of processor point addressing lists. More... | |
PtrList< labelIOList > | faceProcAddressing_ |
List of processor face addressing lists. More... | |
PtrList< labelIOList > | cellProcAddressing_ |
List of processor cell addressing lists. More... | |
PtrList< labelIOList > | boundaryProcAddressing_ |
List of processor boundary addressing lists. More... | |
Container for processor mesh addressing.
Definition at line 52 of file processorMeshes.H.
|
private |
Disallow default bitwise copy construct.
processorMeshes | ( | PtrList< Time > & | databases, |
const word & | meshName | ||
) |
Construct from components.
Definition at line 135 of file processorMeshes.C.
References Foam::read().
|
private |
Read all meshes.
Definition at line 32 of file processorMeshes.C.
References processorMeshes::boundaryProcAddressing_, processorMeshes::cellProcAddressing_, processorMeshes::databases_, processorMeshes::faceProcAddressing_, forAll, processorMeshes::meshes_, processorMeshes::meshName_, IOobject::MUST_READ, IOobject::NO_WRITE, processorMeshes::pointProcAddressing_, and timeName.
|
private |
Disallow default bitwise assignment.
Foam::fvMesh::readUpdateState 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().
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().
Definition at line 105 of file processorMeshes.H.
References processorMeshes::meshes_.
Referenced by main().
Definition at line 110 of file processorMeshes.H.
References processorMeshes::meshes_.
|
inline |
Definition at line 115 of file processorMeshes.H.
References processorMeshes::pointProcAddressing_.
Referenced by main().
|
inline |
Definition at line 120 of file processorMeshes.H.
References processorMeshes::faceProcAddressing_.
Referenced by main().
|
inline |
Definition at line 125 of file processorMeshes.H.
References processorMeshes::cellProcAddressing_.
Referenced by main().
|
inline |
Definition at line 130 of file processorMeshes.H.
References processorMeshes::boundaryProcAddressing_.
Referenced by main().
|
private |
Definition at line 56 of file processorMeshes.H.
Referenced by processorMeshes::read().
Processor databases.
Definition at line 59 of file processorMeshes.H.
Referenced by processorMeshes::read().
List of processor meshes.
Definition at line 62 of file processorMeshes.H.
Referenced by processorMeshes::meshes(), and processorMeshes::read().
|
private |
List of processor point addressing lists.
Definition at line 65 of file processorMeshes.H.
Referenced by processorMeshes::pointProcAddressing(), and processorMeshes::read().
|
private |
List of processor face addressing lists.
Definition at line 68 of file processorMeshes.H.
Referenced by processorMeshes::faceProcAddressing(), and processorMeshes::read().
|
private |
List of processor cell addressing lists.
Definition at line 71 of file processorMeshes.H.
Referenced by processorMeshes::cellProcAddressing(), and processorMeshes::read().
|
private |
List of processor boundary addressing lists.
Definition at line 74 of file processorMeshes.H.
Referenced by processorMeshes::boundaryProcAddressing(), and processorMeshes::read().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.