A collection of tools for operating on an faMesh. More...
#include <faMeshTools.H>
Static Public Member Functions | |
| static void | unregisterMesh (const faMesh &mesh) |
| Unregister the faMesh from its associated polyMesh to prevent triggering on polyMesh changes etc. | |
| static void | forceDemandDriven (faMesh &mesh) |
| Force creation of everything that might vaguely be used by patches. | |
| static autoPtr< faMesh > | newMesh (const word &areaName, const IOobject &io, const polyMesh &pMesh, const bool masterOnlyReading, const bool verbose=false) |
| Read mesh or create dummy mesh (0 faces, >0 patches). | |
| static autoPtr< faMesh > | newMesh (const IOobject &io, const polyMesh &pMesh, const bool masterOnlyReading, const bool verbose=false) |
| Read mesh or create dummy mesh (0 faces, >0 patches). | |
| static autoPtr< faMesh > | loadOrCreateMesh (const word &areaName, const IOobject &io, const polyMesh &pMesh, const bool decompose, const bool verbose=false) |
| static autoPtr< faMesh > | loadOrCreateMesh (const IOobject &io, const polyMesh &pMesh, const bool decompose, const bool verbose=false) |
| static autoPtr< faMesh > | loadOrCreateMesh (const word &areaName, const IOobject &io, const polyMesh &pMesh, refPtr< fileOperation > &readHandler, const bool verbose=false) |
| static autoPtr< faMesh > | loadOrCreateMesh (const IOobject &io, const polyMesh &pMesh, refPtr< fileOperation > &readHandler, const bool verbose=false) |
| static mapDistributePolyMesh | readProcAddressing (const faMesh &mesh, const faMesh *baseMeshPtr) |
| Read decompose/reconstruct addressing. | |
| static void | writeProcAddressing (const faMesh &mesh, const mapDistributePolyMesh &faDistMap, const bool decompose, refPtr< fileOperation > &writeHandler, const faMesh *procMesh=nullptr) |
| Write decompose/reconstruct addressing. | |
| template<class Type> | |
| static tmp< Field< Type > > | flattenEdgeField (const GeometricField< Type, faePatchField, edgeMesh > &fld, const bool primitiveOrdering=false) |
| Flatten an edge field into linear addressing. | |
| static void | printMeshChecks (const faMesh &mesh, const int verbose=1) |
| Report mesh information. | |
| static mapDistributePolyMesh | readProcAddressing (const faMesh &procMesh, const autoPtr< faMesh > &baseMeshPtr) |
| Read decompose/reconstruct addressing. | |
A collection of tools for operating on an faMesh.
Definition at line 57 of file faMeshTools.H.
|
static |
|
static |
Force creation of everything that might vaguely be used by patches.
This is fairly horrible.
References mesh.
|
static |
Read mesh or create dummy mesh (0 faces, >0 patches).
Works in two modes according to masterOnlyReading: true : create a dummy mesh for all procs false: checks locally for mesh directories and only creates dummy mesh if not present
References io.
Referenced by newMesh().

|
inlinestatic |
Read mesh or create dummy mesh (0 faces, >0 patches).
Works in two modes according to masterOnlyReading: true : create a dummy mesh for all procs false: checks locally for mesh directories and only creates dummy mesh if not present
Definition at line 122 of file faMeshTools.H.
References io, newMesh(), and word::null.

|
static |
References io.
Referenced by loadOrCreateMesh(), and loadOrCreateMesh().

|
inlinestatic |
Definition at line 160 of file faMeshTools.H.
References io, loadOrCreateMesh(), and word::null.

|
inlinestatic |
| io | The IOobject describes the base polyMesh |
| readHandler | Non-null reference if a mesh exists on given processor |
Definition at line 199 of file faMeshTools.H.
References io, loadOrCreateMesh(), and word::null.

|
static |
Read decompose/reconstruct addressing.
References mesh.
|
static |
Write decompose/reconstruct addressing.
| decompose | running in decompose vs reconstruct mode |
| writeHandler | The output file handler |
| procMesh | optional processor mesh in reconstruct mode |
References mesh.
|
static |
Flatten an edge field into linear addressing.
Optionally use primitive patch edge ordering
References fld().

|
static |
Report mesh information.
References mesh.
|
static |
Read decompose/reconstruct addressing.