A list of lists. Interpolates based on the first dimension. The values must be positive and monotonically increasing in each dimension. More...
#include <radiation/interpolationLookUpTable.H>
A list of lists. Interpolates based on the first dimension. The values must be positive and monotonically increasing in each dimension.
Definition at line 60 of file interpolationLookUpTable.H.
Inheritance diagram for interpolationLookUpTable< Type >:
Collaboration diagram for interpolationLookUpTable< Type >:Public Member Functions | |
| interpolationLookUpTable () | |
| Construct null.
| |
| interpolationLookUpTable (const fileName &fn, const word &instance, const fvMesh &mesh) | |
| Construct given the name of the file containing the table of data.
| |
| interpolationLookUpTable (const dictionary &dict) | |
| Construct from dictionary.
| |
| interpolationLookUpTable (const interpolationLookUpTable &interpTable) | |
| Construct copy.
| |
| bool | found (const word &fieldName) const |
| Return true if the filed exists in the table.
| |
| const List< scalar > & | lookUp (const scalar) |
| Return the output list given a single input scalar.
| |
| void | write (Ostream &os, const fileName &fn, const word &instance, const fvMesh &mesh) const |
| Write Look Up Table to filename.
| |
| label | findFieldIndex (const word &fieldName) const |
| Return the index of a field by name.
| |
| const List< dictionary > & | output () const |
| Return const access to the output dictionaries.
| |
| const List< dictionary > & | entries () const |
| Return const access tp the dictionary entries.
| |
| const List< scalar > & | min () const |
| Return const access to the list of min dimensions.
| |
| const List< label > & | dim () const |
| Return const access to the list of dimensions.
| |
| const List< scalar > & | delta () const |
| Return const access to the deltas in each dimension.
| |
| const List< scalar > & | max () const |
| Return const access to the list of max dimensions.
| |
| word | tableName () const |
| Return const access to the table name.
| |
| const scalarField & | operator[] (const label) const |
| Return an element of constant List<scalar, Type>
| |
| scalarField & | operator[] (const label) |
| Return an element of List<scalar, Type>
| |
Construct null.
Definition at line 239 of file interpolationLookUpTable.C.
| interpolationLookUpTable | ( | const fileName & | fn, |
| const word & | instance, | ||
| const fvMesh & | mesh | ||
| ) |
Construct given the name of the file containing the table of data.
Definition at line 248 of file interpolationLookUpTable.C.
| interpolationLookUpTable | ( | const dictionary & | dict ) |
Construct from dictionary.
Definition at line 290 of file interpolationLookUpTable.C.
| interpolationLookUpTable | ( | const interpolationLookUpTable< Type > & | interpTable ) |
Construct copy.
Definition at line 270 of file interpolationLookUpTable.C.
| bool found | ( | const word & | fieldName ) | const |
Return true if the filed exists in the table.
Definition at line 459 of file interpolationLookUpTable.C.
References interpolationLookUpTable< Type >::found().
Referenced by interpolationLookUpTable< Type >::found().
| const Foam::scalarList & lookUp | ( | const scalar | retvals ) |
Return the output list given a single input scalar.
Definition at line 467 of file interpolationLookUpTable.C.
Write Look Up Table to filename.
Definition at line 346 of file interpolationLookUpTable.C.
References token::END_STATEMENT, Foam::exit(), Foam::FatalError, FatalErrorIn, Foam::nl, IOobject::NO_READ, IOobject::NO_WRITE, IOobject::writeHeader(), and Ostream::writeKeyword().
| Foam::label findFieldIndex | ( | const word & | fieldName ) | const [inline]
|
Return the index of a field by name.
Definition at line 29 of file interpolationLookUpTableI.H.
| const Foam::List< Foam::dictionary > & output | ( | ) | const [inline]
|
Return const access to the output dictionaries.
Definition at line 39 of file interpolationLookUpTableI.H.
| const Foam::List< Foam::dictionary > & entries | ( | ) | const [inline]
|
Return const access tp the dictionary entries.
Definition at line 47 of file interpolationLookUpTableI.H.
| const Foam::List< Foam::scalar > & min | ( | ) | const [inline]
|
Return const access to the list of min dimensions.
Definition at line 55 of file interpolationLookUpTableI.H.
| const Foam::List< Foam::label > & dim | ( | ) | const [inline]
|
Return const access to the list of dimensions.
Definition at line 63 of file interpolationLookUpTableI.H.
| const Foam::List< Foam::scalar > & delta | ( | ) | const [inline]
|
Return const access to the deltas in each dimension.
Definition at line 71 of file interpolationLookUpTableI.H.
| const Foam::List< Foam::scalar > & max | ( | ) | const [inline]
|
Return const access to the list of max dimensions.
Definition at line 79 of file interpolationLookUpTableI.H.
| Foam::word tableName | ( | ) | const [inline]
|
Return const access to the table name.
Definition at line 86 of file interpolationLookUpTableI.H.
| const Foam::scalarField & operator[] | ( | const label | i ) | const |
Return an element of constant List<scalar, Type>
Reimplemented from UList< scalarField >.
Definition at line 422 of file interpolationLookUpTable.C.
References Foam::exit(), Foam::FatalError, FatalErrorIn, Foam::nl, and UList< T >::operator[]().
| Foam::scalarField & operator[] | ( | const label | i ) |
Return an element of List<scalar, Type>
Reimplemented from UList< scalarField >.
Definition at line 389 of file interpolationLookUpTable.C.
References Foam::exit(), Foam::FatalError, FatalErrorIn, Foam::nl, and UList< T >::operator[]().