www.mooseframework.org
Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
AddVariableAction Class Reference

Adds nonlinear variable. More...

#include <AddVariableAction.h>

Inheritance diagram for AddVariableAction:
[legend]

Public Member Functions

 AddVariableAction (InputParameters params)
 Class constructor. More...
 
virtual void act () override
 
const std::string & name () const
 The name of the action. More...
 
const std::string & type () const
 
InputParametersparameters ()
 
const InputParametersparameters () const
 
const std::string & specificTaskName () const
 
const std::set< std::string > & getAllTasks () const
 
bool isParamValid (const std::string &name) const
 
void appendTask (const std::string &task)
 
void buildOutputHideVariableList (std::set< std::string > variable_names)
 Builds hide lists for output objects NOT listed in the 'outputs' parameter. More...
 
const std::set< OutputName > & getOutputs ()
 Get the list of output objects that this class is restricted. More...
 
std::string getBaseName () const
 Deprecated name methods, use name() More...
 
std::string getShortName () const
 DEPRECATED METHODS. More...
 
template<typename T >
const T & getParam (const std::string &name) const
 Retrieve a parameter for the object. More...
 

Static Public Member Functions

static MooseEnum getNonlinearVariableFamilies ()
 Get the possible variable families. More...
 
static MooseEnum getNonlinearVariableOrders ()
 Get the possible variable orders. More...
 

Public Attributes

const ConsoleStream _console
 An instance of helper class to write streams to the Console objects. More...
 

Protected Member Functions

void addVariable (std::string &var_name)
 Adds a nonlinear variable to the system. More...
 
void createInitialConditionAction ()
 Create the action to generate the InitialCondition object. More...
 
std::set< SubdomainIDgetSubdomainIDs ()
 Get the block ids from the input parameters. More...
 

Protected Attributes

FEType _fe_type
 FEType for the variable being created. More...
 
bool _scalar_var
 True if the variable being created is a scalar. More...
 
InputParameters _pars
 Input parameters for the action. More...
 
std::string _registered_identifier
 
std::string _name
 The name of the action. More...
 
std::string _action_type
 
MooseApp_app
 The MOOSE application this is associated with. More...
 
Factory_factory
 The Factory associated with the MooseApp. More...
 
ActionFactory_action_factory
 Builds Actions. More...
 
std::string _specific_task_name
 This member will only be populated if this Action instance is only designed to handle one task. More...
 
std::set< std::string > _all_tasks
 A list of all the tasks that this Action will satisfy. More...
 
ActionWarehouse_awh
 Reference to ActionWarehouse where we store object build by actions. More...
 
const std::string & _current_task
 The current action (even though we have seperate instances for each action) More...
 
std::shared_ptr< MooseMesh > & _mesh
 
std::shared_ptr< MooseMesh > & _displaced_mesh
 
std::shared_ptr< FEProblemBase > & _problem
 Convenience reference to a problem this action works on. More...
 
std::shared_ptr< Executioner > & _executioner
 Convenience reference to an executioner. More...
 

Static Protected Attributes

static const Real _abs_zero_tol = 1e-12
 Absolute zero tolerance. More...
 

Detailed Description

Adds nonlinear variable.

Definition at line 33 of file AddVariableAction.h.

Constructor & Destructor Documentation

AddVariableAction::AddVariableAction ( InputParameters  params)

Class constructor.

Definition at line 67 of file AddVariableAction.C.

68  : Action(params),
69  OutputInterface(params, false),
70  _fe_type(Utility::string_to_enum<Order>(getParam<MooseEnum>("order")),
71  Utility::string_to_enum<FEFamily>(getParam<MooseEnum>("family"))),
72  _scalar_var(_fe_type.family == SCALAR)
73 {
74 }
bool _scalar_var
True if the variable being created is a scalar.
FEType _fe_type
FEType for the variable being created.
Action(InputParameters parameters)
Definition: Action.C:51
OutputInterface(const InputParameters &parameters, bool build_list=true)
Handles &#39;outputs&#39; parameter for objects that desire control of variable outputs.

Member Function Documentation

void AddVariableAction::act ( )
overridevirtual

Implements Action.

Reimplemented in AddAuxVariableAction.

Definition at line 91 of file AddVariableAction.C.

