www.mooseframework.org
PolycrystalRandomIC.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 POLYCRYSTALRANDOMIC_H
8 #define POLYCRYSTALRANDOMIC_H
9 
10 #include "InitialCondition.h"
11 
12 // Forward Declarations
14 
15 template <>
16 InputParameters validParams<PolycrystalRandomIC>();
17 
21 class PolycrystalRandomIC : public InitialCondition
22 {
23 public:
24  PolycrystalRandomIC(const InputParameters & parameters);
25 
26  virtual Real value(const Point & p);
27 
28 private:
29  const unsigned int _op_num;
30  const unsigned int _op_index;
31  const unsigned int _typ;
32 };
33 
34 #endif // POLYCRYSTALRANDOMIC_H
const unsigned int _op_num
InputParameters validParams< PolycrystalRandomIC >()
Random initial condition for a polycrystalline material.
PolycrystalRandomIC(const InputParameters &parameters)
const unsigned int _op_index
const unsigned int _typ
virtual Real value(const Point &p)