BemTool is a C++ header library that only relies on the STL and Boost. Its main purpose is the assembly of classic boundary element matrices. At low level, it contains a set of elementary classes for low dimensional linear algebra (so as to deal with geometric computations) and simplicial meshes in 1D,2D and 3D. It contains basic wrappers for Gmsh as regards mesh generation, and eigen for the treatment of large matrices. Currently it provides routines for the assembly of boundary element matrices for Laplace, Helmholtz, Yukawa (purely dissipative Helmholtz) and Maxwell matrices in 2D and 3D. The available discretisation spaces are P0, continuous P1, continuous P2 and RT0 (lowest order Raviart-Thomas elements).
This library does not currently include functionalities oriented toward complexity reduction techniques such as fast multipoles (FMM) or hierarchical matrices. However the companion library HTool oriented toward this type of method is currently under development.
One of the motivations for the development of this lilbrary was numerical investigation of the performance of the multi-trace formalism. As a consequence the classes for meshes include functionalities specially oriented toward the management of multi-domain geometries, in particular for cases where subdomains are adjacent so as to give rise to junction points.