www.mooseframework.org
Tricrystal2CircleGrainsIC.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 TRICRYSTAL2CIRCLEGRAINSIC_H
8 #define TRICRYSTAL2CIRCLEGRAINSIC_H
9 
10 #include "InitialCondition.h"
11 
12 // Forward Declarations
14 
15 template <>
17 
21 class Tricrystal2CircleGrainsIC : public InitialCondition
22 {
23 public:
24  Tricrystal2CircleGrainsIC(const InputParameters & parameters);
25 
26  virtual Real value(const Point & p);
27 
28 protected:
29  const MooseMesh & _mesh;
30 
31  const unsigned int _op_num;
32  const unsigned int _op_index;
33 
34  Point _bottom_left;
35  Point _top_right;
36  Point _range;
37 };
38 
39 #endif // TRICRYSTAL2CIRCLEGRAINSIC_H
Tricrystal2CircleGrainsIC creates a 3 grain structure with 2 circle grains and one matrix grain...
virtual Real value(const Point &p)
InputParameters validParams< Tricrystal2CircleGrainsIC >()
Tricrystal2CircleGrainsIC(const InputParameters &parameters)