Opm::NonuniformTableLinear< T > Class Template Reference This class uses linear interpolation to compute the value (and its derivative) of a function f sampled at possibly nonuniform points. If values outside the domain are sought, values will be extrapolated linearly. More...
Detailed Descriptiontemplate<typename T> class Opm::NonuniformTableLinear< T > This class uses linear interpolation to compute the value (and its derivative) of a function f sampled at possibly nonuniform points. If values outside the domain are sought, values will be extrapolated linearly.
Constructor & Destructor Documentation◆ NonuniformTableLinear() [1/2]
template<typename T >
Default constructor. ◆ NonuniformTableLinear() [2/2]
template<typename T >
template<class XContainer , class YContainer >
Construct from vectors of x and y values.
References Opm::isNondecreasing(), and Opm::NonuniformTableLinear< T >::x_values_. Member Function Documentation◆ derivative()
template<typename T >
Evaluate the derivative at x.
References Opm::linearInterpolationDerivative(), and exprtk::details::x(). ◆ domain()
template<typename T >
Get the domain.
◆ inverse()
template<typename T >
Evaluate the inverse at y. Requires T to be a double.
References Opm::isNondecreasing(), and Opm::linearInterpolation(). ◆ operator()()
template<typename T >
Evaluate the value at x.
References Opm::linearInterpolation(), and exprtk::details::x(). ◆ operator==()
template<typename T >
Equality operator.
References Opm::NonuniformTableLinear< T >::x_values_, and Opm::NonuniformTableLinear< T >::y_values_. ◆ rescaleDomain()
template<typename T >
Member Data Documentation◆ x_values_
template<typename T >
◆ x_values_reversed_
template<typename T >
◆ y_values_
template<typename T >
Referenced by Opm::NonuniformTableLinear< T >::operator==(). ◆ y_values_reversed_
template<typename T >
The documentation for this class was generated from the following file: |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||