UniformXTabulated2DFunction.hpp
Go to the documentation of this file.
Scalar xMin() const Returns the minimum of the X coordinate of the sampling points. Definition: UniformXTabulated2DFunction.hpp:64 UniformXTabulated2DFunction() Definition: UniformXTabulated2DFunction.hpp:58 bool CheckDefined(const T &value OPM_UNUSED) Make valgrind complain if any of the memory occupied by an object is undefined. Definition: Valgrind.hpp:74 size_t numX() const Returns the number of sampling points in X direction. Definition: UniformXTabulated2DFunction.hpp:94 Definition: Air_Mesitylene.hpp:31 Scalar valueAt(size_t i, size_t j) const Returns the value of a sampling point. Definition: UniformXTabulated2DFunction.hpp:88 size_t appendSamplePoint(size_t i, Scalar y, Scalar value) Append a sample point. Definition: UniformXTabulated2DFunction.hpp:373 Some templates to wrap the valgrind client request macros. Evaluation< Scalar, VarSetTag, numVars > max(const Evaluation< Scalar, VarSetTag, numVars > &x1, const Evaluation< Scalar, VarSetTag, numVars > &x2) Definition: Math.hpp:114 size_t numY(size_t i) const Returns the number of sampling points in Y direction a given column. Definition: UniformXTabulated2DFunction.hpp:112 size_t appendXPos(Scalar nextX) Set the x-position of a vertical line. Definition: UniformXTabulated2DFunction.hpp:350 Evaluation eval(const Evaluation &x, const Evaluation &y, bool extrapolate=false) const Evaluate the function at a given (x,y) position. Definition: UniformXTabulated2DFunction.hpp:284 bool applies(Scalar x, Scalar y) const Returns true iff a coordinate lies in the tabulated range. Definition: UniformXTabulated2DFunction.hpp:219 Scalar iToX(size_t i) const Return the position on the x-axis of the i-th interval. Definition: UniformXTabulated2DFunction.hpp:118 Scalar yMax(size_t i) const Returns the maximum of the Y coordinate of the sampling points for a given column. Definition: UniformXTabulated2DFunction.hpp:106 Scalar xAt(size_t i) const Returns the value of the X coordinate of the sampling points. Definition: UniformXTabulated2DFunction.hpp:76 Evaluation< Scalar, VarSetTag, numVars > min(const Evaluation< Scalar, VarSetTag, numVars > &x1, const Evaluation< Scalar, VarSetTag, numVars > &x2) Definition: Math.hpp:61 Scalar eval(Scalar x, Scalar y, bool extrapolate=true) const Evaluate the function at a given (x,y) position. Definition: UniformXTabulated2DFunction.hpp:246 Scalar xToI(Scalar x, OPM_OPTIM_UNUSED bool extrapolate=false) const Return the interval index of a given position on the x-axis. Definition: UniformXTabulated2DFunction.hpp:144 void print(std::ostream &os=std::cout) const Print the table for debugging purposes. Definition: UniformXTabulated2DFunction.hpp:399 Implements a scalar function that depends on two variables and which is sampled uniformly in the X di... Definition: UniformXTabulated2DFunction.hpp:53 Provides the OPM_UNUSED macro. Scalar yMin(size_t i) const Returns the minimum of the Y coordinate of the sampling points for a given column. Definition: UniformXTabulated2DFunction.hpp:100 Scalar jToY(size_t i, size_t j) const Return the position on the y-axis of the j-th interval. Definition: UniformXTabulated2DFunction.hpp:128 Scalar xMax() const Returns the maximum of the X coordinate of the sampling points. Definition: UniformXTabulated2DFunction.hpp:70 Scalar yAt(size_t i, size_t j) const Returns the value of the Y coordinate of a sampling point. Definition: UniformXTabulated2DFunction.hpp:82 Scalar yToJ(size_t i, Scalar y, OPM_OPTIM_UNUSED bool extrapolate=false) const Return the interval index of a given position on the y-axis. Definition: UniformXTabulated2DFunction.hpp:185 A traits class which provides basic mathematical functions for arbitrary scalar floating point values... |