www.mooseframework.org
ReconPhaseVarIC.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
3 //*
4 //* All rights reserved, see COPYRIGHT for full restrictions
5 //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6 //*
7 //* Licensed under LGPL 2.1, please see LICENSE for details
8 //* https://www.gnu.org/licenses/lgpl-2.1.html
9 
10 #pragma once
11 
12 #include "InitialCondition.h"
13 #include "EBSDReader.h"
14 #include "PolycrystalICTools.h"
15 
23 {
24 public:
26 
28 
29  virtual Real value(const Point & /*p*/);
30 
31 private:
34  unsigned int _phase;
35  const std::map<dof_id_type, std::vector<Real>> & _node_to_phase_weight_map;
36 };
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:31
const EBSDReader & _ebsd_reader
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const InputParameters & parameters() const
unsigned int _phase
MooseMesh & _mesh
static InputParameters validParams()