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 cellModel * | lookup (const word &) |
| Look up a model by name and return a pointer to the model or nullptr. More... | |
| static const cellModel * | lookup (const label i) |
| Look up a model by index and return a pointer to the model or. More... | |
A static collection of cell models, and a means of looking them up.
Definition at line 52 of file cellModeller.H.
| cellModeller | ( | ) |
Construct from central "cellModels" file.
Definition at line 44 of file cellModeller.C.
References Foam::exit(), Foam::FatalError, FatalErrorInFunction, forAll, and Foam::name().

| ~cellModeller | ( | ) |
Destructor.
Definition at line 94 of file cellModeller.C.
|
static |
Look up a model by name and return a pointer to the model or nullptr.
Definition at line 100 of file cellModeller.C.
References Foam::findEtcFile(), and Foam::name().
Referenced by cellMatcher::model(), shapeToCell::shapeToCell(), and tetCell::tetCellShape().


|
static |
Look up a model by index and return a pointer to the model or.
nullptr
Definition at line 122 of file cellModeller.C.
References Foam::findEtcFile().
