https://mooseframework.inl.gov
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 
18 class EMRobinBC : public ADIntegratedBC
19 {
20 public:
22 
24 
25 protected:
26  virtual ADReal computeQpResidual() override;
27 
28 private:
31 
34 
37 
40 
43 
46 
49 
52 
55 
58 
61 };
const Function & _func_imag
Imaginary component of the function coefficient representing the wavenumber.
Definition: EMRobinBC.h:42
const ADVariableValue & _field_real
Real component of the electric field.
Definition: EMRobinBC.h:30
const Function & _profile_func_real
Real component of the incoming wave function amplitude.
Definition: EMRobinBC.h:45
const MooseEnum _mode
Enum for selection of boundary condition mode: absorbing or port (Default = port) ...
Definition: EMRobinBC.h:60
const MooseEnum _sign
Scalar value representing the sign of the term in the weak form.
Definition: EMRobinBC.h:57
DualNumber< Real, DNDerivativeType, true > ADReal
EMRobinBC(const InputParameters &parameters)
Definition: EMRobinBC.C:45
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
Represents the boundary condition for a first order Robin-style Absorbing/Port boundary for scalar va...
Definition: EMRobinBC.h:18
const ADVariableValue & _field_imag
Imaginary component of the electric field.
Definition: EMRobinBC.h:33
virtual ADReal computeQpResidual() override
Definition: EMRobinBC.C:71
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const Real _coeff_imag
Imaginary component of the constant coefficient representing the wavenumber.
Definition: EMRobinBC.h:54
const MooseEnum _component
Enum for selection of real or imaginary component of the field wave.
Definition: EMRobinBC.h:36
const InputParameters & parameters() const
const Function & _func_real
Real component of the function coefficient representing the wavenumber.
Definition: EMRobinBC.h:39