Current version: Bempp-cl 0.1.1

Bempp is an open-source computational boundary element platform to solve electrostatic, acoustic and electromagnetic problems. Features include:

  • Easy-to-use Python interface.
  • Support for triangular surface meshes.
  • Import and export in a number of formats, including Gmsh and VTK.
  • Easy formulation of acoustic and electromagnetic transmission problems.
  • CPU and GPU parallelisation.
  • A comprehensive operator algebra that makes it easy to formulate complex product operator formulations such as operator preconditioning.

Download now Learn more


Bempp-cl is a complete rewrite of the Bempp library that uses PyOpenCL for just-in-time compilation of computational kernels. This new version is largely feature complete, however the legacy version (Bempp 3.4.3) has the following additional features:

If you wish to use these features or to solve very large problems, you should Bempp 3.4.3 until these features are available in Bempp-cl.

Example applications

High-intensity focused ultrasound

hifuHigh-intensity focused ultrasound (HIFU) is a medical procedure that uses high-amplitude ultrasound waves to heat a small region of tissue, for example a cancerous tumour.

Before carrying out the procedure, it is important to simulate the process ensure that the surrounding tissue will not be subject to too much heat. Bempp can be used to simulate HIFU using its acoustics functionality, including OSRC preconditioning for high-frequency problems.

More information about this application can be found in van ‘t Wout et al (2015) and Betcke et al (2017).

Maxwell wave scattering

An important application of Bempp, and an area of much recent development, is the modelling of the scattering of electromagnetic waves.

For this type of problem, there are three well-known formulations available: the electric field (EFIE), magnetic field (MFIE) and combined field (CFIE) integral equations. However, in order to ensure that solutions can be obtained in a reasonable amount of time, the function spaces used in the discretisation must be chosen carefully.

More information about this application can be found in Scroggs et al (2017) and in its example scripts.


Bempp is developed at University College London and Pontificia Universidad Católica de Chile. The current development team includes Simon Arridge, Timo Betcke, Matthew Scroggs and Elwin Van ‘t Wout. Much of the original work on Bempp was done by Wojciech Śmigaj, now at Simpleware Ltd. You can find more information about the development team here.

We are very grateful for the substantial contributions of the UCL Research Software Development Team to the code itself, installers and testing environment. Bempp is supported by EPSRC Grants EP/I030042/1 and EP/K03829X/1. We would also like to acknowledge support from the Dune Project for the integration of Dune into Bempp and the HyENA Team at Graz University of Technology who provided definitions of the core integration rules to the project.


Bempp is covered by an MIT licence. The full licence can be read here.