www.mooseframework.org
PolycrystalVariablesAction.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 POLYCRYSTALVARIABLESACTION_H
8 #define POLYCRYSTALVARIABLESACTION_H
9 
10 #include "InputParameters.h"
11 #include "Action.h"
12 
13 // Forward declaration
15 
19 class PolycrystalVariablesAction : public Action
20 {
21 public:
22  PolycrystalVariablesAction(const InputParameters & params);
23 
24  virtual void act();
25 
26 private:
27  const unsigned int _op_num;
28  const std::string _var_name_base;
29 };
30 
31 template <>
33 
34 #endif // POLYCRYSTALVARIABLESACTION_H
Automatically generates all variables to model a polycrystal with op_num orderparameters.
InputParameters validParams< PolycrystalVariablesAction >()
PolycrystalVariablesAction(const InputParameters &params)