Encapsulation of area meshes for writing in ensight format. More...
Public Member Functions | |
ensightFaMesh (const ensightFaMesh &)=delete | |
No copy construct. More... | |
void | operator= (const ensightFaMesh &)=delete |
No copy assignment. More... | |
ensightFaMesh (const faMesh &mesh) | |
Construct from mesh with all default options. More... | |
int | verbose () const noexcept |
Output verbosity level. More... | |
int | verbose (const int level) noexcept |
Change the output verbosity level. More... | |
const faMesh & | mesh () const noexcept |
Reference to the underlying faMesh. More... | |
const ensightFaces & | areaPart () const noexcept |
Face elements for finite-area. More... | |
bool | needsUpdate () const noexcept |
Does the content need an update? More... | |
bool | expire () |
Mark as needing an update. More... | |
void | correct () |
Update for new mesh. More... | |
void | write (ensightGeoFile &os, bool parallel=UPstream::parRun()) const |
Write geometry to file (normally in parallel). Adds beginGeometry() marker. More... | |
void | write (autoPtr< ensightGeoFile > &os, bool parallel=UPstream::parRun()) const |
Write geometry to file (normally in parallel). Adds beginGeometry() marker. More... | |
Encapsulation of area meshes for writing in ensight format.
Definition at line 58 of file ensightFaMesh.H.
|
delete |
No copy construct.
|
explicit |
Construct from mesh with all default options.
Definition at line 44 of file ensightFaMesh.C.
References correct.
|
delete |
No copy assignment.
|
noexcept |
Output verbosity level.
Definition at line 62 of file ensightFaMesh.C.
|
noexcept |
|
inlinenoexcept |
Reference to the underlying faMesh.
Definition at line 139 of file ensightFaMesh.H.
Referenced by Foam::writeAreaFields().
|
inlinenoexcept |
Face elements for finite-area.
Definition at line 147 of file ensightFaMesh.H.
Referenced by Foam::ensightOutput::writeAreaField().
|
inlinenoexcept |
Does the content need an update?
Definition at line 158 of file ensightFaMesh.H.
|
inline |
Mark as needing an update.
May also free up unneeded data. Return false if already marked as expired.
Definition at line 23 of file ensightFaMeshI.H.
void correct | ( | ) |
Update for new mesh.
Definition at line 76 of file ensightFaMesh.C.
References ensightFaces::classify(), ensightFaces::clear(), clear(), ensightPart::identifier(), ensightFaces::info(), Foam::Info, ensightFaces::reduce(), ensightPart::rename(), and Foam::renumber().
void write | ( | ensightGeoFile & | os, |
bool | parallel = UPstream::parRun() |
||
) | const |
Write geometry to file (normally in parallel). Adds beginGeometry() marker.
Definition at line 116 of file ensightFaMesh.C.
References UPstream::master(), os(), and OBJstream::write().
|
inline |
Write geometry to file (normally in parallel). Adds beginGeometry() marker.
Definition at line 39 of file ensightFaMeshI.H.
References os(), and Foam::vtk::write().