https://mooseframework.inl.gov
Loading...
Searching...
No Matches
phase_field
src
kernels
ADGrainGrowthBase.C
Go to the documentation of this file.
1
//* This file is part of the MOOSE framework
2
//* https://mooseframework.inl.gov
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
#include "
ADGrainGrowthBase.h
"
11
12
InputParameters
13
ADGrainGrowthBase::validParams
()
14
{
15
InputParameters
params =
ADAllenCahnBase<Real>::validParams
();
16
params.
addRequiredCoupledVar
(
"v"
,
17
"Array of coupled order parameter names for other order parameters"
);
18
return
params;
19
}
20
21
ADGrainGrowthBase::ADGrainGrowthBase
(
const
InputParameters
& parameters)
22
:
ADAllenCahnBase
<Real>(parameters),
23
_op_num(coupledComponents(
"v"
)),
24
_vals(adCoupledValues(
"v"
)),
25
_mu(getADMaterialProperty<Real>(
"mu"
))
26
{
27
}
ADGrainGrowthBase.h
ADAllenCahnBase
This is the Allen-Cahn equation base class that implements the bulk or local energy term of the equat...
Definition
ADAllenCahnBase.h:25
ADAllenCahnBase::validParams
static InputParameters validParams()
Definition
ADAllenCahnBase.h:43
ADGrainGrowthBase::validParams
static InputParameters validParams()
Definition
ADGrainGrowthBase.C:13
ADGrainGrowthBase::ADGrainGrowthBase
ADGrainGrowthBase(const InputParameters ¶meters)
Definition
ADGrainGrowthBase.C:21
InputParameters::addRequiredCoupledVar
void addRequiredCoupledVar(const std::string &name, const std::string &doc_string)
InputParameters
Generated on Fri Aug 21 2026 13:41:22 for https://mooseframework.inl.gov by
1.9.8