To read and manipulate tabulated functions. More...
Public Member Functions | |
Tabulation () | |
Default constructor. | |
Tabulation (string file) | |
Constructor using file name. | |
~Tabulation () | |
Destructor. | |
void | setFile (string file) |
Set file name. More... | |
real_t | getValue (string funct, real_t v) |
Return the calculated value of the function. More... | |
real_t | getDerivative (string funct, real_t v) |
Return the derivative of the function at a given point. More... | |
real_t | getValue (string funct, real_t v1, real_t v2) |
Return the calculated value of the function. More... | |
real_t | getValue (string funct, real_t v1, real_t v2, real_t v3) |
Return the calculated value of the function. More... | |
Detailed Description
To read and manipulate tabulated functions.
This class enables reading a tabulated function of one to three variables and calculating the value of the function using piecewise multilinear interpolation.
The file defining the function is an XML file where any function is introduced via the tag "Function".