92 {
93  // Get necessary data for creating a variable
94  std::string var_name = name();
95  addVariable(var_name);
96 
97  // Set the initial condition
98  if (isParamValid("initial_condition"))
100 }
void addVariable(std::string &var_name)
Adds a nonlinear variable to the system.
bool isParamValid(const std::string &name) const
Definition: Action.h:80
const std::string & name() const
The name of the action.
Definition: Action.h:51
void createInitialConditionAction()
Create the action to generate the InitialCondition object.
void AddVariableAction::addVariable ( std::string &  var_name)
protected

Adds a nonlinear variable to the system.

Parameters
var_nameThe name of the variable.

Definition at line 135 of file AddVariableAction.C.

Referenced by act().

136 {
137  std::set<SubdomainID> blocks = getSubdomainIDs();
138  Real scale_factor = isParamValid("scaling") ? getParam<Real>("scaling") : 1;
139 
140  // Scalar variable
141  if (_scalar_var)
142  _problem->addScalarVariable(var_name, _fe_type.order, scale_factor);
143 
144  // Block restricted variable
145  else if (blocks.empty())
146  _problem->addVariable(var_name, _fe_type, scale_factor);
147 
148  // Non-block restricted variable
149  else
150  _problem->addVariable(var_name, _fe_type, scale_factor, &blocks);
151 
152  if (getParam<bool>("eigen"))
153  {
154  MooseEigenSystem & esys(static_cast<MooseEigenSystem &>(_problem->getNonlinearSystemBase()));
155  esys.markEigenVariable(var_name);
156  }
157 }
std::set< SubdomainID > getSubdomainIDs()
Get the block ids from the input parameters.
bool _scalar_var
True if the variable being created is a scalar.
FEType _fe_type
FEType for the variable being created.
bool isParamValid(const std::string &name) const
Definition: Action.h:80
std::shared_ptr< FEProblemBase > & _problem
Convenience reference to a problem this action works on.
Definition: Action.h:131
void Action::appendTask ( const std::string &  task)
inlineinherited

Definition at line 82 of file Action.h.

82 { _all_tasks.insert(task); }
std::set< std::string > _all_tasks
A list of all the tasks that this Action will satisfy.
Definition: Action.h:119
void OutputInterface::buildOutputHideVariableList ( std::set< std::string >  variable_names)
inherited

Builds hide lists for output objects NOT listed in the 'outputs' parameter.

Parameters
variable_namesA set of variables for which the 'outputs' parameter controls

By default this is called by the constructor and passes the block name as the list of variables. This needs to be called explicitly if the build_list flag is set to False in the constructor. The latter cases is needed by the Material object to work correctly with the automatic material output capability.

Definition at line 67 of file OutputInterface.C.

Referenced by CheckOutputAction::checkVariableOutput(), and OutputInterface::OutputInterface().

68 {
69  // Set of available names
70  const std::set<OutputName> & avail = _oi_output_warehouse.getOutputNames();
71 
72  // Check for 'none'; hide variables on all outputs
73  if (_oi_outputs.find("none") != _oi_outputs.end())
74  for (const auto & name : avail)
75  _oi_output_warehouse.addInterfaceHideVariables(name, variable_names);
76 
77  // Check for empty and 'all' in 'outputs' parameter; do not perform any variable restrictions in
78  // these cases
79  else if (_oi_outputs.empty() || _oi_outputs.find("all") != _oi_outputs.end())
80  return;
81 
82  // Limit the variable output to Output objects listed
83  else
84  {
85  // Create a list of outputs where the variable should be hidden
86  std::set<OutputName> hide;
87  std::set_difference(avail.begin(),
88  avail.end(),
89  _oi_outputs.begin(),
90  _oi_outputs.end(),
91  std::inserter(hide, hide.begin()));
92 
93  // If 'outputs' is specified add the object name to the list of items to hide
94  for (const auto & name : hide)
95  _oi_output_warehouse.addInterfaceHideVariables(name, variable_names);
96  }
97 }
OutputWarehouse & _oi_output_warehouse
Reference to the OutputWarehouse for populating the Output object hide lists.
std::set< OutputName > _oi_outputs
The set of Output object names listed in the &#39;outputs&#39; parameter.
const std::set< OutputName > & getOutputNames()
Get a complete set of all output object names.
void addInterfaceHideVariables(const std::string &output_name, const std::set< std::string > &variable_names)
Insert variable names for hiding via the OutoutInterface.
void AddVariableAction::createInitialConditionAction ( )
protected

