#include <LinearInterpolation.h>
Public Member Functions | |
LinearInterpolation (const std::vector< Real > &X, const std::vector< Real > &Y, const bool extrap=false) | |
LinearInterpolation () | |
void | setData (const std::vector< Real > &X, const std::vector< Real > &Y) |
Set the x and y values. More... | |
void | errorCheck () |
template<typename T > | |
T | sample (const T &x) const |
This function will take an independent variable input and will return the dependent variable based on the generated fit. More... | |
template<typename T > | |
T | sampleDerivative (const T &x) const |
This function will take an independent variable input and will return the derivative of the dependent variable with respect to the independent variable based on the generated fit. More... | |
unsigned int | getSampleSize () const |
This function returns the size of the array holding the points, i.e. More... | |
Real | integrate () |
This function returns the integral of the function. More... | |
Real | domain (int i) const |
Real | range (int i) const |
Definition at line 88 of file LinearInterpolation.h.
Definition at line 127 of file LinearInterpolation.C.
|
inherited |
Definition at line 28 of file LinearInterpolation.C.
Referenced by LinearInterpolation::LinearInterpolation(), and LinearInterpolation::setData().
|
inherited |
This function returns the size of the array holding the points, i.e.
the number of sample points
Definition at line 139 of file LinearInterpolation.C.
|
inherited |
This function returns the integral of the function.
Definition at line 117 of file LinearInterpolation.C.
|
inline |
Definition at line 31 of file LinearInterpolation.h.
LinearInterpolation::LinearInterpolation |
Definition at line 19 of file LinearInterpolation.C.
Definition at line 133 of file LinearInterpolation.C.
|
inherited |
This function will take an independent variable input and will return the dependent variable based on the generated fit.
Definition at line 45 of file LinearInterpolation.C.
Referenced by IterationAdaptiveDT::computeDT(), IterationAdaptiveDT::computeInitialDT(), and IterationAdaptiveDT::computeInterpolationDT().
|
inherited |
This function will take an independent variable input and will return the derivative of the dependent variable with respect to the independent variable based on the generated fit.
Definition at line 86 of file LinearInterpolation.C.
|
inlineinherited |