Go to the documentation of this file.
59 #ifndef interpolationTable_H
60 #define interpolationTable_H
80 public List<Tuple2<scalar, Type> >
A class for handling words, derived from string.
boundsHandling boundsHandling_
Enumeration for handling out-of-bound values.
A class for handling file names.
void readTable()
Read the table of data from file.
volScalarField & bound(volScalarField &, const dimensionedScalar &lowerBound)
Bound the given scalar field if it has gone unbounded.
boundsHandling wordToBoundsHandling(const word &bound) const
Return the out-of-bounds handling as an enumeration.
void write(Ostream &os) const
Write.
fileName fileName_
File name.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Type operator()(const scalar) const
Return an interpolated value.
autoPtr< tableReader< Type > > reader_
The actual reader.
interpolationTable()
Construct null.
boundsHandling
Enumeration for handling out-of-bound values.
A list of keyword definitions, which are a keyword followed by any number of values (e....
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
void check() const
Check that list is monotonically increasing.
An interpolation/look-up table of scalar vs <Type> values. The reference scalar values must be monoto...
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A 2-tuple for storing two objects of different types.
word boundsHandlingToWord(const boundsHandling &bound) const
Return the out-of-bounds handling as a word.
const Tuple2< scalar, Type > & operator[](const label) const
Return an element of constant Tuple2<scalar, Type>
boundsHandling outOfBounds(const boundsHandling &bound)
Set the out-of-bounds handling from enum, return previous setting.
Type rateOfChange(const scalar) const
Return the rate of change at the interpolation location.