www.mooseframework.org
Functions
AddAuxVariableAction.C File Reference

Go to the source code of this file.

Functions

template<>
InputParameters validParams< AddAuxVariableAction > ()
 

Function Documentation

Definition at line 20 of file AddAuxVariableAction.C.

21 {
24 
26  params += validParams<OutputInterface>();
27 
28  params.addParam<MooseEnum>(
29  "family", families, "Specifies the family of FE shape functions to use for this variable");
30  params.addParam<MooseEnum>("order",
31  orders,
32  "Specifies the order of the FE shape function to use "
33  "for this variable (additional orders not listed are "
34  "allowed)");
35  params.addParam<Real>("initial_condition", "Specifies the initial condition for this variable");
36  params.addParam<std::vector<SubdomainName>>("block", "The block id where this variable lives");
37 
38  return params;
39 }
InputParameters validParams< OutputInterface >()
static MooseEnum getAuxVariableFamilies()
Returns available families for AuxVariables.
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
This is a "smart" enum class intended to replace many of the shortcomings in the C++ enum type It sho...
Definition: MooseEnum.h:37
static MooseEnum getAuxVariableOrders()
Returns available orders for AuxVariables.
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< Action >()
Definition: Action.C:23