Line data Source code
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 339 : ADGrainGrowthBase::validParams() 14 : { 15 339 : InputParameters params = ADAllenCahnBase<Real>::validParams(); 16 678 : params.addRequiredCoupledVar("v", 17 : "Array of coupled order parameter names for other order parameters"); 18 339 : return params; 19 0 : } 20 : 21 180 : ADGrainGrowthBase::ADGrainGrowthBase(const InputParameters & parameters) 22 : : ADAllenCahnBase<Real>(parameters), 23 180 : _op_num(coupledComponents("v")), 24 180 : _vals(adCoupledValues("v")), 25 540 : _mu(getADMaterialProperty<Real>("mu")) 26 : { 27 180 : }