OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

cellModeller Class Reference

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

Collaboration diagram for cellModeller:

List of all members.


Public Member Functions

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

Static Public Member Functions

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

Detailed Description

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

Source files

Definition at line 48 of file cellModeller.H.


Constructor & Destructor Documentation

cellModeller (  ) 

Construct from central "cellModels" file.

Definition at line 26 of file cellModeller.C.

References Foam::exit(), Foam::FatalError, FatalErrorIn, forAll, HashTable< T, Key, Hash >::found(), List< T >::setSize(), and List< T >::size().

Here is the call graph for this function:

~cellModeller (  ) 

Definition at line 75 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 84 of file cellModeller.C.

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

Here is the caller graph for this function:

static const cellModel* lookup ( const label  i  )  [inline, static]

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

Definition at line 80 of file cellModeller.H.


The documentation for this class was generated from the following files:
Copyright © 2000-2009 OpenCFD Ltd