ScalarKernel.C File Reference

Go to the source code of this file.


InputParameters validParams< ScalarKernel > ()

Function Documentation

Definition at line 25 of file ScalarKernel.C.

Referenced by validParams< NodalScalarKernel >(), and validParams< ODEKernel >().

26 {
29  params.addRequiredParam<NonlinearVariableName>(
30  "variable", "The name of the variable that this kernel operates on");
32  params.addParam<bool>("use_displaced_mesh",
33  false,
34  "Whether or not this object should use the "
35  "displaced mesh for computation. Note that "
36  "in the case this is true but no "
37  "displacements are provided in the Mesh block "
38  "the undisplaced mesh will still be used.");
39  params.addParamNamesToGroup("use_displaced_mesh", "Advanced");
41  params.registerBase("ScalarKernel");
43  return params;
44 }
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...
InputParameters validParams< MooseObject >()
Definition: MooseObject.C:22
InputParameters validParams< TransientInterface >()