ConservativeAdvection.C File Reference

Go to the source code of this file.


InputParameters validParams< ConservativeAdvection > ()

Function Documentation

Definition at line 18 of file ConservativeAdvection.C.

19 {
21  params.addClassDescription("Conservative form of $\\nabla \\cdot \\vec{v} u$ which in its weak "
22  "form is given by: $(-\\nabla \\psi_i, \\vec{v} u)$.");
23  params.addRequiredParam<RealVectorValue>("velocity", "Velocity vector");
24  return params;
25 }
VectorValue< Real > RealVectorValue
Definition: Assembly.h:40
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< Kernel >()
Definition: Kernel.C:30
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...