www.mooseframework.org
phase_field
include
kernels
ADGrainGrowthBase.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 "
ADAllenCahnBase.h
"
13
14
#define usingGrainGrowthBaseMembers \
15
usingAllenCahnBaseMembers(Real); \
16
using ADGrainGrowthBase<compute_stage>::_op_num; \
17
using ADGrainGrowthBase<compute_stage>::_vals; \
18
using ADGrainGrowthBase<compute_stage>::_mu
19
20
// Forward Declarations
21
template
<ComputeStage>
22
class
ADGrainGrowthBase
;
23
24
declareADValidParams
(
ADGrainGrowthBase
);
25
32
template
<ComputeStage compute_stage>
33
class
ADGrainGrowthBase
:
public
ADAllenCahnBase
<compute_stage, Real>
34
{
35
public
:
36
ADGrainGrowthBase
(
const
InputParameters & parameters);
37
38
protected
:
39
const
unsigned
int
_op_num
;
40
std::vector<const ADVariableValue *>
_vals
;
41
const
ADMaterialProperty
(Real) & _mu;
42
43
usingAllenCahnBaseMembers
(Real);
44
};
ADGrainGrowthBase::_vals
std::vector< const ADVariableValue * > _vals
Definition:
ADGrainGrowthBase.h:40
ADGrainGrowthBase::ADMaterialProperty
const ADMaterialProperty(Real) &_mu
declareADValidParams
declareADValidParams(ADGrainGrowthBase)
ADAllenCahnBase
This is the Allen-Cahn equation base class that implements the bulk or local energy term of the equat...
Definition:
ADAllenCahnBase.h:22
ADGrainGrowthBase::_op_num
const unsigned int _op_num
Definition:
ADGrainGrowthBase.h:39
ADGrainGrowthBase::ADGrainGrowthBase
ADGrainGrowthBase(const InputParameters ¶meters)
Definition:
ADGrainGrowthBase.C:18
ADGrainGrowthBase
This is the base class for kernels that calculate the residual for grain growth.
Definition:
ADGrainGrowthBase.h:22
ADAllenCahnBase.h
ADGrainGrowthBase::usingAllenCahnBaseMembers
usingAllenCahnBaseMembers(Real)
Generated on Sat Jan 25 2020 12:04:39 for www.mooseframework.org by
1.8.16