69 const std::vector<Real> & y,
70 const std::vector<Real> & z,
71 const std::vector<Real> & data);
83 Real
sample(Real x, Real y, Real z)
const;
107 getCornerIndices(
const std::vector<Real> & v, Real x,
int & lower,
int & upper, Real & d)
const;
This class interpolates a function of three values (f(x,y,z)).
std::vector< Real > _x_axis
vector of x-values
std::vector< Real > _z_axis
vector of z-values
std::vector< Real > _fxyz
vector of function values, f(x,y,z)
virtual ~TrilinearInterpolation()=default
std::vector< Real > _y_axis
vector of y-values
void getCornerIndices(const std::vector< Real > &v, Real x, int &lower, int &upper, Real &d) const
Finds the indices of the cube that point (x,y,z) is in.
Real sample(Real x, Real y, Real z) const
Interpolates for the desired (x,y,z) coordinate and returns the value based on the function values ve...
Real getCornerValues(int x, int y, int z) const
Searches the function value vector for the value at a given corner coordinate from the getCornerIndic...
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real