36 #ifndef interpolation2DTable_H 37 #define interpolation2DTable_H 55 public List<Tuple2<scalar, List<Tuple2<scalar, Type>>>>
100 template<
class BinaryOp>
159 Type
operator()(
const scalar,
const scalar)
const;
word boundsHandlingToWord(const boundsHandling &bound) const
Return the out-of-bounds handling as a word.
void checkOrder() const
Check that list is monotonically increasing.
List< Tuple2< scalar, List< Tuple2< scalar, Type > > > > table
Cconvenience typedef.
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.
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 operator()(const scalar, const scalar) const
Return an interpolated value.
Clamp value to the start/end value.
2D table interpolation. The data must be in ascending order in both dimensions x and y...
interpolation2DTable()
Construct null.
A class for handling words, derived from string.
Issue warning and clamp value (default)
An Ostream is an abstract base class for all output systems (streams, files, token lists...
void reverse(UList< T > &, const label n)
Database for solution data, solver performance and other reduced data.
boundsHandling outOfBounds(const boundsHandling &bound)
Set the out-of-bounds handling from enum, return previous setting.
boundsHandling wordToBoundsHandling(const word &bound) const
Return the out-of-bounds handling as an enumeration.
volScalarField & bound(volScalarField &, const dimensionedScalar &lowerBound)
Bound the given scalar field if it has gone unbounded.
const List< Tuple2< scalar, Type > > & operator[](const label) const
Return an element of constant Tuple2<scalar, Type>
boundsHandling
Enumeration for handling out-of-bound values.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
void write(Ostream &os) const
Write.