A bare-bones reconstructor for finiteArea meshes when processor meshes are available (in parallel) but an equivalent serial faMesh is needed for reconstruction or decomposition. In these situations, a serial version of the faMesh is needed, but preferably without reconstructing the entire volume mesh. More...
#include <faMeshReconstructor.H>
Public Member Functions | |
| faMeshReconstructor (const faMesh &procMesh, IOobjectOption::readOption readVolProcAddr=IOobjectOption::MUST_READ) | |
| Construct from components. | |
| faMeshReconstructor (const faMesh &procMesh, const labelUList &fvFaceProcAddressing) | |
| Construct from components. | |
| ~faMeshReconstructor () | |
| Destructor. | |
| void | clearGeom () |
| bool | good () const noexcept |
| True if no construct errors encountered. | |
| const labelList & | pointProcAddressing () const noexcept |
| Processor point addressing. | |
| const labelList & | edgeProcAddressing () const noexcept |
| Processor edge addressing. | |
| const labelList & | faceProcAddressing () const noexcept |
| Processor face addressing. | |
| const labelList & | boundaryProcAddressing () const noexcept |
| Processor boundary addressing. | |
| const primitivePatch & | patch () const |
| Serial equivalent patch. | |
| primitivePatch & | patch () |
| Serial equivalent patch. | |
| const faMesh & | mesh () const |
| Serial equivalent faMesh. | |
| void | writeAddressing () const |
| Write proc addressing at the polyMesh faceInstances time. | |
| void | writeAddressing (const word &timeName) const |
| Write proc addressing at the given time. | |
| void | writeMesh () const |
| Write equivalent mesh information at the polyMesh faceInstances time. | |
| void | writeMesh (const word &timeName) const |
| Write equivalent mesh information at the given time. | |
Static Public Member Functions | |
| static void | writeAddressing (const IOobject &io, const labelUList &faBoundaryProcAddr, const labelUList &faFaceProcAddr, const labelUList &faPointProcAddr, const labelUList &faEdgeProcAddr) |
| Write proc addressing. | |
| static void | writeMesh (const word &timeName, const faMesh &fullMesh, const labelUList &singlePatchFaceLabels) |
| Write mesh information. | |
Static Public Attributes | |
| static int | debug |
| Debug flag. | |
A bare-bones reconstructor for finiteArea meshes when processor meshes are available (in parallel) but an equivalent serial faMesh is needed for reconstruction or decomposition. In these situations, a serial version of the faMesh is needed, but preferably without reconstructing the entire volume mesh.
It uses the finiteVolume faceProcAddressing in addition to the geometric information available from the underlying polyMesh.
The resulting equivalent faMesh can be used for basic operations, but caution should be exercised before attempting large operations.
Definition at line 60 of file faMeshReconstructor.H.
|
explicit |
Construct from components.
References IOobjectOption::MUST_READ.
| faMeshReconstructor | ( | const faMesh & | procMesh, |
| const labelUList & | fvFaceProcAddressing ) |
Construct from components.
| ~faMeshReconstructor | ( | ) |
Destructor.
| void clearGeom | ( | ) |
|
inlinenoexcept |
True if no construct errors encountered.
Definition at line 217 of file faMeshReconstructor.H.
References Foam::noexcept.
|
inlinenoexcept |
Processor point addressing.
Definition at line 222 of file faMeshReconstructor.H.
References Foam::noexcept.
|
inlinenoexcept |
Processor edge addressing.
Definition at line 230 of file faMeshReconstructor.H.
References Foam::noexcept.
|
inlinenoexcept |
Processor face addressing.
Definition at line 238 of file faMeshReconstructor.H.
References Foam::noexcept.
|
inlinenoexcept |
Processor boundary addressing.
Definition at line 246 of file faMeshReconstructor.H.
References Foam::noexcept.
| const primitivePatch & patch | ( | ) | const |
Serial equivalent patch.
| primitivePatch & patch | ( | ) |
Serial equivalent patch.
|
static |
Write proc addressing.
References io.
| void writeAddressing | ( | ) | const |
Write proc addressing at the polyMesh faceInstances time.
| void writeAddressing | ( | const word & | timeName | ) | const |
Write proc addressing at the given time.
References timeName.
|
static |
Write mesh information.
References timeName.
| void writeMesh | ( | ) | const |
Write equivalent mesh information at the polyMesh faceInstances time.
| void writeMesh | ( | const word & | timeName | ) | const |
Write equivalent mesh information at the given time.
References timeName.
|
static |
Debug flag.
Definition at line 179 of file faMeshReconstructor.H.