www.mooseframework.org
Classes | Functions
BicubicSplineFunction.h File Reference

Go to the source code of this file.

Classes

class  BicubicSplineFunction
 Function that uses spline interpolation. More...
 

Functions

template<>
InputParameters validParams< BicubicSplineFunction > ()
 

Function Documentation

Definition at line 19 of file BicubicSplineFunction.C.

20 {
22  params.addRequiredParam<std::vector<Real>>("x1", "The first independent coordinate.");
23  params.addRequiredParam<std::vector<Real>>("x2", "The second independent coordinate.");
24  params.addRequiredParam<std::vector<Real>>("y", "The dependent values");
25  params.addParam<std::vector<Real>>(
26  "yx11", "The values of the derivative wrt x1 on the lower interpolation grid points.");
27  params.addParam<std::vector<Real>>(
28  "yx1n", "The values of the derivative wrt x1 on the upper interpolation grid points.");
29  params.addParam<std::vector<Real>>(
30  "yx21", "The values of the derivative wrt x2 on the lower interpolation grid points.");
31  params.addParam<std::vector<Real>>(
32  "yx2n", "The values of the derivative wrt x2 on the upper interpolation grid points.");
33  params.addParam<FunctionName>(
34  "yx1", "1e30", "The functional form of the derivative with respect to x1.");
35  params.addParam<FunctionName>(
36  "yx2", "1e30", "The functional form of the derivative with respect to x2.");
37 
38  return params;
39 }
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
void addRequiredParam(const std::string &name, const std::string &doc_string)
This method adds a parameter and documentation string to the InputParameters object that will be extr...
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:19