www.mooseframework.org
MaterialVectorAuxKernelAction.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 MATERIALVECTORAUXKERNELACTION_H
8 #define MATERIALVECTORAUXKERNELACTION_H
9 
10 #include "Action.h"
11 
12 class MaterialVectorAuxKernelAction : public Action
13 {
14 public:
15  MaterialVectorAuxKernelAction(const InputParameters & params);
16 
17  virtual void act();
18 
19 protected:
21  const unsigned int _grain_num;
22 
24  const std::vector<std::string> & _var_name_base;
25 
27  const unsigned int _num_var;
28 
30  const std::vector<MaterialPropertyName> & _prop;
31 
33  const unsigned int _num_prop;
34 };
35 
36 template <>
38 
39 #endif // MATERIALVECTORAUXKERNELACTION_H
const unsigned int _grain_num
number of grains to create
MaterialVectorAuxKernelAction(const InputParameters &params)
const std::vector< MaterialPropertyName > & _prop
list of material properties to be used
const unsigned int _num_prop
number of properties
InputParameters validParams< MaterialVectorAuxKernelAction >()
const unsigned int _num_var
number of auxvariables
const std::vector< std::string > & _var_name_base
base name for the auxvariables