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... | |
Container for processor mesh addressing.
Definition at line 50 of file processorMeshes.H.
processorMeshes | ( | PtrList< Time > & | databases, |
const word & | meshName | ||
) |
Construct from components.
Definition at line 101 of file processorMeshes.C.
References Foam::read().
ClassName | ( | "processorMeshes" | ) |
Runtime type information.
Foam::polyMesh::readUpdateState readUpdate | ( | ) |
Update the meshes based on the mesh files saved in time directories.
Definition at line 120 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 171 of file processorMeshes.C.
References Foam::abort(), Foam::FatalError, FatalErrorInFunction, forAll, mesh, polyMesh::meshSubDir, fvMesh::movePoints(), IOobjectOption::MUST_READ, IOobjectOption::NO_REGISTER, IOobjectOption::NO_WRITE, primitiveMesh::nPoints(), UList< T >::size(), timeName, and fvMesh::write().
Definition at line 133 of file processorMeshes.H.
Definition at line 138 of file processorMeshes.H.
|
inlinenoexcept |
Definition at line 143 of file processorMeshes.H.
|
inlinenoexcept |
Definition at line 148 of file processorMeshes.H.
|
inlinenoexcept |
Definition at line 153 of file processorMeshes.H.
|
inlinenoexcept |
Definition at line 158 of file processorMeshes.H.
|
static |
Helper: remove all procAddressing files from mesh instance.
Definition at line 224 of file processorMeshes.C.
References polyMesh::facesInstance(), Foam::fileHandler, io(), mesh, polyMesh::meshSubDir, IOobject::objectPath(), IOobject::rename(), and fvMesh::thisDb().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.