OpenBEM
Open-source framework for electromagnetic simulation with the boundary element method.
Loading...
Searching...
No Matches
bem::rwg::NxRwgPlaneWave Class Reference

Class for computing plane wave excitation vector coefficients when tested with rotated RWG functions. More...

#include <plane_wave.hpp>

+ Inheritance diagram for bem::rwg::NxRwgPlaneWave:

Detailed Description

Class for computing plane wave excitation vector coefficients when tested with rotated RWG functions.

Examples
/examples/ex01_start_here.cpp, and /examples/ex02_assemblers.cpp.

Definition at line 162 of file plane_wave.hpp.

Member Function Documentation

◆ compute()

EigMatNX< Complex, 3 > bem::rwg::NxRwgPlaneWave::compute ( const Complex  k,
const Triangle< 3 > &  obs_tri 
)
overridevirtual

Computes the plane wave excitation coefficients when the field is tested with rotated RWG functions.

Parameters
[in]k- Complex wavenumber.
[in]obs_tri- Observation triangle in the local coordinate system of src_tri.
Returns
Excitation coefficient matrix, where each row corresponds to each degree of freedom associated with obs_tri, and each column corresponds to each excitation when there is more than one excitation (i.e., more than one right-hand side).

Implements bem::rwg::ExcitationBase< obs_num_dof >.

Definition at line 44 of file plane_wave.cpp.

◆ num_excitations()

Index bem::rwg::PlaneWaveBase< obs_num_dof >::num_excitations ( ) const
inlineoverridevirtualinherited

Returns the number of excitations (right-hand sides) to be generated.

Returns
Number of excitations (right-hand sides).

Implements bem::rwg::ExcitationBase< obs_num_dof >.

Definition at line 108 of file plane_wave.hpp.

◆ eval()

EigMatNX< Complex, 3 > bem::rwg::PlaneWaveBase< obs_num_dof >::eval ( const Complex  k,
ConstEigRef< EigMatNX< Float, 3 > >  r_obs,
const Index  idx = 0 
)
inlineprotectedinherited

Evaluates the plane wave vector field value at given observation points.

Parameters
[in]k- Complex wavenumber.
[in]r_obs- Observation points at which to evaluate the plane wave field values.
[in]idx- Index of the right-hand side for which to evaluate the field (optional when there's only one right-hand side).
Returns
Plane wave vector field values sampled at r_obs, where each column corresponds to each excitation when there is more than one excitation (i.e., more than one right-hand side).

Definition at line 122 of file plane_wave.hpp.

Member Data Documentation

◆ dir_

const EigMatNX<Float, 3> bem::rwg::PlaneWaveBase< obs_num_dof >::dir_
protectedinherited

Definition at line 130 of file plane_wave.hpp.

◆ pol_

const EigMatNX<Float, 3> bem::rwg::PlaneWaveBase< obs_num_dof >::pol_
protectedinherited

Definition at line 130 of file plane_wave.hpp.

◆ pos_

const EigMatNX<Float, 3> bem::rwg::PlaneWaveBase< obs_num_dof >::pos_
protectedinherited

Definition at line 130 of file plane_wave.hpp.

◆ amp_

Definition at line 131 of file plane_wave.hpp.

◆ tri_quad_

std::shared_ptr<GaussTriangleQuadrature<3> > bem::rwg::PlaneWaveBase< obs_num_dof >::tri_quad_
protectedinherited

Definition at line 132 of file plane_wave.hpp.


The documentation for this class was generated from the following files: