www.mooseframework.org
Functions
RichardsVarNames.C File Reference

Go to the source code of this file.

Functions

 registerMooseObject ("RichardsApp", RichardsVarNames)
 
template<>
InputParameters validParams< RichardsVarNames > ()
 

Function Documentation

◆ registerMooseObject()

registerMooseObject ( "RichardsApp"  ,
RichardsVarNames   
)

◆ validParams< RichardsVarNames >()

template<>
InputParameters validParams< RichardsVarNames > ( )

Definition at line 19 of file RichardsVarNames.C.

20 {
21  InputParameters params = validParams<GeneralUserObject>();
22  params.addClassDescription("Holds information on the porepressure variable names");
23  params.addRequiredCoupledVar("richards_vars",
24  "List of variables that represent the porepressures or "
25  "(porepressure, saturations). In single-phase models you will just "
26  "have one (eg \'pressure\'), in two-phase models you will have two "
27  "(eg \'p_water p_gas\', or \'p_water s_water\', etc. These names "
28  "must also be used in your kernels and material.");
29  MooseEnum var_types("pppp", "pppp");
30  params.addParam<MooseEnum>(
31  "var_types",
32  var_types,
33  "Variable types for the problem. Eg, 'pppp' means all the variables are pressure variables");
34 
35  return params;
36 }