www.mooseframework.org
ACGBPoly.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 #include "ACBulk.h"
12 
13 
14 // Forward Declarations
15 class ACGBPoly;
16 
17 template <>
18 InputParameters validParams<ACGBPoly>();
19 
20 class ACGBPoly : public ACBulk<Real>
21 {
22 public:
23  ACGBPoly(const InputParameters & parameters);
24 
25 protected:
26  virtual Real computeDFDOP(PFFunctionType type);
27  virtual Real computeQpOffDiagJacobian(unsigned int jvar);
28 
29  const VariableValue & _c;
30  unsigned int _c_var;
31 
32  const MaterialProperty<Real> & _mu;
33  const MaterialProperty<Real> & _gamma;
34 
35  Real _en_ratio;
36 };
37 
ACGBPoly::ACGBPoly
ACGBPoly(const InputParameters &parameters)
Definition: ACGBPoly.C:26
ACGBPoly::computeDFDOP
virtual Real computeDFDOP(PFFunctionType type)
Definition: ACGBPoly.C:37
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
ACGBPoly::_c_var
unsigned int _c_var
Definition: ACGBPoly.h:30
validParams< ACGBPoly >
InputParameters validParams< ACGBPoly >()
Definition: ACGBPoly.C:17
ACGBPoly::_c
const VariableValue & _c
Definition: ACGBPoly.h:29
ACGBPoly
Definition: ACGBPoly.h:20
ACGBPoly::_gamma
const MaterialProperty< Real > & _gamma
Definition: ACGBPoly.h:33
ACGBPoly::_en_ratio
Real _en_ratio
Definition: ACGBPoly.h:35
ACGBPoly::_mu
const MaterialProperty< Real > & _mu
Definition: ACGBPoly.h:32
ACGBPoly::computeQpOffDiagJacobian
virtual Real computeQpOffDiagJacobian(unsigned int jvar)
Definition: ACGBPoly.C:60
ACBulk< Real >::PFFunctionType
PFFunctionType
Definition: ACBulk.h:37