www.mooseframework.org
MultiAuxVariablesAction.h
Go to the documentation of this file.
1 /****************************************************************/
2 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
3 /* */
4 /* All contents are licensed under LGPL V2.1 */
5 /* See LICENSE for full restrictions */
6 /****************************************************************/
7 #ifndef MULTIAUXVARIABLESACTION_H
8 #define MULTIAUXVARIABLESACTION_H
9 
10 #include "AddAuxVariableAction.h"
11 
16 class MultiAuxVariablesAction : public AddAuxVariableAction
17 {
18 public:
19  MultiAuxVariablesAction(InputParameters params);
20 
21  virtual void act();
22 
23 protected:
25  const unsigned int _grain_num;
26 
28  const std::vector<std::string> & _var_name_base;
29 
31  const unsigned int _num_var;
32 
34  const MultiMooseEnum & _data_type;
35 
37  const unsigned int _data_size;
38 };
39 
40 template <>
41 InputParameters validParams<MultiAuxVariablesAction>();
42 
43 #endif // MULTIAUXVARIABLESACTION_H
const MultiMooseEnum & _data_type
list of material properties to be used
const std::vector< std::string > & _var_name_base
base name for the auxvariables
const unsigned int _num_var
number of auxvariables
InputParameters validParams< MultiAuxVariablesAction >()
MultiAuxVariablesAction(InputParameters params)
const unsigned int _grain_num
number of grains to create
Automatically generates all auxvariables given vectors telling it the names and how many to create...
const unsigned int _data_size
number of properties