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