62#ifndef interpolationTable_H
63#define interpolationTable_H
84 public List<Tuple2<scalar, Type>>
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A 2-tuple for storing two objects of dissimilar types. The container is similar in purpose to std::pa...
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
A class for handling file names.
An interpolation/look-up table of scalar vs <Type> values. The reference scalar values must be monoto...
void operator=(const interpolationTable< Type > &rhs)
Copy assignment.
void check() const
Check that list is monotonically increasing.
interpolationTable()
Default construct.
tmp< Field< Type > > interpolateValues(const UList< scalar > &vals) const
Return multiple interpolated values.
Type mapped_type
The mapped data type.
Tuple2< scalar, Type > value_type
The element data type.
Type operator()(scalar lookupValue) const
Return an interpolated value.
static Type interpolateValue(const List< Tuple2< scalar, Type > > &list, scalar lookupValue, bounds::repeatableBounding=bounds::repeatableBounding::CLAMP)
Return an interpolated value in List.
Type rateOfChange(scalar lookupValue) const
const Tuple2< scalar, Type > & operator[](label idx) const
Return an element of constant Tuple2<scalar, Type>
A class for managing temporary objects.
OBJstream os(runTime.globalPath()/outputName)
repeatableBounding
Enumeration for handling out-of-bound values that are repeatable.
@ CLAMP
Clamp value to the start/end value.