An Object-Oriented Framework for Versatile Finite Element Based Simulations of Neurostimulation

Computational simulations of transcranial electrical stimulation (TES) are commonly utilized by the neurostimulation community, and while vastly different TES application areas can be investigated, the mathematical equations and physiological characteristics that govern this research are identical. The goal of this work was to develop a robust software framework for TES that efficiently supports the spectrum of computational simulations routinely utilized by the TES community and in addition easily extends to support alternative neurostimulation research objectives. Using well-established object-oriented software engineering techniques, we have designed a software framework based upon the physical and computational aspects of TES. The framework’s versatility is demonstrated with a set of diverse neurostimulation simulations that (i) reinforce the importance of using anisotropic tissue conductivities, (ii) demonstrate the enhanced precision of high-definition stimulation electrodes, and (iii) highlight the benefits of utilizing multigrid solution algorithms. Our approaches result in a framework that facilitates rapid prototyping of real-world, customized TES administrations and supports virtually any clinical, biomedical, or computational aspect of this treatment. Software reuse and maintainability are optimized, and in addition, the same code can be effortlessly augmented to provide support for alternative neurostimulation research endeavors.

[1]  Wilkins Aquino,et al.  An object-oriented framework for reduced-order models using proper orthogonal decomposition (POD) , 2007 .

[2]  T Groth,et al.  Object-oriented biomedical system modeling--the rationale. , 1999, Computer methods and programs in biomedicine.

[3]  Gerald M. Salzman An Introduction to Object Oriented Programming , 2013 .

[4]  Matthew D. Johnson,et al.  Computational modeling of pedunculopontine nucleus deep brain stimulation , 2013, Journal of neural engineering.

[5]  Karin Wårdell,et al.  Method for patient-specific finite element modeling and simulation of deep brain stimulation , 2008, Medical & Biological Engineering & Computing.

[6]  Alexander Opitz,et al.  How the brain tissue shapes the electric field induced by transcranial magnetic stimulation , 2011, NeuroImage.

[7]  Julie M. Baker,et al.  Individualized model predicts brain current flow during transcranial direct-current stimulation treatment in responsive stroke patient , 2011, Brain Stimulation.

[8]  C. McIntyre,et al.  Computational modeling of deep brain stimulation. , 2013, Handbook of clinical neurology.

[9]  Gábor Székely,et al.  A Flexible Framework for Highly-Modular Surgical Simulation Systems , 2006, ISBMS.

[10]  Hans Petter Langtangen,et al.  Computational Partial Differential Equations - Numerical Methods and Diffpack Programming , 1999, Lecture Notes in Computational Science and Engineering.

[11]  Tae-Seong Kim,et al.  Influence of anisotropic conductivity in the skull and white matter on transcranial direct current stimulation via an anatomically realistic finite element head model , 2012, Physics in medicine and biology.

[12]  F. Fregni,et al.  Temporal cortex direct current stimulation enhances performance on a visual recognition memory task in Alzheimer disease , 2008, Journal of Neurology, Neurosurgery, and Psychiatry.

[13]  D. Hubl,et al.  Muting the voice: a case of arterial spin labeling-monitored transcranial direct current stimulation treatment of auditory verbal hallucinations. , 2011, The American journal of psychiatry.

[14]  C. Herrmann,et al.  Finite-Element Model Predicts Current Density Distribution for Clinical Applications of tDCS and tACS , 2012, Front. Psychiatry.

[15]  Bjarne Stroustrup,et al.  C++ Programming Language , 1986, IEEE Softw..

[16]  L. Cohen,et al.  Transcranial direct current stimulation: State of the art 2008 , 2008, Brain Stimulation.

[17]  Gottfried Schlaug,et al.  Transcranial direct current stimulation in stroke recovery. , 2008, Archives of neurology.

[18]  A. Antal,et al.  Comparatively weak after-effects of transcranial alternating current stimulation (tACS) on cortical excitability in humans , 2008, Brain Stimulation.

[19]  Christophe Geuzaine,et al.  Gmsh: A 3‐D finite element mesh generator with built‐in pre‐ and post‐processing facilities , 2009 .

[20]  M. Bikson,et al.  Computational modeling of transcranial direct current stimulation (tDCS) in obesity: Impact of head fat and dose guidelines☆ , 2013, NeuroImage: Clinical.

[21]  Volker A Coenen,et al.  Deep Brain Stimulation in Neurological and Psychiatric Disorders. , 2015, Deutsches Arzteblatt international.

[22]  Thomas Williams,et al.  Gnuplot 4.4: an interactive plotting program , 2010 .

[23]  T. Katsaounis Advanced Topics in Computational Partial Differential Equations: Numerical Methods and Diffpack Programming , 2005 .

[24]  Timothy A. Budd,et al.  An introduction to object-oriented programming , 1991 .

