www.mooseframework.org
ACSEDGPoly.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 "ACBulk.h"
13 
24 // Forward Declarations
25 class ACSEDGPoly;
27 
28 template <>
29 InputParameters validParams<ACSEDGPoly>();
30 
31 class ACSEDGPoly : public ACBulk<Real>
32 {
33 public:
34  ACSEDGPoly(const InputParameters & parameters);
35 
36 protected:
37  virtual Real computeDFDOP(PFFunctionType type);
38 
39  const unsigned int _op_num;
40 
41  std::vector<const VariableValue *> _vals;
42  std::vector<unsigned int> _vals_var;
43 
45  const MaterialProperty<Real> & _beta;
46 
48  const MaterialProperty<Real> & _rho_eff;
49 
51  const MaterialProperty<Real> & _Disloc_Den_i;
52 
54  unsigned int _deformed_grain_num;
55 
58 
60  unsigned int _op_index;
61 };
62 
ACSEDGPoly::ACSEDGPoly
ACSEDGPoly(const InputParameters &parameters)
Definition: ACSEDGPoly.C:31
ACSEDGPoly::_op_index
unsigned int _op_index
index of the OP the kernel is currently acting on
Definition: ACSEDGPoly.h:60
GrainTrackerInterface
This class defines the interface for the GrainTracking objects.
Definition: GrainTrackerInterface.h:24
ACSEDGPoly::computeDFDOP
virtual Real computeDFDOP(PFFunctionType type)
Definition: ACSEDGPoly.C:52
ACBulk
This is the Allen-Cahn equation base class that implements the bulk or local energy term of the equat...
Definition: ACBulk.h:24
ACBulk.h
ACSEDGPoly::_Disloc_Den_i
const MaterialProperty< Real > & _Disloc_Den_i
dislocation density in grain i
Definition: ACSEDGPoly.h:51
ACSEDGPoly::_rho_eff
const MaterialProperty< Real > & _rho_eff
the average/effective dislocation density
Definition: ACSEDGPoly.h:48
ACSEDGPoly::_beta
const MaterialProperty< Real > & _beta
the prefactor needed to calculate the deformation energy from dislocation density
Definition: ACSEDGPoly.h:45
ACSEDGPoly::_grain_tracker
const GrainTrackerInterface & _grain_tracker
Grain tracker object.
Definition: ACSEDGPoly.h:57
validParams< ACSEDGPoly >
InputParameters validParams< ACSEDGPoly >()
Definition: ACSEDGPoly.C:18
ACSEDGPoly::_op_num
const unsigned int _op_num
Definition: ACSEDGPoly.h:39
ACSEDGPoly::_deformed_grain_num
unsigned int _deformed_grain_num
number of deformed grains
Definition: ACSEDGPoly.h:54
ACSEDGPoly::_vals
std::vector< const VariableValue * > _vals
Definition: ACSEDGPoly.h:41
ACSEDGPoly::_vals_var
std::vector< unsigned int > _vals_var
Definition: ACSEDGPoly.h:42
ACSEDGPoly
Definition: ACSEDGPoly.h:31
ACBulk< Real >::PFFunctionType
PFFunctionType
Definition: ACBulk.h:37