12 #include "libmesh/utility.h" 21 "Grain growth model Allen-Cahn Kernel with linearized interface variable transformation");
23 "this_op",
"The material property defining the order parameter for this variable");
25 "other_ops",
"List of properties defining the order parameters for the variables in v");
31 _other_op_names(getParam<
std::vector<MaterialPropertyName>>(
"other_ops")),
32 _num_ops(_other_op_names.size()),
33 _gamma(getMaterialProperty<
Real>(
"gamma_asymm")),
34 _op(getMaterialProperty<
Real>(
"this_op")),
35 _dopdphi(getMaterialPropertyDerivative<
Real>(
"this_op", _var.
name())),
41 "In ACGrGrPolyLinearizedInterface, number of coupled variables in v must match number of " 42 "coupled materials in other_ops");
45 for (
unsigned int i = 0; i <
_op_num; ++i)
61 std::vector<Real> other_ops(
_op_num);
62 for (
unsigned int i = 0; i <
_op_num; ++i)
63 other_ops[i] = (*
_opj[i])[_qp];
88 for (
unsigned int i = 0; i <
_op_num; ++i)
const unsigned int _op_num
const unsigned int _num_ops
This kernel calculates the residual for grain growth for a single phase, poly-crystal system...
virtual Real computeDFDOP(PFFunctionType type)
void mooseError(Args &&... args)
const MaterialProperty< Real > & _op
std::vector< const MaterialProperty< Real > * > _opj
const std::vector< unsigned int > _vals_var
static InputParameters validParams()
std::vector< const MaterialProperty< Real > * > _dopjdarg
const MaterialProperty< Real > & _dopdphi
virtual std::vector< Real > assignOtherOps()
virtual Real computeDFDOP(PFFunctionType type)
static InputParameters validParams()
virtual Real assignThisOp()
ACGrGrPolyLinearizedInterface(const InputParameters ¶meters)
virtual Real computeQpOffDiagJacobian(unsigned int jvar)
This kernel calculates the residual for grain growth for a single phase, polycrystal system using the...
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const std::vector< MaterialPropertyName > _other_op_names
registerMooseObject("PhaseFieldApp", ACGrGrPolyLinearizedInterface)
virtual Real computeQpOffDiagJacobian(unsigned int jvar)