73 static void parse(
const std::string & data_file_name,
74 std::vector<Real> & x,
75 std::vector<Real> & y,
77 const std::string & object_name);
91 template <
typename T,
typename P>
Base class for function objects.
This class defines a Tensor that can change its shape.
This class applies the Least Squares algorithm to a set of points to provide a smooth curve for sampl...
static InputParameters validParams()
static void parse(const std::string &data_file_name, std::vector< Real > &x, std::vector< Real > &y, ColumnMajorMatrix &z, const std::string &object_name)
Parse a text/CSV file to fill two-dimensional data.
T valueInternal(T t, const P &p) const
virtual Real value(Real t, const Point &pt) const override
This function will return a value based on the first input argument only.
std::unique_ptr< BilinearInterpolation > _bilinear_interp
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
ColumnMajorMatrixTempl< Real > ColumnMajorMatrix
PiecewiseBilinear reads from a file the information necessary to build the vectors x and y and the Co...
const InputParameters & parameters() const
Get the parameters of the object.
virtual ~PiecewiseBilinear()
virtual Real value(Real t, const Point &p) const
Override this to evaluate the scalar function at point (t,x,y,z), by default this returns zero...
const std::string _data_file_name
PiecewiseBilinear(const InputParameters ¶meters)