www.mooseframework.org
PolycrystalHex.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 POLYCRYSTALHEX_H
8 #define POLYCRYSTALHEX_H
9 
10 #include "PolycrystalVoronoi.h"
11 #include "MooseRandom.h"
12 
13 // Forward Declarations
14 class PolycrystalHex;
15 
16 template <>
17 InputParameters validParams<PolycrystalHex>();
18 
24 {
25 public:
26  PolycrystalHex(const InputParameters & parameters);
27 
28  virtual void precomputeGrainStructure();
29 
30 private:
31  const Real _x_offset;
33  MooseRandom _random;
34 };
35 
36 #endif // POLYCRYSTALHEX_H
MooseRandom _random
InputParameters validParams< PolycrystalHex >()
const Real _perturbation_percent
virtual void precomputeGrainStructure()
This callback is triggered after the object is initialized and may be optionally overridden to do pre...
PolycrystalHex(const InputParameters &parameters)
PolycrystalHex creates a hexagonal polycrystal initial condition.
const Real _x_offset