Class for computing plane wave excitation vector coefficients for RWG-based BEM systems.
More...
template<
uint8_t obs_num_dof>
class bem::rwg::PlaneWaveBase< obs_num_dof >
Class for computing plane wave excitation vector coefficients for RWG-based BEM systems.
- Template Parameters
-
| obs_num_dof | - Number of degrees of freedom associated with each observation triangle. |
Definition at line 50 of file plane_wave.hpp.
Constructs a PlaneWaveBase object with given plane wave parameters.
- Parameters
-
| [in] | dir | - Direction of propagation each plane wave; will be normalized automatically. |
| [in] | pol | - Polarization vector of the field associated with each plane wave; will be normalized automatically. |
| [in] | pos | - Point where each plane wave is originating from, used as a phase reference only. This can be any point on a plane perpendicular to the direction of propagation, which will be used as the phase reference plane. |
| [in] | amp | - Complex amplitudes of the field associated with each plane wave. |
| [in] | quadrature_order | - Quadrature order for integration over the observation triangle (optional). |
The PlaneWaveBase object is agnostic to which field (electric or magnetic) is being considered. This allows the same object to be used for generating different excitation vector coefficients for different BEM systems (EFIE, MFIE, etc.). To generate an excitation vector coefficient associated with an electric field excitation, pol should be set to the electric field polarization vector, and for a magnetic field excitation, pol should be set to the magnetic field polarization vector. For multiple right-hand-sides, e.g., multiple polarizations or directions of propagation, the dir, pol, pos, and amp parameters should be provided as matrices with each column corresponding to a different right-hand-side. The number of columns in these matrices must match.
Definition at line 74 of file plane_wave.hpp.