www.mooseframework.org
Functions
Action.C File Reference

Go to the source code of this file.

Functions

template<>
InputParameters validParams< Action > ()
 

Function Documentation

template<>
InputParameters validParams< Action > ( )

Add the "active" and "inactive" parameters so that all blocks in the input file can selectively create white or black lists of active/inactive sub-blocks.

Definition at line 23 of file Action.C.

Referenced by JsonSyntaxTree::addGlobal(), validParams< AdaptivityAction >(), validParams< AddAuxVariableAction >(), validParams< AddBoundsVectorsAction >(), validParams< AddElementalFieldAction >(), validParams< AddMortarInterfaceAction >(), validParams< AddNodalNormalsAction >(), validParams< AddPeriodicBCAction >(), validParams< AddVariableAction >(), validParams< CheckIntegrityAction >(), validParams< CheckOutputAction >(), validParams< CommonOutputAction >(), validParams< CopyNodalVarsAction >(), validParams< CreateDisplacedProblemAction >(), validParams< DeprecatedBlockAction >(), validParams< DynamicObjectRegistrationAction >(), validParams< EmptyAction >(), validParams< GlobalParamsAction >(), validParams< InitProblemAction >(), validParams< MaterialDerivativeTestAction >(), validParams< MaterialOutputAction >(), validParams< MooseObjectAction >(), validParams< SetAdaptivityOptionsAction >(), validParams< SetupDampersAction >(), validParams< SetupDebugAction >(), validParams< SetupMeshCompleteAction >(), validParams< SetupPostprocessorDataAction >(), validParams< SetupQuadratureAction >(), validParams< SetupRecoverFileBaseAction >(), validParams< SetupResidualDebugAction >(), and Parser::walkRaw().

24 {
25  InputParameters params;
26 
31  params.addParam<std::vector<std::string>>(
32  "active",
33  std::vector<std::string>({"__all__"}),
34  "If specified only the blocks named will be visited and made active");
35  params.addParam<std::vector<std::string>>(
36  "inactive",
37  std::vector<std::string>(),
38  "If specified blocks matching these identifiers will be skipped.");
39 
40  params.addPrivateParam<std::string>("_moose_docs_type",
41  "action"); // the type of syntax for documentation system
42  params.addPrivateParam<std::string>("_action_name"); // the name passed to ActionFactory::create
43  params.addPrivateParam<std::string>("task");
44  params.addPrivateParam<std::string>("registered_identifier");
45  params.addPrivateParam<std::string>("action_type");
46  params.addPrivateParam<ActionWarehouse *>("awh", NULL);
47 
48  return params;
49 }
Storage for action instances.
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
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...