Opm::UniformTableLinear< T > Class Template Reference This class uses linear interpolation to compute the value (and its derivative) of a function f sampled at uniform points. More...
Detailed Descriptiontemplate<typename T> class Opm::UniformTableLinear< T > This class uses linear interpolation to compute the value (and its derivative) of a function f sampled at uniform points.
Member Enumeration Documentation◆ RangePolicy
template<typename T >
Constructor & Destructor Documentation◆ UniformTableLinear() [1/3]
template<typename T >
Default constructor. ◆ UniformTableLinear() [2/3]
template<typename T >
Construct from vector of y-values.
References Opm::UniformTableLinear< T >::xdelta_. ◆ UniformTableLinear() [3/3]
template<typename T >
Construct from array of y-values.
References Opm::UniformTableLinear< T >::xdelta_, and Opm::UniformTableLinear< T >::y_values_. Member Function Documentation◆ derivative()
template<typename T >
Evaluate the derivative at x.
References exprtk::details::numeric::max(), exprtk::details::numeric::min(), exprtk::details::value(), and exprtk::details::x(). ◆ domain()
template<typename T >
Get the domain.
◆ operator()()
template<typename T >
Evaluate the value at x.
References exprtk::details::numeric::max(), exprtk::details::numeric::min(), and exprtk::details::x(). ◆ operator==()
template<typename T >
Equality operator.
References Opm::UniformTableLinear< T >::left_, Opm::UniformTableLinear< T >::right_, Opm::UniformTableLinear< T >::xdelta_, Opm::UniformTableLinear< T >::xmin_, and Opm::UniformTableLinear< T >::y_values_. ◆ rescaleDomain()
template<typename T >
Rescale the domain.
◆ setLeftPolicy()
template<typename T >
Sets the behavioural policy for evaluation to the left of the domain.
References OPM_THROW. ◆ setRightPolicy()
template<typename T >
Sets the behavioural policy for evaluation to the right of the domain.
References OPM_THROW. Friends And Related Function Documentation◆ operator<<
template<typename T >
template<typename U >
Member Data Documentation◆ left_
template<typename T >
Referenced by Opm::UniformTableLinear< T >::operator==(). ◆ right_
template<typename T >
Referenced by Opm::UniformTableLinear< T >::operator==(). ◆ xdelta_
template<typename T >
◆ xmax_
template<typename T >
◆ xmin_
template<typename T >
Referenced by Opm::UniformTableLinear< T >::operator==(). ◆ y_values_
template<typename T >
The documentation for this class was generated from the following file: |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||