www.mooseframework.org
PFCFreezingIC.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 PFCFREEZINGIC_H
8 #define PFCFREEZINGIC_H
9 
10 #include "InitialCondition.h"
11 
12 // Forward Declarations
13 class PFCFreezingIC;
14 
15 template <>
16 InputParameters validParams<PFCFreezingIC>();
17 
25 class PFCFreezingIC : public InitialCondition
26 {
27 public:
28  PFCFreezingIC(const InputParameters & parameters);
29 
30  virtual Real value(const Point & p);
31 
32 private:
33  Real _x1;
34  Real _y1;
35  Real _z1;
36 
37  Real _x2;
38  Real _y2;
39  Real _z2;
40 
41  Real _lc;
42  MooseEnum _crystal_structure;
43 
44  Point _bottom_left;
45  Point _top_right;
46  Point _range;
47 
50 
51  unsigned int _icdim;
52 };
53 
54 #endif // PFCFREEZINGIC_H
Point _bottom_left
Definition: PFCFreezingIC.h:44
InputParameters validParams< PFCFreezingIC >()
Definition: PFCFreezingIC.C:13
MooseEnum _crystal_structure
Definition: PFCFreezingIC.h:42
PFCFreezingIC creates an intial density for a PFC model that has one area of a set crystal structure ...
Definition: PFCFreezingIC.h:25
virtual Real value(const Point &p)
Definition: PFCFreezingIC.C:77
PFCFreezingIC(const InputParameters &parameters)
Definition: PFCFreezingIC.C:42
unsigned int _icdim
Definition: PFCFreezingIC.h:51