[25]  Nam-Jong Paik,et al.  Effect of a tDCS electrode montage on implicit motor sequence learning in healthy subjects , 2011, Experimental & Translational Stroke Medicine.

[26]  J. Vitek,et al.  History, applications, and mechanisms of deep brain stimulation. , 2013, JAMA neurology.

[27]  M. Hallett,et al.  Modeling the current distribution during transcranial direct current stimulation , 2006, Clinical Neurophysiology.

[28]  Mattias Åström,et al.  Modelling, Simulaltion, and Visualization of Deep Brain Stimulation , 2011 .

[29]  Robert Ian Mackie An object-oriented approach to fully interactive finite element software , 1998 .

[30]  Abhishek Datta,et al.  A pilot study on effects of 4×1 High-Definition tDCS on motor cortex excitability , 2012, 2012 Annual International Conference of the IEEE Engineering in Medicine and Biology Society.

[31]  A. Priori,et al.  Transcranial direct current stimulation in severe, drug-resistant major depression. , 2009, Journal of affective disorders.

[32]  J. Brunelin,et al.  Efficacy and safety of bifocal tDCS as an interventional treatment for refractory schizophrenia , 2012, Brain Stimulation.

[33]  Rajiv Sampath,et al.  An object‐oriented framework for the implementation of adjoint techniques in the design and control of complex continuum systems , 2000 .

[34]  Á. Pascual-Leone,et al.  A randomized, double-blind clinical trial on the efficacy of cortical direct current stimulation for the treatment of major depression. , 2008, The international journal of neuropsychopharmacology.

[35]  D. Stegeman,et al.  Investigation of tDCS volume conduction effects in a highly realistic head model , 2014, Journal of neural engineering.

[36]  Abhishek Datta,et al.  Validation of finite element model of transcranial electrical stimulation using scalp potentials: implications for clinical dose , 2013, Journal of neural engineering.

[37]  D. Reato,et al.  Gyri-precise head model of transcranial direct current stimulation: Improved spatial focality using a ring electrode versus conventional rectangular pad , 2009, Brain Stimulation.

[38]  M. Bikson,et al.  Electrode Positioning and Montage in Transcranial Direct Current Stimulation , 2011, Journal of visualized experiments : JoVE.

[39]  A. Antal,et al.  Transcranial alternating current stimulation (tACS) , 2013, Front. Hum. Neurosci..

[40]  C H Wolters,et al.  Accuracy and run-time comparison for different potential approaches and iterative solvers in finite element method based EEG source analysis. , 2009, Applied numerical mathematics : transactions of IMACS.

[41]  M. Hallett,et al.  A finite element analysis of the effect of electrode area and inter-electrode distance on the spatial distribution of the current density in tDCS , 2011, Journal of neural engineering.

[42]  M. Ferrari,et al.  Object‐Oriented Design Tools for Supramolecular Devices and Biomedical Nanotechnology , 2004, Annals of the New York Academy of Sciences.

[43]  Masako Okamoto,et al.  Three-dimensional probabilistic anatomical cranio-cerebral correlation via the international 10–20 system oriented for transcranial functional brain mapping , 2004, NeuroImage.

[44]  Adam J. Woods,et al.  Dosage Considerations for Transcranial Direct Current Stimulation in Children: A Computational Modeling Study , 2013, PloS one.

[45]  Gerhard Zumbusch,et al.  Software Tools for Multigrid Methods , 2003 .

[46]  Svjetlana Miocinovic,et al.  Computational analysis of subthalamic nucleus and lenticular fasciculus activation during therapeutic deep brain stimulation. , 2006, Journal of neurophysiology.

[47]  W. Paulus,et al.  Towards unravelling task-related modulations of neuroplastic changes induced in the human motor cortex , 2008, Brain Stimulation.

[48]  Alvaro Pascual-Leone,et al.  Effects of transcranial direct current stimulation on working memory in patients with Parkinson's disease , 2006, Journal of the Neurological Sciences.

[49]  Amy Henderson Squilacote The Paraview Guide , 2008 .

[50]  Alexander Opitz,et al.  Electric field calculations in brain stimulation based on finite elements: An optimized processing pipeline for the generation and usage of accurate individual head models , 2013, Human brain mapping.

[51]  Igor Meglinski,et al.  Online object oriented Monte Carlo computational tool for the needs of biomedical optics , 2011, Biomedical optics express.

[52]  A. Schweikard,et al.  Finite element simulation of transcranial current stimulation in realistic rat head model , 2011, 2011 5th International IEEE/EMBS Conference on Neural Engineering.

[53]  Felipe Fregni,et al.  Non-invasive brain stimulation to assess and modulate neuroplasticity in Alzheimer's disease , 2011, Neuropsychological rehabilitation.