www.mooseframework.org
PolycrystalColoringIC.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 POLYCRYSTALCOLORINGIC_H
8 #define POLYCRYSTALCOLORINGIC_H
9 
10 #include "InitialCondition.h"
11 #include "PolycrystalICTools.h"
12 
13 // Forward Declarations
17 
18 template <>
19 InputParameters validParams<PolycrystalColoringIC>();
20 
28 class PolycrystalColoringIC : public InitialCondition
29 {
30 public:
31  PolycrystalColoringIC(const InputParameters & parameters);
32 
33  virtual Real value(const Point & p) override;
34 
35 protected:
36  unsigned int _op_index;
37  unsigned int _phase;
39 };
40 
41 #endif // POLYCRYSTALCOLORINGIC_H
This class defines the interface for the GrainTracking objects.
This object provides the base capability for creating proper polycrystal ICs.
PolycrystalColoringIC creates a polycrystal initial condition.
PolycrystalColoringIC(const InputParameters &parameters)
virtual Real value(const Point &p) override
const PolycrystalUserObjectBase & _poly_ic_uo
InputParameters validParams< PolycrystalColoringIC >()