surfaceFormatsCore Class Reference

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

Inheritance diagram for surfaceFormatsCore:
Collaboration diagram for surfaceFormatsCore:

Static Public Member Functions

static bool checkSupport (const wordHashSet &available, const word &ext, const bool verbose, const word &functionName)
 ... 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.

Member Function Documentation

◆ oneZone()

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

Return a list with a single entry,.

the size corresponds to that of the container

Definition at line 67 of file surfaceFormatsCore.H.

References Foam::name().

Here is the call graph for this function:

◆ getLineNoComment()

Foam::string getLineNoComment ( IFstream is)
staticprotected

Read non-comment line.

Definition at line 40 of file surfaceFormatsCore.C.

References ISstream::getLine(), and IOstream::good().

Here is the call graph for this function:

◆ checkSupport()

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

...

Definition at line 56 of file surfaceFormatsCore.C.

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

Here is the call 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.


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