www.mooseframework.org
Classes | Functions
GlobalParamsAction.h File Reference

Go to the source code of this file.

Classes

class  GlobalParamsAction
 

Functions

template<>
InputParameters validParams< GlobalParamsAction > ()
 

Function Documentation

Definition at line 19 of file GlobalParamsAction.C.

20 {
22  std::vector<std::string> blocks(1, "");
23 
24  /* GlobalParams should not have children or other standard public Action attributes */
25  params.addPrivateParam<std::vector<std::string>>("active", blocks);
26  params.addPrivateParam<std::vector<std::string>>("inactive", blocks);
27  return params;
28 }
void addPrivateParam(const std::string &name, const T &value)
These method add a parameter to the InputParameters object which can be retrieved like any other para...
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
InputParameters validParams< Action >()
Definition: Action.C:23