|
| template<int dim> |
| std::pair< Tensor< 1, dim, std::complex< double > >, Tensor< 1, dim, std::complex< double > > > | compute_waveguide_port_incident_fields (const Parameters::TimeHarmonicMaxwell< dim > &time_harmonic_maxwell_parameters, const Point< dim > &p, const Tensor< 1, dim > &normal, const std::complex< double > &effective_electric_permittivity, const std::complex< double > &effective_magnetic_permeability, const unsigned int waveguide_port_index) |
| template<int dim> |
| unsigned int | get_waveguide_port_index (const Parameters::TimeHarmonicMaxwell< dim > &time_harmonic_maxwell_parameters, const types::boundary_id boundary_id) |
| template std::pair< Tensor< 1, 2, std::complex< double > >, Tensor< 1, 2, std::complex< double > > > | compute_waveguide_port_incident_fields< 2 > (const Parameters::TimeHarmonicMaxwell< 2 > &time_harmonic_maxwell_parameters, const Point< 2 > &p, const Tensor< 1, 2 > &normal, const std::complex< double > &effective_electric_permittivity, const std::complex< double > &effective_magnetic_permeability, const unsigned int waveguide_port_index) |
| template std::pair< Tensor< 1, 3, std::complex< double > >, Tensor< 1, 3, std::complex< double > > > | compute_waveguide_port_incident_fields< 3 > (const Parameters::TimeHarmonicMaxwell< 3 > &time_harmonic_maxwell_parameters, const Point< 3 > &p, const Tensor< 1, 3 > &normal, const std::complex< double > &effective_electric_permittivity, const std::complex< double > &effective_magnetic_permeability, const unsigned int waveguide_port_index) |
| template unsigned int | get_waveguide_port_index< 2 > (const Parameters::TimeHarmonicMaxwell< 2 > &time_harmonic_maxwell_parameters, const types::boundary_id boundary_id) |
| template unsigned int | get_waveguide_port_index< 3 > (const Parameters::TimeHarmonicMaxwell< 3 > &time_harmonic_maxwell_parameters, const types::boundary_id boundary_id) |
template<int dim>
| std::pair< Tensor< 1, dim, std::complex< double > >, Tensor< 1, dim, std::complex< double > > > compute_waveguide_port_incident_fields |
( |
const Parameters::TimeHarmonicMaxwell< dim > & | time_harmonic_maxwell_parameters, |
|
|
const Point< dim > & | p, |
|
|
const Tensor< 1, dim > & | normal, |
|
|
const std::complex< double > & | effective_electric_permittivity, |
|
|
const std::complex< double > & | effective_magnetic_permeability, |
|
|
const unsigned int | waveguide_port_index ) |
Compute the incident electromagnetic fields of a rectangular waveguide port from the input parameters. It is only implemented for 3D problems.
- Template Parameters
-
- Parameters
-
| [in] | time_harmonic_maxwell_parameters | Parameters of the time-harmonic Maxwell physics, which contain the waveguide port definitions. |
| [in] | p | Position where the incident fields are computed. |
| [in] | normal | Unit normal vector of the waveguide port face. |
| [in] | effective_electric_permittivity | Effective electric permittivity at the point p. |
| [in] | effective_magnetic_permeability | Effective magnetic permeability at the point p. |
| [in] | waveguide_port_index | Index of the waveguide port condition within the waveguide port parameters. |
- Returns
- This function returns a std::pair containing the electric field Tensor<1, dim, std::complex<double>> and the magnetic field Tensor<1, dim, std::complex<double>> computed at the given position.
Definition at line 20 of file time_harmonic_maxwell_assemblers.cc.
References Parameters::TimeHarmonicMaxwell< dim >::electromagnetic_frequency, Parameters::TimeHarmonicMaxwell< dim >::mode_order_m, Parameters::TimeHarmonicMaxwell< dim >::mode_order_n, Parameters::TE, Parameters::TM, Parameters::TimeHarmonicMaxwell< dim >::waveguide_corners, and Parameters::TimeHarmonicMaxwell< dim >::waveguide_mode.