Classes | Typedefs | Functions
PiecewiseBilinear.h File Reference

Go to the source code of this file.


class  ColumnMajorMatrixTempl< T >
 This class defines a Tensor that can change its shape. More...
class  PiecewiseBilinear
 PiecewiseBilinear reads from a file the information necessary to build the vectors x and y and the ColumnMajorMatrix z, and then sends those (along with a sample point) to BilinearInterpolation. More...


typedef ColumnMajorMatrixTempl< Real > ColumnMajorMatrix


InputParameters validParams< PiecewiseBilinear > ()

Typedef Documentation

◆ ColumnMajorMatrix

Definition at line 16 of file PiecewiseBilinear.h.

Function Documentation

◆ validParams< PiecewiseBilinear >()

Definition at line 20 of file PiecewiseBilinear.C.

21 {
23  params.addParam<FileName>(
24  "data_file", "", "File holding csv data for use with PiecewiseBilinear");
25  params.addParam<std::vector<Real>>("x", "The x abscissa values");
26  params.addParam<std::vector<Real>>("y", "The y abscissa values");
27  params.addParam<std::vector<Real>>("z", "The ordinate values");
28  params.addParam<int>("axis", -1, "The axis used (0, 1, or 2 for x, y, or z).");
29  params.addParam<int>(
30  "xaxis", -1, "The coordinate used for x-axis data (0, 1, or 2 for x, y, or z).");
31  params.addParam<int>(
32  "yaxis", -1, "The coordinate used for y-axis data (0, 1, or 2 for x, y, or z).");
33  params.addParam<Real>(
34  "scale_factor", 1.0, "Scale factor to be applied to the axis, yaxis, or xaxis values");
35  params.addParam<bool>("radial",
36  false,
37  "Set to true if you want to interpolate along a radius "
38  "rather that along a specific axis, and note that you "
39  "have to define xaxis and yaxis in the input file");
40  params.addClassDescription("Interpolates values from a csv file");
41  return params;
42 }
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
void addClassDescription(const std::string &doc_string)
This method adds a description of the class that will be displayed in the input file syntax dump...
void addParam(const std::string &name, const S &value, const std::string &doc_string)
These methods add an option parameter and a documentation string to the InputParameters object...
InputParameters validParams< Function >()
Definition: Function.C:14