www.mooseframework.org
Functions
ElementVectorL2Error.C File Reference

Go to the source code of this file.

Functions

template<>
InputParameters validParams< ElementVectorL2Error > ()
 

Function Documentation

Definition at line 20 of file ElementVectorL2Error.C.

21 {
23  params.addRequiredParam<FunctionName>("function_x", "The analytic solution to compare against");
24  params.addParam<FunctionName>("function_y", 0, "The analytic solution to compare against");
25  params.addParam<FunctionName>("function_z", 0, "The analytic solution to compare against");
26  params.addRequiredCoupledVar("var_x", "The FE solution in x direction");
27  params.addCoupledVar("var_y", 0, "The FE solution in y direction");
28  params.addCoupledVar("var_z", 0, "The FE solution in z direction");
29  return params;
30 }
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 addCoupledVar(const std::string &name, const std::string &doc_string)
This method adds a coupled variable name pair.
void addRequiredCoupledVar(const std::string &name, const std::string &doc_string)
This method adds a coupled variable name pair.
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< ElementIntegralPostprocessor >()