FreeFOAM The Cross-Platform CFD Toolkit
cellModeller Class Reference

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

#include <OpenFOAM/cellModeller.H>


Detailed Description

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

Source files

Definition at line 53 of file cellModeller.H.

List of all members.

Public Member Functions

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

Static Public Member Functions

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

Constructor & Destructor Documentation

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.

References HashTable< T, Key, Hash >::end(), and HashTable< T, Key, Hash >::find().

Referenced by cellMatcher::model(), Foam::operator>>(), shapeToCell::shapeToCell(), and tetCell::tetCellShape().

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 85 of file cellModeller.H.


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