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...
Public Member Functions | |
| faMeshReconstructor (const faMeshReconstructor &)=delete | |
| No copy construct. More... | |
| void | operator= (const faMeshReconstructor &)=delete |
| No copy assignment. More... | |
| faMeshReconstructor (const faMesh &procMesh, IOobjectOption::readOption readVolProcAddr=IOobjectOption::MUST_READ) | |
| Construct from components. More... | |
| faMeshReconstructor (const faMesh &procMesh, const labelUList &fvFaceProcAddressing) | |
| Construct from components. More... | |
| ~faMeshReconstructor () | |
| Destructor. More... | |
| void | clearGeom () |
| bool | good () const noexcept |
| True if no construct errors encountered. More... | |
| bool | noEdgeEncoding () const noexcept |
| Is edge encoding disabled. More... | |
| bool | noEdgeEncoding (bool on) noexcept |
| Change the edge encoding flag. More... | |
| const labelList & | pointProcAddressing () const noexcept |
| Processor point addressing. More... | |
| const labelList & | edgeProcAddressing () const noexcept |
| Processor edge addressing. More... | |
| const labelList & | faceProcAddressing () const noexcept |
| Processor face addressing. More... | |
| const labelList & | boundaryProcAddressing () const noexcept |
| Processor boundary addressing. More... | |
| const primitivePatch & | patch () const |
| Serial equivalent patch. More... | |
| primitivePatch & | patch () |
| Serial equivalent patch. More... | |
| const faMesh & | mesh () const |
| Serial equivalent faMesh. More... | |
| void | writeAddressing () const |
| Write proc addressing at the polyMesh faceInstances time. More... | |
| void | writeAddressing (const word &timeName) const |
| Write proc addressing at the given time. More... | |
| void | writeMesh () const |
| Write equivalent mesh information at the polyMesh faceInstances time. More... | |
| void | writeMesh (const word &timeName) const |
| Write equivalent mesh information at the given time. More... | |
Static Public Member Functions | |
| static bool | allowEdgeEncoding () noexcept |
| The enable/disable state for allowing encoding of edgeProcAddressing edge flips (default: true) More... | |
| static bool | allowEdgeEncoding (bool on) noexcept |
| Set enable/disable state for allowing edge flip encoding. More... | |
| static void | writeAddressing (const IOobject &io, const labelUList &faBoundaryProcAddr, const labelUList &faFaceProcAddr, const labelUList &faPointProcAddr, const labelUList &faEdgeProcAddr, bool withoutEdgeEncoding=false) |
| Write proc addressing. More... | |
| static void | writeMesh (const word &timeName, const faMesh &fullMesh, const labelUList &singlePatchFaceLabels) |
| Write mesh information. More... | |
Static Public Attributes | |
| static int | debug |
| Debug flag. More... | |
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.
|
delete |
No copy construct.
|
explicit |
Construct from components.
| faMeshReconstructor | ( | const faMesh & | procMesh, |
| const labelUList & | fvFaceProcAddressing | ||
| ) |
Construct from components.
| ~faMeshReconstructor | ( | ) |
Destructor.
|
inlinestaticnoexcept |
The enable/disable state for allowing encoding of edgeProcAddressing edge flips (default: true)
Definition at line 192 of file faMeshReconstructor.H.
|
inlinestaticnoexcept |
Set enable/disable state for allowing edge flip encoding.
Definition at line 200 of file faMeshReconstructor.H.
|
delete |
No copy assignment.
| void clearGeom | ( | ) |
|
inlinenoexcept |
True if no construct errors encountered.
Definition at line 256 of file faMeshReconstructor.H.
|
inlinenoexcept |
Is edge encoding disabled.
Definition at line 261 of file faMeshReconstructor.H.
|
inlinenoexcept |
Change the edge encoding flag.
Definition at line 266 of file faMeshReconstructor.H.
|
inlinenoexcept |
Processor point addressing.
Definition at line 276 of file faMeshReconstructor.H.
|
inlinenoexcept |
Processor edge addressing.
Definition at line 284 of file faMeshReconstructor.H.
|
inlinenoexcept |
Processor face addressing.
Definition at line 292 of file faMeshReconstructor.H.
|
inlinenoexcept |
Processor boundary addressing.
Definition at line 300 of file faMeshReconstructor.H.
| const primitivePatch& patch | ( | ) | const |
Serial equivalent patch.
| primitivePatch& patch | ( | ) |
Serial equivalent patch.
|
static |
Write proc addressing.
| withoutEdgeEncoding | Without edge encoding (legacy) |
| void writeAddressing | ( | ) | const |
Write proc addressing at the polyMesh faceInstances time.
| void writeAddressing | ( | const word & | timeName | ) | const |
Write proc addressing at the given time.
|
static |
Write mesh information.
| 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 |
Debug flag.
Definition at line 183 of file faMeshReconstructor.H.