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.");
42 params.
addParam<
MooseEnum>(
"component", component,
"Component of field (real or imaginary).");
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"))
registerMooseObject("ElectromagneticsApp", ADMatWaveReaction)
DualNumber< Real, DNDerivativeType, true > ADReal
const ADTemplateVariableTestValue< T > & _test
static InputParameters validParams()
Calculates the current source term in the Helmholtz wave equation using the dielectric formulation of...
ADMatWaveReaction(const InputParameters ¶meters)
const ADVectorVariableValue & _field_real
Vector variable of the real component of the electric field.
virtual ADReal computeQpResidual() override
const ADMaterialProperty< Real > & _coef_real
The real component of the coefficient for the Helmholtz wave equation.
static InputParameters validParams()
MooseEnum _component
Component of the field vector (real or imaginary)
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.