UniformXTabulated2DFunction.hpp
Go to the documentation of this file.
72 };
Provides the opm-material specific exception classes. A traits class which provides basic mathematical functions for arbitrary scalar floating point values... Some templates to wrap the valgrind client request macros. Definition: Exceptions.hpp:46 Implements a scalar function that depends on two variables and which is sampled uniformly in the X di... Definition: UniformXTabulated2DFunction.hpp:54 Scalar xMax() const Returns the maximum of the X coordinate of the sampling points. Definition: UniformXTabulated2DFunction.hpp:97 size_t appendSamplePoint(size_t i, Scalar y, Scalar value) Append a sample point. Definition: UniformXTabulated2DFunction.hpp:413 Evaluation xToAlpha(const Evaluation &x, unsigned segmentIdx) const Return the relative position of an x value in an intervall. Definition: UniformXTabulated2DFunction.hpp:224 std::tuple< Scalar, Scalar, Scalar > SamplePoint Definition: UniformXTabulated2DFunction.hpp:56 Evaluation yToBeta(const Evaluation &y, unsigned xSampleIdx, unsigned ySegmentIdx) const Return the relative position of an y value in an interval. Definition: UniformXTabulated2DFunction.hpp:273 Scalar xAt(size_t i) const Returns the value of the X coordinate of the sampling points. Definition: UniformXTabulated2DFunction.hpp:103 void print(std::ostream &os=std::cout) const Print the table for debugging purposes. Definition: UniformXTabulated2DFunction.hpp:443 InterpolationPolicy interpolationGuide() const Definition: UniformXTabulated2DFunction.hpp:167 Scalar jToY(unsigned i, unsigned j) const Return the position on the y-axis of the j-th interval. Definition: UniformXTabulated2DFunction.hpp:175 InterpolationPolicy Indicates how interpolation will be performed. Definition: UniformXTabulated2DFunction.hpp:68 @ LeftExtreme Definition: UniformXTabulated2DFunction.hpp:69 @ RightExtreme Definition: UniformXTabulated2DFunction.hpp:70 Scalar valueAt(size_t i, size_t j) const Returns the value of a sampling point. Definition: UniformXTabulated2DFunction.hpp:115 UniformXTabulated2DFunction(const InterpolationPolicy interpolationGuide=Vertical) Definition: UniformXTabulated2DFunction.hpp:74 unsigned ySegmentIndex(const Evaluation &y, unsigned xSampleIdx, bool extrapolate=false) const Return the interval index of a given position on the y-axis. Definition: UniformXTabulated2DFunction.hpp:235 bool operator==(const UniformXTabulated2DFunction< Scalar > &data) const Definition: UniformXTabulated2DFunction.hpp:470 Scalar xMin() const Returns the minimum of the X coordinate of the sampling points. Definition: UniformXTabulated2DFunction.hpp:91 Scalar yMin(unsigned i) const Returns the minimum of the Y coordinate of the sampling points for a given column. Definition: UniformXTabulated2DFunction.hpp:127 unsigned xSegmentIndex(const Evaluation &x, bool extrapolate=false) const Return the interval index of a given position on the x-axis. Definition: UniformXTabulated2DFunction.hpp:187 size_t numY(unsigned i) const Returns the number of sampling points in Y direction a given column. Definition: UniformXTabulated2DFunction.hpp:139 size_t numX() const Returns the number of sampling points in X direction. Definition: UniformXTabulated2DFunction.hpp:121 const std::vector< std::vector< SamplePoint > > & samples() const Definition: UniformXTabulated2DFunction.hpp:152 Scalar yMax(unsigned i) const Returns the maximum of the Y coordinate of the sampling points for a given column. Definition: UniformXTabulated2DFunction.hpp:133 Scalar iToX(unsigned i) const Return the position on the x-axis of the i-th interval. Definition: UniformXTabulated2DFunction.hpp:145 UniformXTabulated2DFunction(const std::vector< Scalar > &xPos, const std::vector< Scalar > &yPos, const std::vector< std::vector< SamplePoint > > &samples, InterpolationPolicy interpolationGuide) Definition: UniformXTabulated2DFunction.hpp:78 Scalar yAt(size_t i, size_t j) const Returns the value of the Y coordinate of a sampling point. Definition: UniformXTabulated2DFunction.hpp:109 size_t appendXPos(Scalar nextX) Set the x-position of a vertical line. Definition: UniformXTabulated2DFunction.hpp:389 const std::vector< Scalar > & yPos() const Definition: UniformXTabulated2DFunction.hpp:162 Evaluation eval(const Evaluation &x, const Evaluation &y, bool extrapolate=false) const Evaluate the function at a given (x,y) position. Definition: UniformXTabulated2DFunction.hpp:318 const std::vector< Scalar > & xPos() const Definition: UniformXTabulated2DFunction.hpp:157 bool applies(const Evaluation &x, const Evaluation &y) const Returns true iff a coordinate lies in the tabulated range. Definition: UniformXTabulated2DFunction.hpp:290 bool CheckDefined(const T &value) Make valgrind complain if any of the memory occupied by an object is undefined. Definition: Valgrind.hpp:74 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 |