www.mooseframework.org
ADGrainGrowth.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 "ADGrainGrowthBase.h"
13 
14 #define usingGrainGrowthMembers \
15  usingGrainGrowthBaseMembers; \
16  using ADACInterface<compute_stage>::_gamma
17 
18 // Forward Declarations
19 template <ComputeStage compute_stage>
21 
23 
30 template <ComputeStage compute_stage>
31 class ADGrainGrowth : public ADGrainGrowthBase<compute_stage>
32 {
33 public:
34  ADGrainGrowth(const InputParameters & parameters);
35 
36 protected:
37  virtual ADReal computeDFDOP();
38 
39  const ADMaterialProperty(Real) & _gamma;
40 
42 };
ADGrainGrowth::usingGrainGrowthBaseMembers
usingGrainGrowthBaseMembers
Definition: ADGrainGrowth.h:41
ADGrainGrowth
This kernel calculates the residual for grain growth for a single phase, poly-crystal system.
Definition: ADGrainGrowth.h:20
ADGrainGrowth::computeDFDOP
virtual ADReal computeDFDOP()
Compute the derivative of the bulk free energy w.r.t the order parameter.
Definition: ADGrainGrowth.C:27
ADGrainGrowthBase
This is the base class for kernels that calculate the residual for grain growth.
Definition: ADGrainGrowthBase.h:22
ADGrainGrowth::ADMaterialProperty
const ADMaterialProperty(Real) &_gamma
ADGrainGrowth::ADGrainGrowth
ADGrainGrowth(const InputParameters &parameters)
Definition: ADGrainGrowth.C:20
declareADValidParams
declareADValidParams(ADGrainGrowth)
ADGrainGrowthBase.h