Go to the documentation of this file.
42 #ifndef interpolationLookUpTable_H
43 #define interpolationLookUpTable_H
66 public List<scalarField>
112 void dimensionTable();
115 label index(
const List<scalar>&,
const bool lastDim=
true)
const;
118 label index(
const scalar)
const;
121 bool checkRange(
const scalar,
const label)
const;
128 const scalar lookUpValue,
130 const label interfield
137 void findHi(
const label lo,
const scalar retvals);
151 const word& instance,
175 const word& instance,
const List< scalar > & delta() const
Return const access to the deltas in each dimension.
A class for handling words, derived from Foam::string.
A class for handling file names.
const List< scalar > & min() const
Return const access to the list of min dimensions.
bool found(const word &fieldName) const
Return true if the field exists in the table.
word tableName() const
Return const access to the table name.
const List< dictionary > & entries() const
Return const access tp the dictionary entries.
Registry of regIOobjects.
const scalarField & operator[](const label) const
Return an element of constant List<scalar, Type>
const List< dictionary > & output() const
Return const access to the output dictionaries.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
interpolationLookUpTable()
Construct null.
const List< label > & dim() const
Return const access to the list of dimensions.
const List< scalar > & max() const
Return const access to the list of max dimensions.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
const List< scalar > & lookUp(const scalar)
Return the output list given a single input scalar.
label findFieldIndex(const word &fieldName) const
Return the index of a field by name.
Various functions to operate on Lists.
A list of lists. Interpolates based on the first dimension. The values must be positive and monotonic...
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
void write(Ostream &, const fileName &, const word &instance, const objectRegistry &) const
Write lookup table to filename.