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

◆ kernel()

template<uint8_t dim>
virtual Complex bem::ScalarKernelBase< dim >::kernel ( ConstEigRef< EigColVecN< Float, dim > >  r_obs,
ConstEigRef< EigColVecN< 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- Source position vector.
[in]k- Complex wavenumber.
Returns
Scalar kernel value.

◆ grad_kernel()

template<uint8_t dim>
virtual EigColVecN< Complex, dim > bem::ScalarKernelBase< dim >::grad_kernel ( ConstEigRef< EigColVecN< Float, dim > >  r_obs,
ConstEigRef< EigColVecN< 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- Source position vector.
[in]k- Complex wavenumber.
Returns
Components of the gradient of the scalar kernel.

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