23 "Calculates the current source term in the Helmholtz wave equation using " 24 "the dielectric formulation of the current.");
32 params.
addParam<MaterialPropertyName>(
34 "wave_equation_coefficient_real",
35 "The real component of the coefficient for the Helmholtz wave equation.");
36 params.
addParam<MaterialPropertyName>(
38 "wave_equation_coefficient_imaginary",
39 "The imaginary component of the coefficient for the Helmholtz wave equation.");
48 _field_real(adCoupledVectorValue(
"field_real")),
49 _field_imag(adCoupledVectorValue(
"field_imag")),
51 _coef_real(getADMaterialProperty<
Real>(
"wave_coef_real")),
52 _coef_imag(getADMaterialProperty<
Real>(
"wave_coef_imag")),
54 _component(getParam<
MooseEnum>(
"component"))
const ADVectorVariableValue & _field_imag
Vector variable of the imaginary component of the electric field.
const ADMaterialProperty< Real > & _coef_imag
The imaginary component of the coefficient for the Helmholtz wave equation.
ADMatWaveReaction(const InputParameters ¶meters)
static const std::string component
const ADTemplateVariableTestValue< T > & _test
DualNumber< Real, DNDerivativeType, true > ADReal
const ADVectorVariableValue & _field_real
Vector variable of the real component of the electric field.
virtual ADReal computeQpResidual() override
registerMooseObject("ElectromagneticsApp", ADMatWaveReaction)
static InputParameters validParams()
Calculates the current source term in the Helmholtz wave equation using the dielectric formulation of...
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
static InputParameters validParams()
const ADMaterialProperty< Real > & _coef_real
The real component of the coefficient for the Helmholtz wave equation.
MooseEnum _component
Component of the field vector (real or imaginary)