https://mooseframework.inl.gov
Loading...
Searching...
No Matches
ACGrGrBase.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 "ACGrGrBase.h"
11
14{
16 params.addRequiredCoupledVar("v",
17 "Array of coupled order parameter names for other order parameters");
18 return params;
19}
20
22 : ACBulk<Real>(parameters),
23 _op_num(coupledComponents("v")),
24 _vals(coupledValues("v")),
25 _vals_var(coupledIndices("v")),
26 _mu(getMaterialProperty<Real>("mu"))
27{
28}
This is the Allen-Cahn equation base class that implements the bulk or local energy term of the equat...
Definition ACBulk.h:25
static InputParameters validParams()
Definition ACBulk.h:69
static InputParameters validParams()
Definition ACGrGrBase.C:13
ACGrGrBase(const InputParameters &parameters)
Definition ACGrGrBase.C:21
void addRequiredCoupledVar(const std::string &name, const std::string &doc_string)