https://mooseframework.inl.gov
Loading...
Searching...
No Matches
EMRobinBC.h
Go to the documentation of this file.
1//* This file is part of the MOOSE framework
2//* https://mooseframework.inl.gov
3//*
4//* All rights reserved, see COPYRIGHT for full restrictions
5//* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6//*
7//* Licensed under LGPL 2.1, please see LICENSE for details
8//* https://www.gnu.org/licenses/lgpl-2.1.html
9
10#pragma once
11
12#include "ADIntegratedBC.h"
13
19{
20public:
22
24
25protected:
26 virtual ADReal computeQpResidual() override;
27
28private:
31
34
37
40
43
46
49
51 const Real _coeff_real;
52
54 const Real _coeff_imag;
55
58
61};
DualNumber< Real, DNDerivativeType, true > ADReal
Represents the boundary condition for a first order Robin-style Absorbing/Port boundary for scalar va...
Definition EMRobinBC.h:19
const Real _coeff_imag
Imaginary component of the constant coefficient representing the wavenumber.
Definition EMRobinBC.h:54
const Function & _func_imag
Imaginary component of the function coefficient representing the wavenumber.
Definition EMRobinBC.h:42
const ADVariableValue & _field_imag
Imaginary component of the electric field.
Definition EMRobinBC.h:33
const MooseEnum _component
Enum for selection of real or imaginary component of the field wave.
Definition EMRobinBC.h:36
virtual ADReal computeQpResidual() override
Definition EMRobinBC.C:71
static InputParameters validParams()
Definition EMRobinBC.C:19
const Real _coeff_real
Real component of the constant coefficient representing the wavenumber.
Definition EMRobinBC.h:51
const Function & _profile_func_imag
Imaginary component of the incoming wave function amplitude.
Definition EMRobinBC.h:48
const MooseEnum _mode
Enum for selection of boundary condition mode: absorbing or port (Default = port)
Definition EMRobinBC.h:60
const Function & _func_real
Real component of the function coefficient representing the wavenumber.
Definition EMRobinBC.h:39
const Function & _profile_func_real
Real component of the incoming wave function amplitude.
Definition EMRobinBC.h:45
const ADVariableValue & _field_real
Real component of the electric field.
Definition EMRobinBC.h:30
const MooseEnum _sign
Scalar value representing the sign of the term in the weak form.
Definition EMRobinBC.h:57
const InputParameters & parameters() const
VariableValueTempl< true > ADVariableValue