OpenBEM
Open-source framework for electromagnetic simulation with the boundary element method.
Loading...
Searching...
No Matches
bem::rwg::ExcitationAssemblerBase< obs_num_dof > Class Template Referenceabstract

Base class for generating excitation matrices for RWG-based BEM systems. More...

#include <base.hpp>

Detailed Description

template<uint8_t obs_num_dof>
class bem::rwg::ExcitationAssemblerBase< obs_num_dof >

Base class for generating excitation matrices for RWG-based BEM systems.

Template Parameters
obs_num_dof- Number of degrees of freedom associated with each observation triangle.

Definition at line 235 of file base.hpp.

Constructor & Destructor Documentation

◆ ExcitationAssemblerBase() [1/2]

template<uint8_t obs_num_dof>
bem::rwg::ExcitationAssemblerBase< obs_num_dof >::ExcitationAssemblerBase ( const TriangleMesh< 3 > &  mesh)
inline

Constructs an ExcitationAssemblerBase for a given mesh.

Parameters
[in]mesh- Triangle mesh for which the excitation matrix is to be assembled.

Definition at line 246 of file base.hpp.

◆ ExcitationAssemblerBase() [2/2]

template<uint8_t obs_num_dof>
bem::rwg::ExcitationAssemblerBase< obs_num_dof >::ExcitationAssemblerBase ( const TriangleMesh< 3 > &  mesh,
ConstEigRef< EigRowVec< Index > >  elems 
)
inline

Constructs an ExcitationAssemblerBase for a given mesh on given test elements.

Parameters
[in]mesh- Triangle mesh for which the excitation matrix is to be assembled.
[in]elems- Triangle index pairs on which to test the incident field.

Definition at line 256 of file base.hpp.

Member Function Documentation

◆ assemble()

template<uint8_t obs_num_dof>
virtual void bem::rwg::ExcitationAssemblerBase< obs_num_dof >::assemble ( MatrixBase< Complex > &  mat,
ExcitationBase< obs_num_dof > &  exc,
const Complex  k 
)
pure virtual

Assembles the excitation matrix for a given excitation object and observation triangle mesh.

Parameters
[out]mat- Matrix to store the assembled excitation coefficients, with columns corresponding to each right-hand side, and rows corresponding to observation mesh degrees of freedom.
[in]exc- Excitation object that computes the coefficients to be assembled into mat.
[in]k- Complex wavenumber.

Member Data Documentation

◆ obs_mesh_

template<uint8_t obs_num_dof>
const TriangleMesh<3>& bem::rwg::ExcitationAssemblerBase< obs_num_dof >::obs_mesh_
protected

Definition at line 277 of file base.hpp.

◆ elems_

template<uint8_t obs_num_dof>
const EigRowVec<Index> bem::rwg::ExcitationAssemblerBase< obs_num_dof >::elems_
protected

Definition at line 278 of file base.hpp.


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