Opm::UniformTabulated2DFunction< Scalar > Class Template Reference Implements a scalar function that depends on two variables and which is sampled on an uniform X-Y grid. More...
Detailed Descriptiontemplate<class Scalar> class Opm::UniformTabulated2DFunction< Scalar > Implements a scalar function that depends on two variables and which is sampled on an uniform X-Y grid. This class can be used when the sampling points are calculated at run time. Constructor & Destructor Documentation◆ UniformTabulated2DFunction() [1/3]
template<class Scalar >
◆ UniformTabulated2DFunction() [2/3]
template<class Scalar >
Constructor where the tabulation parameters are already provided. References Opm::UniformTabulated2DFunction< Scalar >::resize(). ◆ UniformTabulated2DFunction() [3/3]
template<class Scalar >
Member Function Documentation◆ applies()
template<class Scalar >
template<class Evaluation >
Returns true iff a coordinate lies in the tabulated range. References Opm::UniformTabulated2DFunction< Scalar >::xMax(), Opm::UniformTabulated2DFunction< Scalar >::xMin(), Opm::UniformTabulated2DFunction< Scalar >::yMax(), and Opm::UniformTabulated2DFunction< Scalar >::yMin(). Referenced by Opm::UniformTabulated2DFunction< Scalar >::eval(). ◆ eval()
template<class Scalar >
template<class Evaluation >
Evaluate the function at a given (x,y) position.
References Opm::UniformTabulated2DFunction< Scalar >::applies(), Opm::UniformTabulated2DFunction< Scalar >::getSamplePoint(), Opm::max(), Opm::min(), Opm::UniformTabulated2DFunction< Scalar >::numX(), Opm::UniformTabulated2DFunction< Scalar >::numY(), Opm::scalarValue(), Opm::UniformTabulated2DFunction< Scalar >::xMax(), Opm::UniformTabulated2DFunction< Scalar >::xMin(), Opm::UniformTabulated2DFunction< Scalar >::xToI(), Opm::UniformTabulated2DFunction< Scalar >::yMax(), Opm::UniformTabulated2DFunction< Scalar >::yMin(), and Opm::UniformTabulated2DFunction< Scalar >::yToJ(). ◆ getSamplePoint()
template<class Scalar >
Get the value of the sample point which is at the intersection of the -th interval of the x-Axis and the -th of the y-Axis. Referenced by Opm::UniformTabulated2DFunction< Scalar >::eval(). ◆ iToX()
template<class Scalar >
Return the position on the x-axis of the i-th interval. References Opm::UniformTabulated2DFunction< Scalar >::numX(), Opm::UniformTabulated2DFunction< Scalar >::xMax(), and Opm::UniformTabulated2DFunction< Scalar >::xMin(). ◆ jToY()
template<class Scalar >
Return the position on the y-axis of the j-th interval. References Opm::UniformTabulated2DFunction< Scalar >::numY(), Opm::UniformTabulated2DFunction< Scalar >::yMax(), and Opm::UniformTabulated2DFunction< Scalar >::yMin(). ◆ numX()
template<class Scalar >
Returns the number of sampling points in X direction. Referenced by Opm::UniformTabulated2DFunction< Scalar >::eval(), Opm::UniformTabulated2DFunction< Scalar >::iToX(), and Opm::UniformTabulated2DFunction< Scalar >::xToI(). ◆ numY()
template<class Scalar >
Returns the number of sampling points in Y direction. Referenced by Opm::UniformTabulated2DFunction< Scalar >::eval(), Opm::UniformTabulated2DFunction< Scalar >::jToY(), and Opm::UniformTabulated2DFunction< Scalar >::yToJ(). ◆ operator==()
template<class Scalar >
◆ resize()
template<class Scalar >
Resize the tabulation to a new range. Referenced by Opm::UniformTabulated2DFunction< Scalar >::UniformTabulated2DFunction(). ◆ setSamplePoint()
template<class Scalar >
Set the value of the sample point which is at the intersection of the -th interval of the x-Axis and the -th of the y-Axis. Referenced by Opm::UniformTabulated2DFunction< Scalar >::UniformTabulated2DFunction(). ◆ xMax()
template<class Scalar >
Returns the maximum of the X coordinate of the sampling points. Referenced by Opm::UniformTabulated2DFunction< Scalar >::applies(), Opm::UniformTabulated2DFunction< Scalar >::eval(), Opm::UniformTabulated2DFunction< Scalar >::iToX(), and Opm::UniformTabulated2DFunction< Scalar >::xToI(). ◆ xMin()
template<class Scalar >
Returns the minimum of the X coordinate of the sampling points. Referenced by Opm::UniformTabulated2DFunction< Scalar >::applies(), Opm::UniformTabulated2DFunction< Scalar >::eval(), Opm::UniformTabulated2DFunction< Scalar >::iToX(), and Opm::UniformTabulated2DFunction< Scalar >::xToI(). ◆ xToI()
template<class Scalar >
template<class Evaluation >
Return the interval index of a given position on the x-axis. This method returns a floating point number. The integer part should be interpreted as interval, the decimal places are the position of the x value between the i-th and the (i+1)-th sample point. References Opm::UniformTabulated2DFunction< Scalar >::numX(), Opm::UniformTabulated2DFunction< Scalar >::xMax(), and Opm::UniformTabulated2DFunction< Scalar >::xMin(). Referenced by Opm::UniformTabulated2DFunction< Scalar >::eval(). ◆ yMax()
template<class Scalar >
Returns the maximum of the Y coordinate of the sampling points. Referenced by Opm::UniformTabulated2DFunction< Scalar >::applies(), Opm::UniformTabulated2DFunction< Scalar >::eval(), Opm::UniformTabulated2DFunction< Scalar >::jToY(), and Opm::UniformTabulated2DFunction< Scalar >::yToJ(). ◆ yMin()
template<class Scalar >
Returns the minimum of the Y coordinate of the sampling points. Referenced by Opm::UniformTabulated2DFunction< Scalar >::applies(), Opm::UniformTabulated2DFunction< Scalar >::eval(), Opm::UniformTabulated2DFunction< Scalar >::jToY(), and Opm::UniformTabulated2DFunction< Scalar >::yToJ(). ◆ yToJ()
template<class Scalar >
template<class Evaluation >
Return the interval index of a given position on the y-axis. This method returns a floating point number. The integer part should be interpreted as interval, the decimal places are the position of the y value between the j-th and the (j+1)-th sample point. References Opm::UniformTabulated2DFunction< Scalar >::numY(), Opm::UniformTabulated2DFunction< Scalar >::yMax(), and Opm::UniformTabulated2DFunction< Scalar >::yMin(). Referenced by Opm::UniformTabulated2DFunction< Scalar >::eval(). The documentation for this class was generated from the following file: |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||