Public Member Functions | List of all members
ensightFaMesh Class Reference

Encapsulation of area meshes for writing in ensight format. More...

Public Member Functions

 ensightFaMesh (const faMesh &mesh)
 
const faMeshmesh () const noexcept
 
const ensightFacesareaPart () const noexcept
 
bool needsUpdate () const noexcept
 
bool expire ()
 
void correct ()
 
void write (ensightGeoFile &os, bool parallel=Pstream::parRun()) const
 
void write (autoPtr< ensightGeoFile > &os, bool parallel=Pstream::parRun()) const
 

Detailed Description

Encapsulation of area meshes for writing in ensight format.

Note
Currently restricted to a single faMesh representation. The face elements are created from a specified subset of polyMesh faces. The original ordering of these faces is retained in the ensightFaces faceOrder().
Source files

Definition at line 58 of file ensightFaMesh.H.

Constructor & Destructor Documentation

◆ ensightFaMesh()

ensightFaMesh ( const faMesh mesh)
explicit

Definition at line 44 of file ensightFaMesh.C.

References correct().

Here is the call graph for this function:

Member Function Documentation

◆ mesh()

const faMesh& mesh ( ) const
inlinenoexcept

Definition at line 100 of file ensightFaMesh.H.

Referenced by Foam::writeAreaFields().

Here is the caller graph for this function:

◆ areaPart()

const ensightFaces& areaPart ( ) const
inlinenoexcept

Definition at line 106 of file ensightFaMesh.H.

Referenced by Foam::ensightOutput::writeAreaField().

Here is the caller graph for this function:

◆ needsUpdate()

bool needsUpdate ( ) const
inlinenoexcept

Definition at line 115 of file ensightFaMesh.H.

◆ expire()

bool expire ( )
inline

Definition at line 23 of file ensightFaMeshI.H.

◆ correct()

void correct ( )

Definition at line 61 of file ensightFaMesh.C.

References ensightFaces::classify(), clear(), ensightFaces::clear(), ensightPart::identifier(), ensightFaces::reduce(), ensightPart::rename(), and Foam::renumber().

Here is the call graph for this function:

◆ write() [1/2]

void write ( ensightGeoFile os,
bool  parallel = Pstream::parRun() 
) const

Definition at line 96 of file ensightFaMesh.C.

References os().

Here is the call graph for this function:

◆ write() [2/2]

void write ( autoPtr< ensightGeoFile > &  os,
bool  parallel = Pstream::parRun() 
) const
inline

Definition at line 39 of file ensightFaMeshI.H.

References os(), and Foam::vtk::write().

Here is the call graph for this function:

The documentation for this class was generated from the following files: