47 const std::vector<Real> & yaxis,
68 unsigned int deriv_var)
const override;
76 unsigned int & lowerX,
77 unsigned int & upperX)
const;
This class applies the Least Squares algorithm to a set of points to provide a smooth curve for sampl...
DualNumber< Real, Real > ChainedReal
virtual void sampleValueAndDerivatives(Real, Real, Real &, Real &, Real &) const
Samples value and first derivatives at point (x1, x2) Use this function for speed when computing both...
BilinearInterpolation(const std::vector< Real > &xaxis, const std::vector< Real > &yaxis, const ColumnMajorMatrix &zsurface)
Constructor, Takes two vectors of points for which to apply the fit.
void sampleValueAndDerivatives(Real s1, Real s2, Real &y, Real &dy_ds1, Real &dy_ds2) const override
Samples value and first derivatives at point (x1, x2) Use this function for speed when computing both...
ColumnMajorMatrix _z_surface
Real sampleDerivative(const Real s1, const Real s2, unsigned int deriv_var) const override
Samples first derivative at point (s1, s2)
virtual ~BilinearInterpolation()=default
T sampleDerivativeInternal(const T s1, const T s2, const unsigned int deriv_var) const
T sampleInternal(const T &s1, const T &s2) const
sampleInternal only used by BilinearInterpolation, hence made private
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
Real sample(const Real s1, const Real s2) const override
This function will take an independent variable input and will return the dependent variable based on...
void getNeighborIndices(const std::vector< Real > &inArr, Real x, unsigned int &lowerX, unsigned int &upperX) const
This class interpolates tabulated data with a Bidimension function (either bicubic or bilinear)...