surfaceFormatsCore Class Reference

A collection of helper functions for reading/writing surface formats. More...

Inheritance diagram for surfaceFormatsCore:
Collaboration diagram for surfaceFormatsCore:

Public Member Functions

 surfaceFormatsCore ()
 Construct null. More...
 
virtual ~surfaceFormatsCore ()
 Destructor. More...
 

Static Public Member Functions

static bool checkSupport (const wordHashSet &available, const word &ext, const bool verbose, const word &functionName)
 
static fileName localMeshFileName (const word &surfName="")
 Return the local file name (within time directory) More...
 
static fileName findMeshInstance (const Time &, const word &surfName="")
 Find instance with surfName. More...
 
static fileName findMeshFile (const Time &, const word &surfName="")
 Find mesh file with surfName. More...
 

Static Public Attributes

static word nativeExt
 The file extension corresponding to 'native' surface format. More...
 

Static Protected Member Functions

template<class Container >
static List< surfZoneoneZone (const Container &container, const word &name="zone0")
 Return a list with a single entry,. More...
 
static string getLineNoComment (IFstream &)
 Read non-comment line. More...
 

Detailed Description

A collection of helper functions for reading/writing surface formats.

Source files

Definition at line 60 of file surfaceFormatsCore.H.

Constructor & Destructor Documentation

◆ surfaceFormatsCore()

Construct null.

Definition at line 190 of file surfaceFormatsCore.C.

Referenced by surfaceFormatsCore::oneZone().

Here is the caller graph for this function:

◆ ~surfaceFormatsCore()

~surfaceFormatsCore ( )
virtual

Destructor.

Definition at line 196 of file surfaceFormatsCore.C.

Referenced by surfaceFormatsCore::oneZone().

Here is the caller graph for this function:

Member Function Documentation

◆ oneZone()

static List<surfZone> oneZone ( const Container &  container,
const word name = "zone0" 
)
inlinestaticprotected

◆ getLineNoComment()

◆ checkSupport()

bool checkSupport ( const wordHashSet available,
const word ext,
const bool  verbose,
const word functionName 
)
static

Definition at line 157 of file surfaceFormatsCore.C.

References Foam::endl(), forAll, HashTable< T, Key, Hash >::found(), Foam::Info, Foam::nl, and HashTable< T, Key, Hash >::toc().

Referenced by surfaceFormatsCore::getLineNoComment(), and surfaceFormatsCore::oneZone().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ localMeshFileName()

static fileName localMeshFileName ( const word surfName = "")
static

Return the local file name (within time directory)

NEEDS FIXING

Referenced by surfaceFormatsCore::getLineNoComment(), and surfaceFormatsCore::oneZone().

Here is the caller graph for this function:

◆ findMeshInstance()

static fileName findMeshInstance ( const Time ,
const word surfName = "" 
)
static

Find instance with surfName.

NEEDS FIXING

Referenced by surfaceFormatsCore::getLineNoComment(), and surfaceFormatsCore::oneZone().

Here is the caller graph for this function:

◆ findMeshFile()

static fileName findMeshFile ( const Time ,
const word surfName = "" 
)
static

Find mesh file with surfName.

NEEDS FIXING

Referenced by surfaceFormatsCore::getLineNoComment(), and surfaceFormatsCore::oneZone().

Here is the caller graph for this function:

Member Data Documentation

◆ nativeExt

Foam::word nativeExt
static

The file extension corresponding to 'native' surface format.

Normally "ofs" (mnemonic: OF = OpenFOAM, S = Surface)

Definition at line 86 of file surfaceFormatsCore.H.

Referenced by surfaceFormatsCore::getLineNoComment(), and surfaceFormatsCore::oneZone().


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