25 "The kappa used with the kernel");
26 params.
addParam<MaterialPropertyName>(
"mob_name",
"L",
"The mobility used with the kernel");
32 _num_etas(coupledComponents(
"etas")),
33 _eta(coupledValues(
"etas")),
34 _grad_eta(coupledGradients(
"etas")),
35 _eta_vars(_sys.nVariables(), -1),
36 _kappa_names(getParam<
std::vector<MaterialPropertyName>>(
"kappa_names")),
38 _L(getMaterialProperty<
Real>(
"mob_name"))
41 paramError(
"kappa_names",
"Supply the same number of etas and kappa_names.");
46 for (
unsigned int i = 0; i <
_num_etas; ++i)
49 unsigned int var =
coupled(
"etas", i);
63 "etas",
"Kernel variable must be listed in etas for ACMultiInterface kernel ",
name());
123 return _L[
_qp] * sum;
unsigned int _a
Index of the eta this kernel is operating on.
OutputTools< Real >::VariableGradient VariableGradient
ACMultiInterface(const InputParameters ¶meters)
virtual unsigned int coupled(const std::string &var_name, unsigned int comp=0) const
registerMooseObject("PhaseFieldApp", ACMultiInterface)
const VariableGradient & _grad_u
static InputParameters validParams()
std::vector< int > _eta_vars
Lookup table from couple variable number into the etas vector.
unsigned int number() const
const VariablePhiGradient & _grad_phi
virtual Real computeQpResidual()
virtual const std::string & name() const
virtual unsigned int nVariables() const
const VariableTestValue & _test
std::vector< const MaterialProperty< Real > * > _kappa
void paramError(const std::string ¶m, Args... args) const
virtual Real computeQpOffDiagJacobian(unsigned int)
OutputTools< Real >::VariableValue VariableValue
const std::vector< const VariableGradient * > _grad_eta
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
Compute the gradient interface terms for a multiphase system.
const VariableTestGradient & _grad_test
static InputParameters validParams()
const std::vector< const VariableValue * > _eta
const MaterialProperty< Real > & _L
Mobility.
virtual Real computeQpJacobian()
const unsigned int _num_etas
Order parameters.
const VariablePhiValue & _phi
std::vector< MaterialPropertyName > _kappa_names
Interface gradient prefactor.