Base helper class to provide interfaces to common flow model setup functions. More...
#include <FlowModelSetup.h>
Public Member Functions | |
FlowModelSetup (const InputParameters ¶ms) | |
Static Public Member Functions | |
static InputParameters | validParams () |
Protected Member Functions | |
virtual void | addInitialConditions ()=0 |
virtual void | addSolutionVariables ()=0 |
virtual void | addNonConstantAuxVariables ()=0 |
virtual void | addMaterials () |
virtual void | addUserObjects ()=0 |
void | addSolutionVariable (const VariableName &var_name, const Real &scaling=1.0) |
Adds a solution variable. More... | |
void | addAuxVariable (const VariableName &var_name) |
Adds an aux variable. More... | |
void | addFunctionIC (const VariableName &var_name, const FunctionName &function_name) |
Adds a function initial condition. More... | |
template<typename T > | |
const T & | getParam (const std::string &name) const |
Retrieves a parameter. More... | |
Protected Attributes | |
const InputParameters & | _this_params |
MooseApp & | _this_app |
ActionFactory & | _this_action_factory |
ActionWarehouse & | _this_action_warehouse |
MooseEnum | _fe_family |
MooseEnum | _fe_order |
const Real & | _gravity_magnitude |
Gravitational acceleration magnitude. More... | |
Base helper class to provide interfaces to common flow model setup functions.
Definition at line 21 of file FlowModelSetup.h.
FlowModelSetup::FlowModelSetup | ( | const InputParameters & | params | ) |
Definition at line 27 of file FlowModelSetup.C.
|
protected |
Adds an aux variable.
[in] | var_name | name of the variable to add |
Definition at line 56 of file FlowModelSetup.C.
Referenced by ClosureTest1PhaseAction::addAuxVariables(), and FlowModelSetup1Phase::addNonConstantAuxVariables().
|
protected |
Adds a function initial condition.
[in] | var_name | name of the variable for which to add initial condition |
[in] | function_name | names of the IC function |
Definition at line 68 of file FlowModelSetup.C.
Referenced by FlowModelSetup1Phase::addInitialConditions().
|
protectedpure virtual |
Implemented in ClosureTest1PhaseAction, JacobianTest1PhaseAction, and FlowModelSetup1Phase.
|
protectedvirtual |
Reimplemented in JacobianTest1PhaseAction, FlowModelSetup1Phase, and ClosureTest1PhaseAction.
Definition at line 84 of file FlowModelSetup.C.
Referenced by FlowModelSetup1Phase::addMaterials().
|
protectedpure virtual |
Implemented in FlowModelSetup1Phase.
|
protected |
Adds a solution variable.
[in] | var_name | name of the variable to add |
[in] | scaling | scaling factor to apply to variable |
Definition at line 41 of file FlowModelSetup.C.
Referenced by FlowModelSetup1Phase::addSolutionVariables().
|
protectedpure virtual |
Implemented in JacobianTest1PhaseAction, and FlowModelSetup1Phase.
|
protectedpure virtual |
Implemented in JacobianTest1PhaseAction, FlowModelSetup1Phase, and ClosureTest1PhaseAction.
|
protected |
Retrieves a parameter.
[in] | name | name of the parameter |
Definition at line 82 of file FlowModelSetup.h.
|
static |
Definition at line 16 of file FlowModelSetup.C.
Referenced by FlowModelSetup1Phase::validParams().
|
protected |
Definition at line 70 of file FlowModelSetup.h.
Referenced by addSolutionVariable().
|
protected |
Definition at line 71 of file FlowModelSetup.h.
Referenced by addSolutionVariable(), and FlowModelSetup().
|
protected |
Gravitational acceleration magnitude.
Definition at line 74 of file FlowModelSetup.h.
|
protected |
Definition at line 67 of file FlowModelSetup.h.
Referenced by addAuxVariable(), addFunctionIC(), FlowModelSetup1Phase::addInitialConditions(), FlowModelSetup1Phase::addMaterials(), addMaterials(), FlowModelSetup1Phase::addNonConstantAuxVariables(), and addSolutionVariable().
|
protected |
Definition at line 68 of file FlowModelSetup.h.
Referenced by addAuxVariable(), addFunctionIC(), FlowModelSetup1Phase::addInitialConditions(), FlowModelSetup1Phase::addMaterials(), addMaterials(), FlowModelSetup1Phase::addNonConstantAuxVariables(), and addSolutionVariable().
|
protected |
Definition at line 66 of file FlowModelSetup.h.
|
protected |
Definition at line 65 of file FlowModelSetup.h.
Referenced by getParam().