FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

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.

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.

Constructor & Destructor Documentation

~cellModeller (  )

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  ) [inline, static]

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: