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