Create the action to generate the InitialCondition object.

If the user supplies a value for 'initial_condition' in the input file this method will create the proper InitialCondition object.

Definition at line 103 of file AddVariableAction.C.

Referenced by AddAuxVariableAction::act(), and act().

104 {
105  // Variable name
106  std::string var_name = name();
107 
108  // Create the object name
109  std::string long_name("");
110  long_name += var_name;
111  long_name += "_moose";
112 
113  // Set the parameters for the action
114  InputParameters action_params = _action_factory.getValidParams("AddOutputAction");
115  action_params.set<ActionWarehouse *>("awh") = &_awh;
116 
117  if (_scalar_var)
118  action_params.set<std::string>("type") = "ScalarConstantIC";
119  else
120  action_params.set<std::string>("type") = "ConstantIC";
121 
122  // Create the action
123  std::shared_ptr<MooseObjectAction> action = std::static_pointer_cast<MooseObjectAction>(
124  _action_factory.create("AddInitialConditionAction", long_name, action_params));
125 
126  // Set the required parameters for the object to be created
127  action->getObjectParams().set<VariableName>("variable") = var_name;
128  action->getObjectParams().set<Real>("value") = getParam<Real>("initial_condition");
129 
130  // Store the action in the ActionWarehouse
131  _awh.addActionBlock(action);
132 }
bool _scalar_var
True if the variable being created is a scalar.
ActionWarehouse & _awh
Reference to ActionWarehouse where we store object build by actions.
Definition: Action.h:122
ActionFactory & _action_factory
Builds Actions.
Definition: Action.h:104
InputParameters getValidParams(const std::string &name)
Definition: ActionFactory.C:74
T & set(const std::string &name, bool quiet_mode=false)
Returns a writable reference to the named parameters.
Storage for action instances.
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
void addActionBlock(std::shared_ptr< Action > blk)
This method add an Action instance to the warehouse.
InputParameters & getObjectParams()
Retreive the parameters of the object to be created by this action.
const std::string & name() const
The name of the action.
Definition: Action.h:51
std::shared_ptr< Action > create(const std::string &action, const std::string &action_name, InputParameters parameters)
Definition: ActionFactory.C:26
const std::set<std::string>& Action::getAllTasks ( ) const
inlineinherited

Definition at line 68 of file Action.h.

Referenced by AddKernelAction::act().

68 { return _all_tasks; }
std::set< std::string > _all_tasks
A list of all the tasks that this Action will satisfy.
Definition: Action.h:119
std::string Action::getBaseName ( ) const
inherited

Deprecated name methods, use name()

Definition at line 82 of file Action.C.

Referenced by Action::name().

83 {
84  mooseDeprecated("getBaseName() is deprecated.");
86 }
void mooseDeprecated(Args &&...args)
Emit a deprecated code/feature message with the given stringified, concatenated args.
Definition: MooseError.h:202
std::string _name
The name of the action.
Definition: Action.h:92
std::string baseName(const std::string &name)
Function for string the information before the final / in a parser block.
Definition: MooseUtils.C:331
MooseEnum AddVariableAction::getNonlinearVariableFamilies ( )
static

Get the possible variable families.

Returns
MooseEnum with the possible variable families (e.g., LAGRANGE)

Definition at line 77 of file AddVariableAction.C.

Referenced by validParams< AddVariableAction >().

78 {
79  return MooseEnum("LAGRANGE MONOMIAL HERMITE SCALAR HIERARCHIC CLOUGH XYZ SZABAB BERNSTEIN "
80  "L2_LAGRANGE L2_HIERARCHIC",
81  "LAGRANGE");
82 }
This is a "smart" enum class intended to replace many of the shortcomings in the C++ enum type It sho...
Definition: MooseEnum.h:37
MooseEnum AddVariableAction::getNonlinearVariableOrders ( )
static

Get the possible variable orders.

Returns
MooseEnum with the possible variable orders (e.g., SECOND)

Definition at line 85 of file AddVariableAction.C.

Referenced by validParams< AddVariableAction >().

86 {
87  return MooseEnum("CONSTANT FIRST SECOND THIRD FOURTH", "FIRST", true);
88 }
This is a "smart" enum class intended to replace many of the shortcomings in the C++ enum type It sho...
Definition: MooseEnum.h:37
const std::set< OutputName > & OutputInterface::getOutputs ( )
inherited

