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

Base class for scalar kernels. More...

#include <base.hpp>

Detailed Description

template<uint8_t dim>
class bem::ScalarKernelBase< dim >

Base class for scalar kernels.

Template Parameters
dim- Dimension of the kernel (2 or 3).

Definition at line 42 of file base.hpp.

Member Function Documentation

◆ compute()

template<uint8_t dim>
virtual EigRowVec< Complex > bem::ScalarKernelBase< dim >::compute ( ConstEigRef< EigColVecN< Float, dim > >  r_obs,
ConstEigRef< EigMatNX< Float, dim > >  r_src,
const Complex  k 
) const
pure virtual

Computes the scalar kernel for given observation and source points.

Parameters
[in]r_obs- Observer position vector.
[in]r_src- Set of source position vectors.
[in]k- Complex wavenumber.
Returns
Scalar kernel value.

◆ compute_grad()

template<uint8_t dim>
virtual EigMatNX< Complex, dim > bem::ScalarKernelBase< dim >::compute_grad ( ConstEigRef< EigColVecN< Float, dim > >  r_obs,
ConstEigRef< EigMatNX< Float, dim > >  r_src,
const Complex  k 
) const
pure virtual

Computes the gradient of the scalar kernel for given observation and source points.

Parameters
[in]r_obs- Observer position vector.
[in]r_src- Set of source position vectors.
[in]k- Complex wavenumber.
Returns
Components of the gradient of the scalar kernel.

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