19 params.
addParam<MaterialPropertyName>(
"forward_rate",
"kf",
"Forward reaction rate coefficient.");
20 params.
addParam<MaterialPropertyName>(
21 "backward_rate",
"kb",
"Backward reaction rate coefficient.");
29 _kf(getADMaterialProperty<
Real>(
"forward_rate")),
30 _kb(getNeighborADMaterialProperty<
Real>(
"backward_rate"))
registerMooseObject("MooseApp", ADMatInterfaceReaction)
ADMatInterfaceReaction(const InputParameters ¶meters)
const ADMaterialProperty< Real > & _kf
Forward reaction rate coefficient.
static InputParameters validParams()
unsigned int _qp
Current quadrature point.
DualNumber< Real, DNDerivativeType, true > ADReal
const ADTemplateVariableValue< T > & _u
Holds the current solution at the current quadrature point on the face.
virtual ADReal computeQpResidual(Moose::DGResidualType type) override
Compute residuals at quadrature points.
ADInterfaceKernel and ADVectorInterfaceKernel is responsible for interfacing physics across subdomain...
const std::string & type() const
Get the type of this class.
unsigned int _i
Index for test and trial functions.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
static InputParameters validParams()
const OutputTools< T >::VariableTestValue & _test_neighbor
Side neighbor test function.
const ADTemplateVariableValue< T > & _neighbor_value
Coupled neighbor variable value.
Implements a reaction to establish ReactionRate=k_f*u-k_b*v at interface.
const ADMaterialProperty< Real > & _kb
Backward reaction rate coefficient.
const OutputTools< T >::VariableTestValue & _test
Side shape function.