Get the list of output objects that this class is restricted.

Returns
A set of OutputNames

Definition at line 100 of file OutputInterface.C.

101 {
102  return _oi_outputs;
103 }
std::set< OutputName > _oi_outputs
The set of Output object names listed in the &#39;outputs&#39; parameter.
template<typename T >
const T & Action::getParam ( const std::string &  name) const
inherited

Retrieve a parameter for the object.

Parameters
nameThe name of the parameter
Returns
The value of the parameter

Definition at line 139 of file Action.h.

Referenced by CreateDisplacedProblemAction::act(), AddPeriodicBCAction::act(), AddPeriodicBCAction::autoTranslationBoundaries(), DynamicObjectRegistrationAction::DynamicObjectRegistrationAction(), Action::getAllTasks(), and MooseApp::getCheckpointFiles().

140 {
141  return InputParameters::getParamHelper(name, _pars, static_cast<T *>(0));
142 }
static const T & getParamHelper(const std::string &name, const InputParameters &pars, const T *the_type)
InputParameters _pars
Input parameters for the action.
Definition: Action.h:86
const std::string & name() const
The name of the action.
Definition: Action.h:51
std::string Action::getShortName ( ) const
inherited

DEPRECATED METHODS.

Definition at line 75 of file Action.C.

Referenced by Action::name().

76 {
77  mooseDeprecated("getShortName() is deprecated.");
79 }
void mooseDeprecated(Args &&...args)
Emit a deprecated code/feature message with the given stringified, concatenated args.
Definition: MooseError.h:202
std::string shortName(const std::string &name)
Function for stripping name after the file / in parser block.
Definition: MooseUtils.C:325
std::string _name
The name of the action.
Definition: Action.h:92
std::set< SubdomainID > AddVariableAction::getSubdomainIDs ( )
protected

Get the block ids from the input parameters.

Returns
A set of block ids defined in the input

Definition at line 160 of file AddVariableAction.C.

Referenced by AddAuxVariableAction::act(), and addVariable().

161 {
162  // Extract and return the block ids supplied in the input
163  std::set<SubdomainID> blocks;
164  std::vector<SubdomainName> block_param = getParam<std::vector<SubdomainName>>("block");
165  for (const auto & subdomain_name : block_param)
166  {
167  SubdomainID blk_id = _problem->mesh().getSubdomainID(subdomain_name);
168  blocks.insert(blk_id);
169  }
170  return blocks;
171 }
subdomain_id_type SubdomainID
Definition: MooseTypes.h:77
std::shared_ptr< FEProblemBase > & _problem
Convenience reference to a problem this action works on.
Definition: Action.h:131
bool Action::isParamValid ( const std::string &  name) const
inlineinherited

Definition at line 80 of file Action.h.

Referenced by CopyNodalVarsAction::act(), SetAdaptivityOptionsAction::act(), CreateProblemAction::act(), SetupMeshAction::act(), CreateDisplacedProblemAction::act(), AddAuxVariableAction::act(), act(), addVariable(), AddPeriodicBCAction::autoTranslationBoundaries(), DynamicObjectRegistrationAction::DynamicObjectRegistrationAction(), and SetupMeshAction::setupMesh().

80 { return _pars.isParamValid(name); }
bool isParamValid(const std::string &name) const
This method returns parameters that have been initialized in one fashion or another, i.e.
InputParameters _pars
Input parameters for the action.
Definition: Action.h:86
const std::string & name() const
The name of the action.
Definition: Action.h:51
const std::string& Action::name ( ) const
inlineinherited
InputParameters& Action::parameters ( )
inlineinherited

Definition at line 63 of file Action.h.

Referenced by GlobalParamsAction::remove(), GlobalParamsAction::setDoubleIndexParam(), GlobalParamsAction::setScalarParam(), and GlobalParamsAction::setVectorParam().

63 { return _pars; }
InputParameters _pars
Input parameters for the action.
Definition: Action.h:86
const InputParameters& Action::parameters ( ) const
inlineinherited

Definition at line 64 of file Action.h.

64 { return _pars; }
InputParameters _pars
Input parameters for the action.
Definition: Action.h:86
const std::string& Action::specificTaskName ( ) const
inlineinherited

Definition at line 66 of file Action.h.

