bioRxivBioengineering
Comparative Performance of the Finite Element Method and the Boundary Element Fast Multipole Method for Problems Mimicking Transcranial Magnetic Stimulation (TMS)
A. T. Htet, G. B. Saturnino, E. H. Burnham, G. M. Noetscher, A. Nummenmaa, S. N. Makarov
Abstract
A study pertinent to the numerical modeling of cortical neurostimulation is conducted in an effort to compare the performance of the finite element method (FEM) and an original formulation of the boundary element fast multipole method (BEM-FMM) at matched computational performance metrics. We consider two problems: (i) a canonic multi-sphere geometry and an external magnetic-dipole excitation where the analytical solution is available and; (ii) a problem with realistic head models excited by a realistic coil geometry. In the first case, the FEM algorithm tested is a fast open-source getDP solver running within the SimNIBS 2.1.1 environment. In the second case, a high-end commercial FEM software package ANSYS Maxwell 3D is used. The BEM-FMM method runs in the MATLAB(R) 2018a environment.\n\nIn the first case, we observe that the BEM-FMM algorithm gives a smaller solution error for all mesh resolutions and runs significantly faster for high-resolution meshes when the number of triangular facets exceeds approximately 0.25 M. We present other relevant simulation results such as volumetric mesh generation times for the FEM, time necessary to compute the potential integrals for the BEM-FMM, and solution performance metrics for different hardware/operating system combinations. In the second case, we observe an excellent agreement for electric field distribution across different cranium compartments and, at the same time, a speed improvement of three orders of magnitude when the BEM-FMM algorithm used.\n\nThis study may provide a justification for anticipated use of the BEM-FMM algorithm for high-resolution realistic transcranial magnetic stimulation scenarios.
- assay: electrophysiology
- research focus: benchmarking
- approach: deep learning
- approach: statistical model
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- A Software Toolkit for TMS Electric-Field Modeling with Boundary Element Fast Multipole Method: An Efficient MATLAB Implementation
S. N. Makarov, W. A. Wartman, … A. Nummenmaa·bioRxiv·Feb 9, 2020
- Fast FEM-based Electric Field Calculations for Transcranial Magnetic Stimulation
Fang Cao, Kristoffer Hougaard Madsen, … Axel Thielscher·Journal of Neural EngineeringPeer-reviewed·May 12, 2025
- Efficient Electric Field Simulations for Transcranial Brain Stimulation
G. Bicalho Saturnino, K. H. Madsen, A. Thielscher·bioRxiv·Feb 5, 2019
- Conditions for numerically accurate TMS electric field simulation
L. Gomez, M. Dannhauer, … A. V. Peterchev·bioRxiv·Dec 25, 2018
- Software Toolkit for Fast High-Resolution TMS Modeling
Sergey N. Makarov, Gregory M. Noetscher, … Aapo R. Nummenmaa·bioRxiv·May 20, 2019
- An Adaptive H-Refinement Method for the Boundary Element Fast Multipole Method for Quasi-static Electromagnetic Modeling
William A. Wartman, Konstantin Weise, … Sergey N Makaroff·Physics in Medicine and BiologyPeer-reviewed·Feb 5, 2024