18#ifndef BEM_RWG_AEFIE_LUMPED_ELEM_H
19#define BEM_RWG_AEFIE_LUMPED_ELEM_H
48template <
typename MatrixType = EigenDenseMatrix<Complex>>
118 Complex k = base::structure_.background_material().k(
f);
119 Complex eps_eff = base::structure_.background_material().eps_eff(
f);
125 Lp.scale(one / eps_eff);
Class providing lumped elements functionality for the AEFIE.
MatrixType phi_matrix(const Float f, const TriangleMesh< 3 > &obs_mesh, const TriangleMesh< 3 > &src_mesh) const
Returns the matrix associated with the scalar potential on given source and observation meshes.
MatrixType coupling_matrix(const Float f) const override
Returns the matrix the couples the element port current to the AEFIE.
MatrixType voltage_matrix(const Float f) const override
Returns the matrix associated with the potential differences between terminals.
MatrixType current_matrix(const Float f) const override
Returns the matrix associated with terminal currents.
Class for generating operator matrices for pulse observation and source functions.
Base class for generating excitation coefficients and coupling matrices for lumped ports.
virtual MatrixType voltage_mapping_matrix() const
Returns the matrix that maps the scalar potential on terminal triangles to the average voltage on the...
virtual MatrixType current_mapping_matrix() const
Returns the matrix that maps the total port currents to the volume current densities on terminal tria...
Index num_ports() const
Returns the number of excitations (right-hand sides), which equals the number of ports.
virtual MatrixType terminal_mapping_matrix() const
Returns the matrix that maps terminal triangles to their parent mesh triangles.
MeshView< TriangleMesh< 3 > > port_mesh_view() const
Returns a mesh view consisting of all elements associated with the ports.
const std::vector< Complex > & impedances() const
Returns a read-only reference to the lumped impedances.
Class for computing the scalar single-layer potential operator.
double Float
Floating point number.
std::complex< Float > Complex
Complex floating point number.
Eigen::Matrix< T, N, 1 > EigColVecN
Fixed-size column vector of size N containing type T.
std::size_t Index
Unsigned integer type for indices and container sizes.
Namespace for RWG-based BEM functionality.