66 { return _specific_task_name; }
std::string _specific_task_name
This member will only be populated if this Action instance is only designed to handle one task...
Definition: Action.h:112
const std::string& Action::type ( ) const
inlineinherited

Definition at line 61 of file Action.h.

Referenced by CommonOutputAction::hasConsole().

61 { return _action_type; }
std::string _action_type
Definition: Action.h:95

Member Data Documentation

const Real AddVariableAction::_abs_zero_tol = 1e-12
staticprotected

Absolute zero tolerance.

Definition at line 84 of file AddVariableAction.h.

ActionFactory& Action::_action_factory
protectedinherited
std::string Action::_action_type
protectedinherited

Definition at line 95 of file Action.h.

Referenced by Action::type().

std::set<std::string> Action::_all_tasks
protectedinherited

A list of all the tasks that this Action will satisfy.

Note: That this is not populated at construction time. However, all tasks will be added prior to act().

Definition at line 119 of file Action.h.

Referenced by Action::appendTask(), and Action::getAllTasks().

MooseApp& Action::_app
protectedinherited
ActionWarehouse& Action::_awh
protectedinherited
const ConsoleStream ConsoleStreamInterface::_console
inherited

An instance of helper class to write streams to the Console objects.

Definition at line 37 of file ConsoleStreamInterface.h.

Referenced by IterationAdaptiveDT::acceptStep(), CreateProblemAction::act(), SetupRecoverFileBaseAction::act(), Adaptivity::adaptMesh(), FEProblemBase::adaptMesh(), FEProblemBase::advanceMultiApps(), SimplePredictor::apply(), FEProblemBase::backupMultiApps(), FEProblemBase::checkProblemIntegrity(), IterationAdaptiveDT::computeAdaptiveDT(), Transient::computeConstrainedDT(), NonlinearSystemBase::computeDamping(), IterationAdaptiveDT::computeDT(), IterationAdaptiveDT::computeFailedDT(), IterationAdaptiveDT::computeInterpolationDT(), FEProblemBase::computeResidualType(), IterationAdaptiveDT::constrainStep(), TimeStepper::constrainStep(), AB2PredictorCorrector::converged(), FEProblemBase::execMultiApps(), FEProblemBase::execMultiAppTransfers(), MultiAppPostprocessorTransfer::execute(), MultiAppPostprocessorInterpolationTransfer::execute(), MultiAppVariableValueSamplePostprocessorTransfer::execute(), MultiAppNearestNodeTransfer::execute(), MultiAppPostprocessorToAuxScalarTransfer::execute(), MultiAppScalarToAuxScalarTransfer::execute(), MultiAppVariableValueSampleTransfer::execute(), MultiAppUserObjectTransfer::execute(), MultiAppInterpolationTransfer::execute(), MultiAppMeshFunctionTransfer::execute(), MultiAppProjectionTransfer::execute(), MultiAppCopyTransfer::execute(), Steady::execute(), MultiAppDTKUserObjectTransfer::execute(), ActionWarehouse::executeActionsWithAction(), ActionWarehouse::executeAllActions(), MultiApp::globalAppToLocal(), InversePowerMethod::init(), NonlinearEigen::init(), Steady::init(), FEProblemBase::initialAdaptMesh(), FEProblemBase::initialSetup(), EigenExecutionerBase::inversePowerIteration(), Transient::keepGoing(), IterationAdaptiveDT::limitDTByFunction(), IterationAdaptiveDT::limitDTToPostprocessorValue(), EigenExecutionerBase::makeBXConsistent(), Console::meshChanged(), MooseObject::mooseDeprecated(), MooseObject::mooseInfo(), MooseObject::mooseWarning(), DOFMapOutput::output(), VariableResidualNormsDebugOutput::output(), Console::output(), ControlOutput::outputActiveObjects(), ControlOutput::outputChangedControls(), ControlOutput::outputControls(), Console::outputInput(), Console::outputPostprocessors(), Console::outputScalarVariables(), Console::outputSystemInformation(), FEProblemBase::possiblyRebuildGeomSearchPatches(), EigenExecutionerBase::postExecute(), ActionWarehouse::printActionDependencySets(), EigenExecutionerBase::printEigenvalue(), MaterialPropertyDebugOutput::printMaterialMap(), SolutionTimeAdaptiveDT::rejectStep(), DT2::rejectStep(), FEProblemBase::restoreMultiApps(), SimplePredictor::shouldApply(), NonlinearSystem::solve(), LStableDirk2::solve(), LStableDirk3::solve(), ImplicitMidpoint::solve(), ExplicitTVDRK2::solve(), AStableDirk4::solve(), LStableDirk4::solve(), ExplicitRK2::solve(), TransientMultiApp::solveStep(), Transient::solveStep(), DT2::step(), AB2PredictorCorrector::step(), NonlinearEigen::takeStep(), FEProblemBase::useFECache(), Console::writeTimestepInformation(), Console::writeVariableNorms(), and FEProblemBase::~FEProblemBase().

