Solver#

Classes and functions for the solver

namespace classyq#

Functions

template<typename Scalar = double>
auto form_S(const TsLess &cavity, int gf) -> Eigen::Matrix<Scalar, Eigen::Dynamic, Eigen::Dynamic>#

Form \(\mathbf{S}\) matrix for a generic environment.

Template Parameters

Scalar – underlying type of matrix, defaults to double.

Parameters
  • cavity – the discretization of the surface.

  • gf – Green’s function.

Returns

The matrix representation, by collocation, of the \(\mathcal{S}\) boundary integral operator.

template<typename Scalar = double>
auto form_D(const TsLess &cavity, int gf) -> Eigen::Matrix<Scalar, Eigen::Dynamic, Eigen::Dynamic>#

Form \(\mathbf{D}\) matrix for a generic environment.

Template Parameters

Scalar – underlying type of matrix, defaults to double.

Parameters
  • cavity – the discretization of the surface.

  • gf – Green’s function.

Returns

The matrix representation, by collocation, of the \(\mathcal{D}\) boundary integral operator.