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