const std::string& Action::_current_task
protectedinherited

The current action (even though we have seperate instances for each action)

Definition at line 125 of file Action.h.

Referenced by AddKernelAction::act(), CopyNodalVarsAction::act(), AddScalarKernelAction::act(), SetupMeshAction::act(), SetupMeshCompleteAction::act(), MaterialDerivativeTestAction::act(), and AddNodalNormalsAction::act().

std::shared_ptr<MooseMesh>& Action::_displaced_mesh
protectedinherited
std::shared_ptr<Executioner>& Action::_executioner
protectedinherited

Convenience reference to an executioner.

Definition at line 134 of file Action.h.

Referenced by SetupPredictorAction::act(), and SetupTimeStepperAction::act().

Factory& Action::_factory
protectedinherited
FEType AddVariableAction::_fe_type
protected

FEType for the variable being created.

Definition at line 78 of file AddVariableAction.h.

Referenced by AddAuxVariableAction::act(), and addVariable().

std::shared_ptr<MooseMesh>& Action::_mesh
protectedinherited
std::string Action::_name
protectedinherited
InputParameters Action::_pars
protectedinherited
std::shared_ptr<FEProblemBase>& Action::_problem
protectedinherited

Convenience reference to a problem this action works on.

Definition at line 131 of file Action.h.

Referenced by AddBCAction::act(), AddBoundsVectorsAction::act(), AddMultiAppAction::act(), AddInterfaceKernelAction::act(), CheckIntegrityAction::act(), AddInitialConditionAction::act(), InitProblemAction::act(), CreateExecutionerAction::act(), SetupDampersAction::act(), CopyNodalVarsAction::act(), AddIndicatorAction::act(), AddVectorPostprocessorAction::act(), AddScalarKernelAction::act(), AddICAction::act(), AddNodalKernelAction::act(), SetAdaptivityOptionsAction::act(), AddDiracKernelAction::act(), AddDGKernelAction::act(), AddPostprocessorAction::act(), AddKernelAction::act(), AddConstraintAction::act(), AddTransferAction::act(), AddUserObjectAction::act(), AddElementalFieldAction::act(), AddDamperAction::act(), AddMaterialAction::act(), AddMarkerAction::act(), AddFieldSplitAction::act(), CreateProblemAction::act(), AdaptivityAction::act(), SetupPredictorAction::act(), AddFunctionAction::act(), SetupTimeIntegratorAction::act(), SetupTimeStepperAction::act(), CreateDisplacedProblemAction::act(), AddDistributionAction::act(), SetupPreconditionerAction::act(), SetupResidualDebugAction::act(), MaterialDerivativeTestAction::act(), SetupQuadratureAction::act(), AddSamplerAction::act(), AddAuxVariableAction::act(), AddOutputAction::act(), AddPeriodicBCAction::act(), AddControlAction::act(), MaterialOutputAction::act(), SetupPostprocessorDataAction::act(), AddNodalNormalsAction::act(), addVariable(), AddPeriodicBCAction::autoTranslationBoundaries(), CheckOutputAction::checkMaterialOutput(), getSubdomainIDs(), and AddPeriodicBCAction::setPeriodicVars().

std::string Action::_registered_identifier
protectedinherited

Definition at line 89 of file Action.h.

bool AddVariableAction::_scalar_var
protected

True if the variable being created is a scalar.

Definition at line 81 of file AddVariableAction.h.

Referenced by AddAuxVariableAction::act(), addVariable(), and createInitialConditionAction().

std::string Action::_specific_task_name
protectedinherited

This member will only be populated if this Action instance is only designed to handle one task.

This happens when an Action is registered with several pieces of syntax in which case separate instances are built to handle the different incoming parameter values.

Definition at line 112 of file Action.h.

Referenced by Action::specificTaskName().


The documentation for this class was generated from the following files: