www.mooseframework.org
ReconPhaseVarIC.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 RECONPHASEVARIC_H
8 #define RECONPHASEVARIC_H
9 
10 #include "InitialCondition.h"
11 #include "EBSDReader.h"
12 #include "PolycrystalICTools.h"
13 
14 // Forward Declarations
15 class ReconPhaseVarIC;
16 
17 template <>
18 InputParameters validParams<ReconPhaseVarIC>();
19 
26 class ReconPhaseVarIC : public InitialCondition
27 {
28 public:
29  ReconPhaseVarIC(const InputParameters & parameters);
30 
31  virtual Real value(const Point & /*p*/);
32 
33 private:
34  MooseMesh & _mesh;
35 
37 
38  unsigned int _phase;
39 
40  const std::map<dof_id_type, std::vector<Real>> & _node_to_phase_weight_map;
41 };
42 
43 #endif // RECONPHASEVARIC_H
InputParameters validParams< ReconPhaseVarIC >()
virtual Real value(const Point &)
ReconPhaseVarIC initializes a single order parameter to represent a phase obtained form an EBSDReader...
ReconPhaseVarIC(const InputParameters &parameters)
const std::map< dof_id_type, std::vector< Real > > & _node_to_phase_weight_map
A GeneralUserObject that reads an EBSD file and stores the centroid data in a data structure which in...
Definition: EBSDReader.h:34
const EBSDReader & _ebsd_reader
unsigned int _phase
MooseMesh & _mesh