22 "Function describing a wave incident on a surface at a given angle, wavenumber, and domain " 23 "length, for use in the slab reflection benchmark.");
27 params.
addParam<
Real>(
"coef", 1.0,
"Real-valued function coefficient.");
35 _k(getParam<
Real>(
"k")),
36 _theta(getParam<
Real>(
"theta")),
37 _length(getParam<
Real>(
"length")),
38 _coef(getParam<
Real>(
"coef")),
39 _component(getParam<
MooseEnum>(
"component"))
47 std::complex<double> mu_r(2, -0.1);
CTSub CT_OPERATOR_BINARY CTMul CTCompareLess CTCompareGreater CTCompareEqual _arg template * sin(_arg) *_arg.template D< dtag >()) CT_SIMPLE_UNARY_FUNCTION(tan
const Real _theta
Wave incidence angle, in degrees.
static const std::string component
const Real _length
Length of slab domain (m)
const MooseEnum _component
Enum signifying the component of the function being calculated.
Function for field coefficient in slab reflection benchmark case.
static InputParameters validParams()
JinSlabCoeffFunc(const InputParameters ¶meters)
registerMooseObject("ElectromagneticsTestApp", JinSlabCoeffFunc)
virtual Real value(Real t, const Point &p) const override
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const Real _coef
Real-valued function coefficient.
static const std::complex< double > j(0, 1)
Complex number "j" (also known as "i")
static InputParameters validParams()
const Real _k
Wavenumber of incoming wave (1/m)
MooseUnits pow(const MooseUnits &, int)