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

Class for operations associated with pulse functions. More...

#include <function_space.hpp>

Detailed Description

Class for operations associated with pulse functions.

Definition at line 124 of file function_space.hpp.

Member Function Documentation

◆ normalization()

static Float bem::rwg::Pulse::normalization ( const Triangle< 3 > &  tri)
inlinestatic

Defines the normalization factor for the pulse function associated with a given triangle.

Parameters
[in]tri- Triangle for which the pulse function normalization is required.
Returns
Normalization factor for the pulse function associated with tri.

Definition at line 133 of file function_space.hpp.

◆ value()

static EigRowVec< Float > bem::rwg::Pulse::value ( const Triangle< 3 > &  tri,
ConstEigRef< EigMatNX< Float, 3 > >  points 
)
inlinestatic

Evaluates the value of the pulse function associated with a given triangle at a given set of points in that triangle.

Parameters
[in]tri- Triangle for which the pulse function is to be evaluated.
[in]points- Points in the triangle at which to evaluate the pulse function.
Returns
Value of the pulse function associated with tri at each of the points.

Definition at line 144 of file function_space.hpp.

◆ test_field()

Complex bem::rwg::Pulse::test_field ( const Triangle< 3 > &  tri,
std::function< EigRowVec< Complex >(ConstEigRef< EigMatNX< Float, 3 > >)>  field_eval,
TriangleQuadratureBase< 3 > &  tri_quad 
)
static

Tests a field on the pulse function associated with a given triangle.

Parameters
[in]tri- Triangle for which the pulse function is to be evaluated.
[in]field_eval- Function or class with operator() that evaluates the scalar field at given set of points in the triangle.
[in]tri_quad- Triangle quadrature object to use for integration over the triangle.
Returns
Tested field on the pulse function associated with tri.

Computes

\[ \int_{\mathrm{tri}} d\mathcal{S}\,h(\vec{r})\,g(\vec{r}) \]

where \( g(\vec{r}) \) is a scalar field, and \( h(\vec{r}) \) is the pulse function associated with tri.

Definition at line 109 of file function_space.cpp.

◆ reconstruct_field()

EigRowVec< Complex > bem::rwg::Pulse::reconstruct_field ( const TriangleMesh< 3 > &  mesh,
const MatrixBase< Complex > &  coeffs,
ConstEigRef< EigMatNX< Float, 3 > >  points 
)
static

Reconstructs a scalar field expressed with pulse functions on a given triangle mesh.

Parameters
[in]mesh- Triangle mesh on which the field is defined.
[in]coeffs- Vector of pulse coefficients for each mesh edge.
[in]points- Points on which to sample the field.
Returns
Scalar field sampled at points.

Definition at line 123 of file function_space.cpp.


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