UniformTabulated2DFunction.hpp
Go to the documentation of this file.
241 const Evaluation& s2 = getSamplePoint(i, j + 1)*(1.0 - alpha) + getSamplePoint(i + 1, j + 1)*alpha;
Provides the opm-material specific exception classes. A traits class which provides basic mathematical functions for arbitrary scalar floating point values... Definition: Exceptions.hpp:46 Implements a scalar function that depends on two variables and which is sampled on an uniform X-Y gri... Definition: UniformTabulated2DFunction.hpp:55 void resize(Scalar minX, Scalar maxX, unsigned m, Scalar minY, Scalar maxY, unsigned n) Resize the tabulation to a new range. Definition: UniformTabulated2DFunction.hpp:84 Scalar iToX(unsigned i) const Return the position on the x-axis of the i-th interval. Definition: UniformTabulated2DFunction.hpp:138 Scalar yMax() const Returns the maximum of the Y coordinate of the sampling points. Definition: UniformTabulated2DFunction.hpp:120 bool operator==(const UniformTabulated2DFunction< Scalar > &data) const Definition: UniformTabulated2DFunction.hpp:271 Evaluation xToI(const Evaluation &x) const Return the interval index of a given position on the x-axis. Definition: UniformTabulated2DFunction.hpp:164 UniformTabulated2DFunction(Scalar minX, Scalar maxX, unsigned m, Scalar minY, Scalar maxY, unsigned n) Constructor where the tabulation parameters are already provided. Definition: UniformTabulated2DFunction.hpp:64 unsigned numX() const Returns the number of sampling points in X direction. Definition: UniformTabulated2DFunction.hpp:126 Scalar xMax() const Returns the maximum of the X coordinate of the sampling points. Definition: UniformTabulated2DFunction.hpp:108 bool applies(const Evaluation &x, const Evaluation &y) const Returns true iff a coordinate lies in the tabulated range. Definition: UniformTabulated2DFunction.hpp:183 Scalar xMin() const Returns the minimum of the X coordinate of the sampling points. Definition: UniformTabulated2DFunction.hpp:102 Evaluation yToJ(const Evaluation &y) const Return the interval index of a given position on the y-axis. Definition: UniformTabulated2DFunction.hpp:176 Evaluation eval(const Evaluation &x, const Evaluation &y, bool extrapolate) const Evaluate the function at a given (x,y) position. Definition: UniformTabulated2DFunction.hpp:199 void setSamplePoint(unsigned i, unsigned j, Scalar value) Set the value of the sample point which is at the intersection of the -th interval of the x-Axis and ... Definition: UniformTabulated2DFunction.hpp:263 UniformTabulated2DFunction() Definition: UniformTabulated2DFunction.hpp:57 unsigned numY() const Returns the number of sampling points in Y direction. Definition: UniformTabulated2DFunction.hpp:132 Scalar getSamplePoint(unsigned i, unsigned j) const Get the value of the sample point which is at the intersection of the -th interval of the x-Axis and ... Definition: UniformTabulated2DFunction.hpp:250 Scalar yMin() const Returns the minimum of the Y coordinate of the sampling points. Definition: UniformTabulated2DFunction.hpp:114 Scalar jToY(unsigned j) const Return the position on the y-axis of the j-th interval. Definition: UniformTabulated2DFunction.hpp:148 UniformTabulated2DFunction(Scalar minX, Scalar maxX, unsigned m, Scalar minY, Scalar maxY, unsigned n, const std::vector< std::vector< Scalar > > &vals) Definition: UniformTabulated2DFunction.hpp:70 Definition: Air_Mesitylene.hpp:34 ReturnEval_< Evaluation1, Evaluation2 >::type min(const Evaluation1 &arg1, const Evaluation2 &arg2) Definition: MathToolbox.hpp:346 ReturnEval_< Evaluation1, Evaluation2 >::type max(const Evaluation1 &arg1, const Evaluation2 &arg2) Definition: MathToolbox.hpp:341 auto scalarValue(const Evaluation &val) -> decltype(MathToolbox< Evaluation >::scalarValue(val)) Definition: MathToolbox.hpp:335 |