https://mooseframework.inl.gov
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 
14 {
16  params.addRequiredCoupledVar("v",
17  "Array of coupled order parameter names for other order parameters");
18  return params;
19 }
20 
22  : ADAllenCahnBase<Real>(parameters),
23  _op_num(coupledComponents("v")),
24  _vals(adCoupledValues("v")),
25  _mu(getADMaterialProperty<Real>("mu"))
26 {
27 }
ADGrainGrowthBase(const InputParameters &parameters)
This is the Allen-Cahn equation base class that implements the bulk or local energy term of the equat...
static InputParameters validParams()
void addRequiredCoupledVar(const std::string &name, const std::string &doc_string)
static InputParameters validParams()
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real