Public Member Functions | Static Public Member Functions | List of all members
cellModeller Class Reference

A static collection of cell models, and a means of looking them up. More...

Public Member Functions

 cellModeller ()
 Construct from central "cellModels" file. More...
 
 ~cellModeller ()
 Destructor. More...
 

Static Public Member Functions

static const cellModellookup (const word &)
 Look up a model by name and return a pointer to the model or NULL. More...
 
static const cellModellookup (const label i)
 Look up a model by index and return a pointer to the model or NULL. More...
 

Detailed Description

A static collection of cell models, and a means of looking them up.

Source files

Definition at line 52 of file cellModeller.H.

Constructor & Destructor Documentation

Construct from central "cellModels" file.

Definition at line 33 of file cellModeller.C.

References Foam::exit(), Foam::FatalError, FatalErrorIn, forAll, and Foam::name().

Here is the call graph for this function:

Destructor.

Definition at line 82 of file cellModeller.C.

Member Function Documentation

const Foam::cellModel * lookup ( const word name)
static

Look up a model by name and return a pointer to the model or NULL.

Definition at line 91 of file cellModeller.C.

Referenced by cellMatcher::model(), NamedEnum< Enum, nEnum >::names(), shapeToCell::shapeToCell(), and tetCell::tetCellShape().

Here is the caller graph for this function:

static const cellModel* lookup ( const label  i)
inlinestatic

Look up a model by index and return a pointer to the model or NULL.

Definition at line 83 of file cellModeller.H.


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