<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v2.3 20070202//EN" "journalpublishing.dtd">
<article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" article-type="research-article">
<front>
<journal-meta>
<journal-id journal-id-type="publisher-id">Front. Phys.</journal-id>
<journal-title>Frontiers in Physics</journal-title>
<abbrev-journal-title abbrev-type="pubmed">Front. Phys.</abbrev-journal-title>
<issn pub-type="epub">2296-424X</issn>
<publisher>
<publisher-name>Frontiers Media S.A.</publisher-name>
</publisher>
</journal-meta>
<article-meta>
<article-id pub-id-type="doi">10.3389/fphy.2017.00048</article-id>
<article-categories>
<subj-group subj-group-type="heading">
<subject>Physics</subject>
<subj-group>
<subject>Original Research</subject>
</subj-group>
</subj-group>
</article-categories>
<title-group>
<article-title>A Cell-Based Framework for Numerical Modeling of Electrical Conduction in Cardiac Tissue</article-title>
</title-group>
<contrib-group>
<contrib contrib-type="author" corresp="yes">
<name><surname>Tveito</surname> <given-names>Aslak</given-names></name>
<xref ref-type="aff" rid="aff1"><sup>1</sup></xref>
<xref ref-type="aff" rid="aff2"><sup>2</sup></xref>
<xref ref-type="author-notes" rid="fn001"><sup>&#x0002A;</sup></xref>
<uri xlink:href="http://loop.frontiersin.org/people/79523/overview"/>
</contrib>
<contrib contrib-type="author">
<name><surname>J&#x000E6;ger</surname> <given-names>Karoline H.</given-names></name>
<xref ref-type="aff" rid="aff1"><sup>1</sup></xref>
<uri xlink:href="http://loop.frontiersin.org/people/433240/overview"/>
</contrib>
<contrib contrib-type="author">
<name><surname>Kuchta</surname> <given-names>Miroslav</given-names></name>
<xref ref-type="aff" rid="aff1"><sup>1</sup></xref>
<xref ref-type="aff" rid="aff3"><sup>3</sup></xref>
<uri xlink:href="http://loop.frontiersin.org/people/452866/overview"/>
</contrib>
<contrib contrib-type="author">
<name><surname>Mardal</surname> <given-names>Kent-Andre</given-names></name>
<xref ref-type="aff" rid="aff1"><sup>1</sup></xref>
<xref ref-type="aff" rid="aff3"><sup>3</sup></xref>
<uri xlink:href="http://loop.frontiersin.org/people/482959/overview"/>
</contrib>
<contrib contrib-type="author">
<name><surname>Rognes</surname> <given-names>Marie E.</given-names></name>
<xref ref-type="aff" rid="aff1"><sup>1</sup></xref>
<uri xlink:href="http://loop.frontiersin.org/people/482572/overview"/>
</contrib>
</contrib-group>
<aff id="aff1"><sup>1</sup><institution>Simula Research Laboratory, Center for Biomedical Computing</institution>, <addr-line>Lysaker</addr-line>, <country>Norway</country></aff>
<aff id="aff2"><sup>2</sup><institution>Department of Informatics, University of Oslo</institution>, <addr-line>Oslo</addr-line>, <country>Norway</country></aff>
<aff id="aff3"><sup>3</sup><institution>Department of Mathematics, University of Oslo</institution>, <addr-line>Oslo</addr-line>, <country>Norway</country></aff>
<author-notes>
<fn fn-type="edited-by"><p>Edited by: Christian F. Klingenberg, University of W&#x000FC;rzburg, Germany</p></fn>
<fn fn-type="edited-by"><p>Reviewed by: Edward Joseph Vigmond, Universit&#x000E9; de Bordeaux, France; Edoardo Milotti, University of Trieste, Italy</p></fn>
<fn fn-type="corresp" id="fn001"><p>&#x0002A;Correspondence: Aslak Tveito <email>aslak&#x00040;simula.no</email></p></fn>
<fn fn-type="other" id="fn002"><p>This article was submitted to Computational Physics, a section of the journal Frontiers in Physics</p></fn></author-notes>
<pub-date pub-type="epub">
<day>10</day>
<month>10</month>
<year>2017</year>
</pub-date>
<pub-date pub-type="collection">
<year>2017</year>
</pub-date>
<volume>5</volume>
<elocation-id>48</elocation-id>
<history>
<date date-type="received">
<day>21</day>
<month>06</month>
<year>2017</year>
</date>
<date date-type="accepted">
<day>25</day>
<month>09</month>
<year>2017</year>
</date>
</history>
<permissions>
<copyright-statement>Copyright &#x000A9; 2017 Tveito, J&#x000E6;ger, Kuchta, Mardal and Rognes.</copyright-statement>
<copyright-year>2017</copyright-year>
<copyright-holder>Tveito, J&#x000E6;ger, Kuchta, Mardal and Rognes</copyright-holder>
<license xlink:href="http://creativecommons.org/licenses/by/4.0/"><p>This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) or licensor are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.</p></license>
</permissions>
<abstract>
<p>In this paper, we study a mathematical model of cardiac tissue based on explicit representation of individual cells. In this EMI model, the extracellular (E) space, the cell membrane (M), and the intracellular (I) space are represented as separate geometrical domains. This representation introduces modeling flexibility needed for detailed representation of the properties of cardiac cells including their membrane. In particular, we will show that the model allows ion channels to be non-uniformly distributed along the membrane of the cell. Such features are difficult to include in classical homogenized models like the monodomain and bidomain models frequently used in computational analyses of cardiac electrophysiology. The EMI model is solved using a finite difference method (FDM) and two variants of the finite element method (FEM). We compare the three schemes numerically, reporting on CPU-efforts and convergence rates. Finally, we illustrate the distinctive capabilities of the EMI model compared to classical models by simulating monolayers of cardiac cells with heterogeneous distributions of ionic channels along the cell membrane. Because of the detailed representation of every cell, the computational problems that result from using the EMI model are much larger than for the classical homogenized models, and thus represent a computational challenge. However, our numerical simulations indicate that the FDM scheme is optimal in the sense that the computational complexity increases proportionally to the number of cardiac cells in the model. Moreover, we present simulations, based on systems of equations involving &#x0007E;117 million unknowns, representing up to &#x0007E;16,000 cells. We conclude that collections of cardiac cells can be simulated using the EMI model, and that the EMI model enable greater modeling flexibility than the classical monodomain and bidomain models.</p>
</abstract>
<kwd-group>
<kwd>transmembrane potential</kwd>
<kwd>finite difference method</kwd>
<kwd>finite element method</kwd>
<kwd>cell modeling</kwd>
<kwd>conduction velocity</kwd>
</kwd-group>
<counts>
<fig-count count="9"/>
<table-count count="10"/>
<equation-count count="36"/>
<ref-count count="87"/>
<page-count count="18"/>
<word-count count="13467"/>
</counts>
</article-meta>
</front>
<body>
<sec sec-type="intro" id="s1">
<title>1. Introduction</title>
<p>The pumping function of the heart is governed by an electrochemical wave traversing the entire cardiac muscle resulting in the muscle&#x00027;s synchronized contraction. This electrochemical wave has been subject to intense study over many decades and mathematical models have played an essential role in understanding its properties. However, these models are based on homogenization of the cardiac tissue, which imposes limitations on the level of detail that can be studied by the models. For instance, the details of the dynamics surrounding a single cell are difficult to study using classical homogenized models simply because the single cell is not present in such models.</p>
<p>In this paper, we consider an emerging mathematical modeling framework for representing and simulating excitable cells in general and cardiac cells in particular. In this framework, the extracellular space, the cell membranes, and the intracellular spaces are explicitly represented as separate physical and geometrical objects. The state variables are the extracellular, membrane, and intracellular potentials defined over the corresponding domains. We refer to this framework as the EMI (Extracellular-Membrane-Intracellular) model. This approach has been applied in several earlier papers (e.g., [<xref ref-type="bibr" rid="B1">1</xref>&#x02013;<xref ref-type="bibr" rid="B7">7</xref>]), which used the EMI framework (or related approaches) for detailed simulations of a single cell or a small number of cells. Indeed, the presentation here is very much motivated by the formulation presented by Stinstra et al. [<xref ref-type="bibr" rid="B5">5</xref>] and by Agudelo-Toro and Neef [<xref ref-type="bibr" rid="B4">4</xref>]. Furthermore, the EMI approach was used to study the effect of the ephaptic coupling of neurons in Tveito et al. [<xref ref-type="bibr" rid="B8">8</xref>].</p>
<p>The EMI framework represents an alternative to the classical and more common bidomain or monodomain models. These latter models are based on homogenization of the cardiac tissue and the extracellular space, the intracellular space, and the cell membrane are all assumed to exist everywhere (e.g., [<xref ref-type="bibr" rid="B9">9</xref>&#x02013;<xref ref-type="bibr" rid="B13">13</xref>]). In the following, when we refer to homogenized models, we will refer to models of the monodomain or bidomain type. In contrast, the EMI approach avoids this full homogenization at the tissue level. Note however, that homogenization is also used in the EMI approach to formulate equations for the intracellular domain and the extracellular domain.</p>
<p>The classical models (monodomain, bidomain) have been successfully used to study the propagation of the electrochemical wave in cardiac tissue (e.g., [<xref ref-type="bibr" rid="B14">14</xref>&#x02013;<xref ref-type="bibr" rid="B16">16</xref>]), the initiation of excitation waves (e.g., [<xref ref-type="bibr" rid="B17">17</xref>&#x02013;<xref ref-type="bibr" rid="B21">21</xref>]), the development of cardiac arrhythmias (e.g., [<xref ref-type="bibr" rid="B14">14</xref>, <xref ref-type="bibr" rid="B17">17</xref>, <xref ref-type="bibr" rid="B18">18</xref>]), the effect of defibrillation (e.g., [<xref ref-type="bibr" rid="B22">22</xref>&#x02013;<xref ref-type="bibr" rid="B28">28</xref>]), and the effect of various drugs (e.g., [<xref ref-type="bibr" rid="B29">29</xref>&#x02013;<xref ref-type="bibr" rid="B32">32</xref>]).</p>
<p>Despite the many successful applications of the monodomain and bidomain models, there are a number of motivating factors for introducing a more explicit, more accurate, and more detailed framework for modeling cardiac tissue. We address some of these factors in the following paragraphs.</p>
<sec>
<title>1.1. Homogenized models may be insufficient to represent details of the remodeling of the heart</title>
<p>Although, classical models represent the big picture of the electrochemical wave traversing cardiac tissue well, they may fail to reveal the finer details of cardiac conduction. For example, it is well-established that local perturbations to the conduction velocity may be arrhythmogenic; in particular, slowed conduction will increase the risk of arrhythmias [<xref ref-type="bibr" rid="B33">33</xref>]. It is therefore essential to understand how various remodelings of the heart affect the conduction velocity. Individual perturbations of the size and shape of the cardiac cells clearly affect the conduction velocity (e.g., [<xref ref-type="bibr" rid="B34">34</xref>]), but such changes are very hard to represent in a classical homogenized model, since a detailed representation of the individual cells in the tissue is needed. Furthermore, local density distributions of ion channels on the cell membrane will affect local conduction properties and such effects are also very hard, if even possible, to represent in the classical models.</p>
</sec>
<sec>
<title>1.2. Homogenized models are unsuitable for addressing the ephaptic coupling of cardiac cells</title>
<p>The electrical conduction of the heart is believed to depend on direct cell-to-cell contact realized in terms of gap junctions (e.g., [<xref ref-type="bibr" rid="B35">35</xref>&#x02013;<xref ref-type="bibr" rid="B37">37</xref>]). These connections are reduced under heart failure, resulting in impaired conduction velocity that may in turn increase the probability of arrhythmias (e.g., [<xref ref-type="bibr" rid="B38">38</xref>, <xref ref-type="bibr" rid="B37">37</xref>]). However, even when conduction through gap junctions is significantly reduced, electrical signals are still conducted (e.g., [<xref ref-type="bibr" rid="B39">39</xref>]). This conduction is believed to rely on ephaptic coupling between neighboring cells via the extracellular space. The effect depends on the shape and size of the extracellular space and is thus not directly amenable to analysis via the homogenized bidomain or monodomain models.</p>
</sec>
<sec>
<title>1.3. Simulating cell monolayers is of increasing significance</title>
<p>The number of cardiomyocytes in the human ventricles can be estimated to be around 8 billion (e.g., [<xref ref-type="bibr" rid="B40">40</xref>]), and the number is close to 4 million for the mouse heart (e.g., [<xref ref-type="bibr" rid="B41">41</xref>]). In both cases, a homogenized model may be justified by the large number of cells involved. However, for experimental setups with monolayers of cardiac cells, the number of cells is much lower (hundreds or a few thousands) and the validity of the homogenized continuum approach becomes questionable. The EMI model, on the other hand, is very well suited, since it represents every individual cell. The ability to faithfully simulate monolayers of cardiac cells has become very important since it has become possible to simultaneously measure the transmembrane potential and the intracellular calcium concentration (e.g., [<xref ref-type="bibr" rid="B42">42</xref>]). Therefore, at least in principle, the inversion of spatial models of monolayers may be applied to characterize properties of single cells using monolayer experiments. This is particularly important because of the development of human induced pluripotent stem cells (hi-PSC). Based on skin samples, such cells can be used to derive cardiac cells with certain properties identical to a patient&#x00027;s cardiac cells. Therefore, this technology is believed to have great potential in the development of personalized drugs for rare diseases (e.g., [<xref ref-type="bibr" rid="B43">43</xref>&#x02013;<xref ref-type="bibr" rid="B45">45</xref>]).</p>
</sec>
<sec>
<title>1.4. Available computational power allows for cell size resolution</title>
<p>Twenty-five years ago, the best mathematical model of cardiac tissue was solved using 257 computational nodes [<xref ref-type="bibr" rid="B12">12</xref>, <xref ref-type="bibr" rid="B46">46</xref>]. At that time, an accurate representation of cardiac tissue in terms of the representation of individual cells was inconceivable for reasons of both storage and computing time. This has changed dramatically; in recent computational studies, 29 million computational nodes were used to represent cardiac tissue [<xref ref-type="bibr" rid="B27">27</xref>, <xref ref-type="bibr" rid="B47">47</xref>]. The computational mesh size in these simulations was about 59 &#x003BC;m, which should be compared with 100 &#x003BC;m, the typical length of a cardiac cell. This means that current simulators of the electrophysiology of the heart are, at least in principle, able to resolve features at the individual cell level.</p>
<p>The main purpose of the present paper is to assess the computational challenges of the EMI modeling framework. We will show how the model&#x00027;s complexity increases as the number of cardiac cells in the simulations increases and how the complexity of the membrane model affects the overall CPU demands.Furthermore, we will demonstrate that the EMI framework opens the possibility of simulating local properties of the cell that are hard to represent in homogenized models.</p>
<p>We introduce an operator splitting scheme for the EMI model and propose and compare three numerical schemes for the discretization of the resulting partial differential equations (PDEs): one finite difference-based (FDM) and two finite element-based (FEM) schemes of various degrees of complexity, computational cost, and accuracy. We compare the three schemes numerically in terms of convergence rates and computational cost. Moreover, to illustrate the distinctive capabilities of the EMI model, we present new results for simulating monolayers of cardiac cells with spatially heterogeneous distributions of ionic channels across the cell membrane.</p>
<p>Our results demonstrate that the EMI approach is computationally feasible: We can solve systems relevant for simulating monolayers of cardiac cells with sufficient resolution. Moreover, we show, using numerical computations based on the FDM code, that the computational effort per cell is bounded independently of the number of cardiac cells, and thus that the effort increases at most linearly with the number of cells.</p>
</sec>
<sec>
<title>1.5. Outline</title>
<p>In the next section, we will present the EMI model and three numerical methods used to solve the model. Next, we will discuss the numerical accuracy of the solutions, show convergence under mesh refinements, and assess the methods&#x00027; CPU demands. To illustrate the ability to model local properties of individual cells, we present an example showing the difference in the conduction velocity of cells with uniform and non-uniform distributions of sodium channels. In the final sections, the results will be summarized and discussed.</p>
</sec>
</sec>
<sec id="s2">
<title>2. Models and methods</title>
<p>In this section, we present the EMI model and numerical methods for solving the corresponding set of equations.</p>
<sec>
<title>2.1. The EMI model</title>
<p>We will use the EMI model to simulate collections of cardiac cells. However, to present the model, it is sufficient to consider the case of two coupled cells.</p>
<p>We assume that the complete computational domain consists of intracellular spaces <inline-formula><mml:math id="M1"><mml:msubsup><mml:mrow><mml:mo>&#x003A9;</mml:mo></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula>, with <italic>k</italic> &#x0003D; 1, 2 in the case of two cells, that are connected by gap junctions &#x00393;<sub>1,2</sub> and surrounded by a connected extracellular space &#x003A9;<sub><italic>e</italic></sub>. The membrane is defined to be the intersection between each intracellular domain <inline-formula><mml:math id="M2"><mml:msubsup><mml:mrow><mml:mo>&#x003A9;</mml:mo></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> and the extracellular domain and is denoted by &#x00393;<sub><italic>k</italic></sub>, while the remaining boundary of the extracellular domain is denoted by &#x02202;&#x003A9;<sub><italic>e</italic></sub>. Figure <xref ref-type="fig" rid="F1">1</xref> illustrates a two-dimensional (2D) version of this setup, showing two connected cells surrounded by extracellular space. In our computations (except in the first simple test case with an analytical solution) all cells are 3D and the cells can be connected in one-, two-, or three-dimensional collections. In one-dimensional strands of cells, the cell coupling is as illustrated in Figure <xref ref-type="fig" rid="F1">1</xref>; for two and three-dimensional collections of cells, the coupling in the <italic>y</italic>- and <italic>z</italic>-directions are similar to the <italic>x</italic>-coupling illustrated in the figure.</p>
<fig id="F1" position="float">
<label>Figure 1</label>
<caption><p>Illustration of an idealized computational domain: two idealized cells <inline-formula><mml:math id="M26"><mml:msubsup><mml:mrow><mml:mo>&#x003A9;</mml:mo></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msubsup></mml:math></inline-formula> and <inline-formula><mml:math id="M27"><mml:msubsup><mml:mrow><mml:mo>&#x003A9;</mml:mo></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup></mml:math></inline-formula> connected by a gap junction &#x00393;<sub>1,2</sub> and the surrounding extracellular domain &#x003A9;<sub><italic>e</italic></sub>.</p></caption>
<graphic xlink:href="fphy-05-00048-g0001.tif"/>
</fig>
<p>For the case illustrated in Figure <xref ref-type="fig" rid="F1">1</xref>, the EMI model can be formulated as follows: Find the extracellular potential <italic>u</italic><sub><italic>e</italic></sub> defined over &#x003A9;<sub><italic>e</italic></sub>, the intracellular potentials <inline-formula><mml:math id="M3"><mml:msubsup><mml:mrow><mml:mi>u</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> defined over <inline-formula><mml:math id="M4"><mml:msubsup><mml:mrow><mml:mo>&#x003A9;</mml:mo></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula>, and the transmembrane potentials <italic>v</italic><sup><italic>k</italic></sup> defined over &#x00393;<sub><italic>k</italic></sub> for <italic>k</italic> &#x0003D; 1, 2 and <italic>w</italic> defined over &#x00393;<sub>1,2</sub> satisfying</p>
<disp-formula id="E1"><label>(1)</label><mml:math id="M5"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:mo>&#x02207;</mml:mo><mml:mo>&#x000B7;</mml:mo><mml:msub><mml:mrow><mml:mo>&#x003C3;</mml:mo></mml:mrow><mml:mrow><mml:mi>e</mml:mi></mml:mrow></mml:msub><mml:mo>&#x02207;</mml:mo><mml:msub><mml:mrow><mml:mi>u</mml:mi></mml:mrow><mml:mrow><mml:mi>e</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mn>0</mml:mn><mml:mtext>&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;in&#x000A0;</mml:mtext><mml:msub><mml:mrow><mml:mo>&#x003A9;</mml:mo></mml:mrow><mml:mrow><mml:mi>e</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<disp-formula id="E2"><label>(2)</label><mml:math id="M6"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:mo>&#x02207;</mml:mo><mml:mo>&#x000B7;</mml:mo><mml:msub><mml:mrow><mml:mo>&#x003C3;</mml:mo></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>&#x02207;</mml:mo><mml:msubsup><mml:mrow><mml:mi>u</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:mn>0</mml:mn><mml:mtext>&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;in&#x000A0;</mml:mtext><mml:msubsup><mml:mrow><mml:mo>&#x003A9;</mml:mo></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msubsup><mml:mo>,</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<disp-formula id="E3"><label>(3)</label><mml:math id="M7"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:msub><mml:mrow><mml:mi>u</mml:mi></mml:mrow><mml:mrow><mml:mi>e</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mn>0</mml:mn><mml:mtext>&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;at&#x000A0;</mml:mtext><mml:mo>&#x02202;</mml:mo><mml:msub><mml:mrow><mml:mo>&#x003A9;</mml:mo></mml:mrow><mml:mrow><mml:mi>e</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<disp-formula id="E4"><label>(4)</label><mml:math id="M8"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:msub><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>e</mml:mi></mml:mrow></mml:msub><mml:mo>&#x000B7;</mml:mo><mml:msub><mml:mrow><mml:mo>&#x003C3;</mml:mo></mml:mrow><mml:mrow><mml:mi>e</mml:mi></mml:mrow></mml:msub><mml:mo>&#x02207;</mml:mo><mml:msub><mml:mrow><mml:mi>u</mml:mi></mml:mrow><mml:mrow><mml:mi>e</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mo>-</mml:mo><mml:msubsup><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msubsup><mml:mo>&#x000B7;</mml:mo><mml:msub><mml:mrow><mml:mo>&#x003C3;</mml:mo></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>&#x02207;</mml:mo><mml:msubsup><mml:mrow><mml:mi>u</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msubsup><mml:mo>&#x02261;</mml:mo><mml:msubsup><mml:mrow><mml:mi>I</mml:mi></mml:mrow><mml:mrow><mml:mi>m</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msubsup><mml:mtext>&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;at&#x000A0;</mml:mtext><mml:msub><mml:mrow><mml:mo>&#x00393;</mml:mo></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<disp-formula id="E5"><label>(5)</label><mml:math id="M9"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:msubsup><mml:mrow><mml:mi>u</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msubsup><mml:mo>-</mml:mo><mml:msub><mml:mrow><mml:mi>u</mml:mi></mml:mrow><mml:mrow><mml:mi>e</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:msup><mml:mrow><mml:mi>v</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msup><mml:mtext>&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;at&#x000A0;</mml:mtext><mml:msub><mml:mrow><mml:mo>&#x00393;</mml:mo></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<disp-formula id="E6"><label>(6)</label><mml:math id="M10"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:msubsup><mml:mrow><mml:mi>v</mml:mi></mml:mrow><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>C</mml:mi></mml:mrow><mml:mrow><mml:mi>m</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfrac><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msubsup><mml:mrow><mml:mi>I</mml:mi></mml:mrow><mml:mrow><mml:mi>m</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msubsup><mml:mo>-</mml:mo><mml:msubsup><mml:mrow><mml:mi>I</mml:mi></mml:mrow><mml:mrow><mml:mtext>ion</mml:mtext></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msubsup></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mtext>&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;at&#x000A0;</mml:mtext><mml:msub><mml:mrow><mml:mo>&#x00393;</mml:mo></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<disp-formula id="E7"><label>(7)</label><mml:math id="M11"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:msubsup><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup><mml:mo>&#x000B7;</mml:mo><mml:msub><mml:mrow><mml:mo>&#x003C3;</mml:mo></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>&#x02207;</mml:mo><mml:msubsup><mml:mrow><mml:mi>u</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:mo>-</mml:mo><mml:msubsup><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msubsup><mml:mo>&#x000B7;</mml:mo><mml:msub><mml:mrow><mml:mo>&#x003C3;</mml:mo></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>&#x02207;</mml:mo><mml:msubsup><mml:mrow><mml:mi>u</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msubsup><mml:mo>&#x02261;</mml:mo><mml:msub><mml:mrow><mml:mi>I</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mtext>&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;at&#x000A0;</mml:mtext><mml:msub><mml:mrow><mml:mo>&#x00393;</mml:mo></mml:mrow><mml:mrow><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mo>,</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<disp-formula id="E8"><label>(8)</label><mml:math id="M12"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:msubsup><mml:mrow><mml:mi>u</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msubsup><mml:mo>-</mml:mo><mml:msubsup><mml:mrow><mml:mi>u</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:mi>w</mml:mi><mml:mtext>&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;at&#x000A0;</mml:mtext><mml:msub><mml:mrow><mml:mo>&#x00393;</mml:mo></mml:mrow><mml:mrow><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mo>,</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<disp-formula id="E9"><label>(9)</label><mml:math id="M13"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:msub><mml:mrow><mml:mi>w</mml:mi></mml:mrow><mml:mrow><mml:mi>t</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>C</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mn>2</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mfrac><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>I</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mo>-</mml:mo><mml:msub><mml:mrow><mml:mi>I</mml:mi></mml:mrow><mml:mrow><mml:mtext>gap</mml:mtext></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mtext>&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;at&#x000A0;</mml:mtext><mml:msub><mml:mrow><mml:mo>&#x00393;</mml:mo></mml:mrow><mml:mrow><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mo>,</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>for <italic>k</italic> &#x0003D; 1, 2. Here, <italic>n</italic><sub><italic>e</italic></sub> is the normal pointing out from &#x003A9;<sub><italic>e</italic></sub> and <inline-formula><mml:math id="M14"><mml:msubsup><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> is the (outward) normal pointing out from <inline-formula><mml:math id="M15"><mml:msubsup><mml:mrow><mml:mo>&#x003A9;</mml:mo></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> for <italic>k</italic> &#x0003D; 1, 2; &#x003C3;<sub><italic>i</italic></sub> and &#x003C3;<sub><italic>e</italic></sub> are the intracellular and extracellular conductivities, respectively; <inline-formula><mml:math id="M16"><mml:msubsup><mml:mrow><mml:mi>I</mml:mi></mml:mrow><mml:mrow><mml:mtext>ion</mml:mtext></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> represents the ionic current density, which typically depends on additional state variables such as ionic concentrations; and <italic>I</italic><sub>gap</sub> represents the gap junction current density. In terms of units, the potentials <italic>u</italic><sub><italic>e</italic></sub>, <inline-formula><mml:math id="M17"><mml:msubsup><mml:mrow><mml:mi>u</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula>, <italic>v</italic><sup><italic>k</italic></sup>, and <italic>w</italic> are given in mV; the current densities <inline-formula><mml:math id="M18"><mml:msubsup><mml:mrow><mml:mi>I</mml:mi></mml:mrow><mml:mrow><mml:mi>m</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula>, <inline-formula><mml:math id="M19"><mml:msubsup><mml:mrow><mml:mi>I</mml:mi></mml:mrow><mml:mrow><mml:mtext>ion</mml:mtext></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula>, <italic>I</italic><sub>1,2</sub>, and <italic>I</italic><sub>gap</sub> are given in &#x003BC;A/cm<sup>2</sup>; the conductivities &#x003C3;<sub><italic>i</italic></sub> and &#x003C3;<sub><italic>e</italic></sub> are given in mS/cm; the capacitances <italic>C</italic><sub><italic>m</italic></sub> and <italic>C</italic><sub>1,2</sub> are given in &#x003BC;F/cm<sup>2</sup>; length is given in cm; and time is given in ms. In the following, we will refer to (1&#x02013;9) as the EMI model. For brevity, we will write <italic>u</italic><sub><italic>i</italic></sub> in place of <inline-formula><mml:math id="M20"><mml:msubsup><mml:mrow><mml:mi>u</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula>, <italic>v</italic> in place of <italic>v</italic><sup><italic>k</italic></sup>, <italic>I</italic><sub>ion</sub> in place of <inline-formula><mml:math id="M21"><mml:msubsup><mml:mrow><mml:mi>I</mml:mi></mml:mrow><mml:mrow><mml:mtext>ion</mml:mtext></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> and &#x00393; in place of &#x00393;<sub><italic>k</italic></sub> for <italic>k</italic> &#x0003D; 1, 2 when context allows.</p>
</sec>
<sec>
<title>2.2. Membrane model</title>
<p>In our computations, we will consider both a passive and an active model for the dynamics on the cell membrane between the intracellular and extracellular spaces. In the passive model, <italic>I</italic><sub>ion</sub> is given by the linear model</p>
<disp-formula id="E10"><label>(10)</label><mml:math id="M22"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:msub><mml:mrow><mml:mi>I</mml:mi></mml:mrow><mml:mrow><mml:mtext class="textrm" mathvariant="normal">ion</mml:mtext></mml:mrow></mml:msub><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>v</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>R</mml:mi></mml:mrow><mml:mrow><mml:mi>m</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfrac><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>v</mml:mi><mml:mo>-</mml:mo><mml:msub><mml:mrow><mml:mi>v</mml:mi></mml:mrow><mml:mrow><mml:mtext class="textrm" mathvariant="normal">rest</mml:mtext></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>,</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>where <italic>R</italic><sub><italic>m</italic></sub> represents the resistance of the passive membrane (in k&#x003A9;cm<sup>2</sup>) and <italic>v</italic><sub>rest</sub> denotes the resting potential of the membrane. In the active model, we let <italic>I</italic><sub>ion</sub> be represented by the action potential (AP) model of Grandi et al. [<xref ref-type="bibr" rid="B48">48</xref>]. In this case, Equation (6) is replaced by a system of the form</p>
<disp-formula id="E11"><label>(11)</label><mml:math id="M23"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:msub><mml:mrow><mml:mi>v</mml:mi></mml:mrow><mml:mrow><mml:mi>t</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>C</mml:mi></mml:mrow><mml:mrow><mml:mi>m</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfrac><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>I</mml:mi></mml:mrow><mml:mrow><mml:mi>m</mml:mi></mml:mrow></mml:msub><mml:mo>-</mml:mo><mml:msub><mml:mrow><mml:mi>I</mml:mi></mml:mrow><mml:mrow><mml:mtext>ion</mml:mtext></mml:mrow></mml:msub><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>v</mml:mi><mml:mo>,</mml:mo><mml:mi>s</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>,</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<disp-formula id="E12"><label>(12)</label><mml:math id="M24"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>t</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mi>F</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>v</mml:mi><mml:mo>,</mml:mo><mml:mi>s</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>,</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>where <italic>v</italic> represents the membrane potential and <italic>s</italic> represents a collection of additional state variables introduced in the AP model. Furthermore, <italic>I</italic><sub>ion</sub> represents the sum of the ionic current densities across the membrane through a number of different types of ion channels, pumps, and exchangers and <italic>F</italic>(<italic>v, s</italic>) represents the ordinary differential equations (ODEs) describing the dynamics of the additional state variables. The Grandi model is implemented by defining a membrane potential <italic>v</italic> and a set of state variables <italic>s</italic> for each of the membrane nodes of the mesh. We let all state variables of the Grandi model, including the intracellular ionic concentrations, be defined only on the mesh nodes located on the cell membrane, and we allow the value of these variables to vary for different membrane nodes located on the same cell. The values of the state variables are updated in each time step using an operator splitting scheme described below. Intracellular and extracellular gradients of the ionic concentrations are ignored (see comment in section 4).</p>
<p>Finally, we represent the gap junction between neighboring cells by a passive membrane:</p>
<disp-formula id="E13"><label>(13)</label><mml:math id="M25"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:msub><mml:mrow><mml:mi>I</mml:mi></mml:mrow><mml:mrow><mml:mtext class="textrm" mathvariant="normal">gap</mml:mtext></mml:mrow></mml:msub><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>w</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>R</mml:mi></mml:mrow><mml:mrow><mml:mtext>gap</mml:mtext></mml:mrow></mml:msub></mml:mrow></mml:mfrac><mml:mi>w</mml:mi><mml:mo>,</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>where <italic>R</italic><sub>gap</sub> represents the resistance of the passive membrane (in k&#x003A9;cm<sup>2</sup>). A discussion of the modeling of the gap-junctions is given in Hogues et al. [<xref ref-type="bibr" rid="B1">1</xref>] where a boundary element method is used to solve a model similar to the system (1&#x02013;9).</p>
</sec>
<sec>
<title>2.3. Operator splitting scheme</title>
<p>The ionic current density <italic>I</italic><sub><italic>ion</italic></sub> entering the EMI model through (6) typically introduce a significant number of additional states [e.g., as in (11)]. For this reason, we consider an operator splitting approach to solve the EMI model defined by (1&#x02013;9).</p>
<p>The system (1&#x02013;9) is solved by first applying given initial conditions for <italic>v</italic> and <italic>w</italic>. Then, for each time step <italic>n</italic>, we assume that the solutions <italic>v</italic><sup><italic>n</italic>&#x02212;1</sup> and <italic>w</italic><sup><italic>n</italic>&#x02212;1</sup> are known for <italic>t</italic> &#x0003D; <italic>t</italic><sub><italic>n</italic>&#x02212;1</sub> on &#x00393; and &#x00393;<sub>1,2</sub> respectively. We then find the solutions at <italic>t</italic> &#x0003D; <italic>t</italic><sub><italic>n</italic></sub> using a two-step (first-order) operator splitting procedure, but note that a three-step (second-order) operator splitting could equally well be used (e.g., [<xref ref-type="bibr" rid="B11">11</xref>]).</p>
<p>In the first step, we update the solutions for the membrane potential by solving a system of ODEs of the form (11) and (12) over &#x00393; with <italic>I</italic><sub><italic>m</italic></sub> set equal to zero. In the following numerical experiments, the ODE system (11) and (12) is solved by taking <italic>m</italic> forward Euler steps of size &#x00394;<italic>t</italic><sup>&#x0002A;</sup> &#x0003D; &#x00394;<italic>t</italic>/<italic>m</italic> for each global time step, though any other suitable ODE scheme could be used.</p>
<p>In the second (PDE) step of the operator splitting procedure, we solve the linear system arising from an implicit discretization in time and space of (1&#x02013;9) with <inline-formula><mml:math id="M28"><mml:msubsup><mml:mrow><mml:mi>I</mml:mi></mml:mrow><mml:mrow><mml:mtext>ion</mml:mtext></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msubsup></mml:math></inline-formula> and <inline-formula><mml:math id="M29"><mml:msubsup><mml:mrow><mml:mi>I</mml:mi></mml:mrow><mml:mrow><mml:mtext>ion</mml:mtext></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup></mml:math></inline-formula> set to zero. For the discretization in time of (6) and (9), we use an implicit Euler scheme using the solution from the first (ODE) step of the operator splitting scheme as the previous state.</p>
<p>When a linear model for <italic>I</italic><sub><italic>ion</italic></sub> is considered, the first (ODE) step of the splitting scheme is redundant and thus omitted, and <inline-formula><mml:math id="M30"><mml:msubsup><mml:mrow><mml:mi>I</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mi>o</mml:mi><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> for <italic>k</italic> &#x0003D; 1, 2 is kept in the PDE step, altering the linear system to be solved.</p>
<p>We propose and compare three different approaches for the spatial discretization of the PDE step in this study, each presented in the following sections. For the numerical experiments, the finite difference method (FDM) was implemented directly in MATLAB, while the finite element methods (FEMs) were implemented using the FEniCS finite element library [<xref ref-type="bibr" rid="B49">49</xref>, <xref ref-type="bibr" rid="B50">50</xref>]. All computations were run on a Dell PowerEdge R430 with dual Intel Xeon processors (E5-2623 v4 2.60 GHz) and 12 x 32 GB RDIMM; each processor runs four kernels with two threads each.</p>
<sec>
<title>2.3.1. Finite difference method for solving the EMI PDEs</title>
<p>We first consider a finite difference scheme for solving the PDE step of the EMI model as defined above. To simplify the notation, we describe here the 2D case only; the extension to three dimensions is immediate. The spatial discretization employed here is taken from Tveito et al. [<xref ref-type="bibr" rid="B8">8</xref>].</p>
<p>Figure <xref ref-type="fig" rid="F2">2</xref> shows the four different types of nodes used in the computations. Nodes marked by &#x000D7; represent the extracellular domain. In these nodes, we define a single unknown, <italic>u</italic><sub><italic>e</italic></sub>. Similarly, nodes marked by &#x025E6; represent the intracellular domain (either <inline-formula><mml:math id="M32"><mml:msubsup><mml:mrow><mml:mo>&#x003A9;</mml:mo></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msubsup></mml:math></inline-formula> or <inline-formula><mml:math id="M33"><mml:msubsup><mml:mrow><mml:mo>&#x003A9;</mml:mo></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup></mml:math></inline-formula>) and we define a single unknown <italic>u</italic><sub><italic>i</italic></sub> for these nodes. Nodes marked by &#x02297; represent the membrane between the intracellular and the extracellular space (&#x00393; &#x0003D; &#x00393;<sub>1</sub> &#x0222A; &#x00393;<sub>2</sub>). For these nodes, we define three unknowns: <italic>u</italic><sub><italic>e</italic></sub>, <italic>u</italic><sub><italic>i</italic></sub>, and <italic>v</italic>, with <italic>v</italic> &#x0003D; <italic>u</italic><sub><italic>i</italic></sub>&#x02212;<italic>u</italic><sub><italic>e</italic></sub>. Similarly, nodes marked by &#x02022; represent the membrane between two cells and, for these nodes, we define the three unknowns <inline-formula><mml:math id="M34"><mml:msubsup><mml:mrow><mml:mi>u</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msubsup></mml:math></inline-formula>, <inline-formula><mml:math id="M35"><mml:msubsup><mml:mrow><mml:mi>u</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup></mml:math></inline-formula>, and <italic>w</italic>, with <inline-formula><mml:math id="M36"><mml:mi>w</mml:mi><mml:mo>=</mml:mo><mml:msubsup><mml:mrow><mml:mi>u</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msubsup><mml:mo>-</mml:mo><mml:msubsup><mml:mrow><mml:mi>u</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup></mml:math></inline-formula>.</p>
<fig id="F2" position="float">
<label>Figure 2</label>
<caption><p>Sketch of the computational mesh used for the FDM. Nodes in &#x003A9;<sub><italic>e</italic></sub> are marked by &#x000D7;, nodes in <inline-formula><mml:math id="M31"><mml:msub><mml:mrow><mml:mo>&#x003A9;</mml:mo></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:msubsup><mml:mrow><mml:mo>&#x003A9;</mml:mo></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msubsup><mml:mo>&#x0222A;</mml:mo><mml:msubsup><mml:mrow><mml:mo>&#x003A9;</mml:mo></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup></mml:math></inline-formula> are marked by &#x025E6;, nodes on the membrane between the intracellular and the extracellular space (&#x00393; &#x0003D; &#x00393;<sub>1</sub> &#x0222A; &#x00393;<sub>2</sub>) are marked by &#x02297;, and nodes on the membrane between two cells (&#x00393;<sub>1,2</sub>) are marked by &#x02022;.</p></caption>
<graphic xlink:href="fphy-05-00048-g0002.tif"/>
</fig>
<p>We use the notation <inline-formula><mml:math id="M37"><mml:msubsup><mml:mrow><mml:mi>u</mml:mi></mml:mrow><mml:mrow><mml:mi>e</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> for the numerical solution of the extracellular potential, <italic>u</italic><sub><italic>e</italic></sub>, at the point (<italic>x</italic><sub><italic>j</italic></sub>, <italic>y</italic><sub><italic>k</italic></sub>) &#x0003D; (<italic>j&#x00394;x, k&#x00394;y</italic>) at time <italic>t</italic><sub><italic>n</italic></sub> &#x0003D; <italic>n&#x00394;t</italic> and use an analogous notation for the numerical solution of the remaining variables.</p>
<p>We discretize (1) using the finite difference scheme</p>
<disp-formula id="E14"><label>(14)</label><mml:math id="M38"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:mtext>&#x000A0;&#x000A0;</mml:mtext><mml:mfrac><mml:mrow><mml:msubsup><mml:mrow><mml:mo>&#x003C3;</mml:mo></mml:mrow><mml:mrow><mml:mi>e</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi><mml:mo>&#x0002B;</mml:mo><mml:mn>1</mml:mn><mml:mo>/</mml:mo><mml:mn>2</mml:mn><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msubsup><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msubsup><mml:mrow><mml:mi>u</mml:mi></mml:mrow><mml:mrow><mml:mi>e</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi><mml:mo>&#x0002B;</mml:mo><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msubsup><mml:mo>-</mml:mo><mml:msubsup><mml:mrow><mml:mi>u</mml:mi></mml:mrow><mml:mrow><mml:mi>e</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msubsup></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>-</mml:mo><mml:msubsup><mml:mrow><mml:mo>&#x003C3;</mml:mo></mml:mrow><mml:mrow><mml:mi>e</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi><mml:mo>-</mml:mo><mml:mn>1</mml:mn><mml:mo>/</mml:mo><mml:mn>2</mml:mn><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msubsup><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msubsup><mml:mrow><mml:mi>u</mml:mi></mml:mrow><mml:mrow><mml:mi>e</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msubsup><mml:mo>-</mml:mo><mml:msubsup><mml:mrow><mml:mi>u</mml:mi></mml:mrow><mml:mrow><mml:mi>e</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi><mml:mo>-</mml:mo><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msubsup></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mo>&#x00394;</mml:mo><mml:msup><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:mfrac></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mo>&#x0002B;</mml:mo><mml:mfrac><mml:mrow><mml:msubsup><mml:mrow><mml:mo>&#x003C3;</mml:mo></mml:mrow><mml:mrow><mml:mi>e</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mi>k</mml:mi><mml:mo>&#x0002B;</mml:mo><mml:mn>1</mml:mn><mml:mo>/</mml:mo><mml:mn>2</mml:mn></mml:mrow></mml:msubsup><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msubsup><mml:mrow><mml:mi>u</mml:mi></mml:mrow><mml:mrow><mml:mi>e</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mi>k</mml:mi><mml:mo>&#x0002B;</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msubsup><mml:mo>-</mml:mo><mml:msubsup><mml:mrow><mml:mi>u</mml:mi></mml:mrow><mml:mrow><mml:mi>e</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msubsup></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>-</mml:mo><mml:msubsup><mml:mrow><mml:mo>&#x003C3;</mml:mo></mml:mrow><mml:mrow><mml:mi>e</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mi>k</mml:mi><mml:mo>-</mml:mo><mml:mn>1</mml:mn><mml:mo>/</mml:mo><mml:mn>2</mml:mn></mml:mrow></mml:msubsup><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msubsup><mml:mrow><mml:mi>u</mml:mi></mml:mrow><mml:mrow><mml:mi>e</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msubsup><mml:mo>-</mml:mo><mml:msubsup><mml:mrow><mml:mi>u</mml:mi></mml:mrow><mml:mrow><mml:mi>e</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mi>k</mml:mi><mml:mo>-</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msubsup></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mo>&#x00394;</mml:mo><mml:msup><mml:mrow><mml:mi>y</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:mfrac><mml:mo>=</mml:mo><mml:mn>0</mml:mn><mml:mo>,</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>where <inline-formula><mml:math id="M40"><mml:msubsup><mml:mrow><mml:mo>&#x003C3;</mml:mo></mml:mrow><mml:mrow><mml:mi>e</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi><mml:mo>&#x0002B;</mml:mo><mml:mn>1</mml:mn><mml:mo>/</mml:mo><mml:mn>2</mml:mn><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:msub><mml:mrow><mml:mo>&#x003C3;</mml:mo></mml:mrow><mml:mrow><mml:mi>e</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>j</mml:mi><mml:mo>&#x0002B;</mml:mo><mml:mn>1</mml:mn><mml:mo>/</mml:mo><mml:mn>2</mml:mn></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>&#x00394;</mml:mo><mml:mi>x</mml:mi><mml:mo>,</mml:mo><mml:mi>k</mml:mi><mml:mo>&#x00394;</mml:mo><mml:mi>y</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>.</mml:mo></mml:math></inline-formula> Equation (2) is discretized similarly, with &#x003C3;<sub><italic>e</italic></sub> replaced by &#x003C3;<sub><italic>i</italic></sub> and <italic>u</italic><sub><italic>e</italic></sub> replaced by <italic>u</italic><sub><italic>i</italic></sub>.</p>
<p>On the membrane between the intracellular and extracellular domains, there are three unknowns and three equations. The first equation is given directly by (5) and the second equation is given by a first-order finite difference discretization of (4). Finally, the third equation is given by an implicit discretization of (6) of the form</p>
<disp-formula id="E16"><label>(15)</label><mml:math id="M41"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:mfrac><mml:mrow><mml:msup><mml:mrow><mml:mi>v</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msup><mml:mo>-</mml:mo><mml:msup><mml:mrow><mml:mi>v</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi><mml:mo>-</mml:mo><mml:mn>1</mml:mn><mml:mo>/</mml:mo><mml:mn>2</mml:mn><mml:mo>,</mml:mo><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msup></mml:mrow><mml:mrow><mml:mo>&#x00394;</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:mfrac><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>C</mml:mi></mml:mrow><mml:mrow><mml:mi>m</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfrac><mml:msubsup><mml:mrow><mml:mi>I</mml:mi></mml:mrow><mml:mrow><mml:mi>m</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msubsup><mml:mo>,</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>where <inline-formula><mml:math id="M42"><mml:msubsup><mml:mrow><mml:mi>I</mml:mi></mml:mrow><mml:mrow><mml:mi>m</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> is a discrete version of the term <italic>n</italic><sub><italic>e</italic></sub> &#x000B7; &#x003C3;<sub><italic>e</italic></sub>&#x02207;<italic>u</italic><sub><italic>e</italic></sub> from (4) and <italic>v</italic><sup><italic>n</italic>&#x02212;1/2, <italic>j, k</italic></sup> is the solution of the membrane potential from the first step of the operator splitting procedure.</p>
<p>Similarly, for the nodes on the membrane between the cells, there are three unknowns and three equations. The first equation is given directly by (8), the second is a first-order finite difference discretization of (7), and the third is an implicit discretization of (9) of the form</p>
<disp-formula id="E17"><label>(16)</label><mml:math id="M43"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:mfrac><mml:mrow><mml:msup><mml:mrow><mml:mi>w</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msup><mml:mo>-</mml:mo><mml:msup><mml:mrow><mml:mi>w</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi><mml:mo>-</mml:mo><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msup></mml:mrow><mml:mrow><mml:mo>&#x00394;</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:mfrac><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>C</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mn>2</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mfrac><mml:mrow><mml:mo stretchy="true">(</mml:mo><mml:mrow><mml:msubsup><mml:mrow><mml:mi>I</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mn>2</mml:mn></mml:mrow><mml:mrow><mml:mi>n</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msubsup><mml:mo>-</mml:mo><mml:msub><mml:mrow><mml:mi>I</mml:mi></mml:mrow><mml:mrow><mml:mtext>gap</mml:mtext></mml:mrow></mml:msub><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msup><mml:mrow><mml:mi>w</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msup></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mo stretchy="true">)</mml:mo></mml:mrow><mml:mo>,</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>where <inline-formula><mml:math id="M44"><mml:msubsup><mml:mrow><mml:mi>I</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mn>2</mml:mn></mml:mrow><mml:mrow><mml:mi>n</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> is a discrete version of the term <inline-formula><mml:math id="M45"><mml:msubsup><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup><mml:mo>&#x000B7;</mml:mo><mml:msub><mml:mrow><mml:mo>&#x003C3;</mml:mo></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>&#x02207;</mml:mo><mml:msubsup><mml:mrow><mml:mi>u</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup></mml:math></inline-formula> from (7) and <inline-formula><mml:math id="M46"><mml:msub><mml:mrow><mml:mi>I</mml:mi></mml:mrow><mml:mrow><mml:mtext>gap</mml:mtext></mml:mrow></mml:msub><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msup><mml:mrow><mml:mi>w</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msup></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:math></inline-formula> is a linear function of <italic>w</italic><sup><italic>n, j, k</italic></sup> given by (13). It is worth mentioning here that if the gap junction dynamics is modeled using a non-linear model, operator splitting can be applied as was done for the membrane model.</p>
<p>Two special types of nodes require some special treatment. The first type is the nodes on the corners of the membrane. For these nodes, we define two flux terms <inline-formula><mml:math id="M47"><mml:msubsup><mml:mrow><mml:mi>I</mml:mi></mml:mrow><mml:mrow><mml:mi>m</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:msub><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>e</mml:mi></mml:mrow></mml:msub><mml:mo>&#x000B7;</mml:mo><mml:msub><mml:mrow><mml:mo>&#x003C3;</mml:mo></mml:mrow><mml:mrow><mml:mi>e</mml:mi></mml:mrow></mml:msub><mml:mo>&#x02207;</mml:mo><mml:msub><mml:mrow><mml:mi>u</mml:mi></mml:mrow><mml:mrow><mml:mi>e</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula>, one for the normal derivative in the <italic>x</italic> direction and one for the normal derivative in the <italic>y</italic> direction, and we use the mean of these two terms in the equation of the form (15). Furthermore, in the flux equality Equation (4), we also define two intracellular flux terms, one for each direction, and let the sum of the two intracellular flux terms equal the sum of the two extracellular flux terms.</p>
<p>The second special node type is the extracellular nodes located next to a node on the membrane between two cells. In Figure <xref ref-type="fig" rid="F2">2</xref>, these are the two extracellular nodes just above or below &#x00393;<sub>1,2</sub>. For these nodes, we define a no-flux boundary condition between the extracellular node and the adjacent node on &#x00393;<sub>1,2</sub>. This is implemented by defining an extracellular potential for the node on the end of &#x00393;<sub>1,2</sub> with a value equal to the extracellular potential in the node just outside &#x00393;<sub>1,2</sub>.</p>
<p>When considering a linear model for <italic>I</italic><sub>ion</sub>, we skip the first step of the operator splitting procedure and replace the equation of the form (15) in the finite difference scheme by</p>
<disp-formula id="E18"><label>(17)</label><mml:math id="M48"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:mfrac><mml:mrow><mml:msup><mml:mrow><mml:mi>v</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msup><mml:mo>-</mml:mo><mml:msup><mml:mrow><mml:mi>v</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi><mml:mo>-</mml:mo><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msup></mml:mrow><mml:mrow><mml:mo>&#x00394;</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:mfrac><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>C</mml:mi></mml:mrow><mml:mrow><mml:mi>m</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfrac><mml:mrow><mml:mo stretchy="true">(</mml:mo><mml:mrow><mml:msubsup><mml:mrow><mml:mi>I</mml:mi></mml:mrow><mml:mrow><mml:mi>m</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msubsup><mml:mo>-</mml:mo><mml:msub><mml:mrow><mml:mi>I</mml:mi></mml:mrow><mml:mrow><mml:mtext>ion</mml:mtext></mml:mrow></mml:msub><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msup><mml:mrow><mml:mi>v</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msup></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mo stretchy="true">)</mml:mo></mml:mrow><mml:mo>.</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>A major drawback of the finite difference discretization is the fact that actual cell geometries are quite complex and virtually impossible to handle with this method. However, complex geometries can be resolved by the finite element method. In the following, we shall propose two different FEM formulations of the EMI Equations (1&#x02013;9): the mortar finite element formulation, where the primary unknowns are the intra/extracellular potentials, and the H(div)-based finite element formulation, where the currents are the primary unknowns in the cells/tissue.</p>
</sec>
<sec>
<title>2.3.2. Mortar finite element method for solving the EMI PDEs</title>
<p>Mortar finite element methods ([<xref ref-type="bibr" rid="B51">51</xref>]; see also [<xref ref-type="bibr" rid="B4">4</xref>] for the application of the method in simulations of cell membranes) allow for the coupling of different types of variational problems posed over non-overlapping domains by weakly (in an integral sense) enforcing interface conditions on common boundaries. For the EMI system, the Poisson problems (1) and (2) are coupled by the conditions (4) and (5) and the conditions (7) and (8).</p>
<p>Let <italic>V</italic><sub><italic>e</italic></sub> and <inline-formula><mml:math id="M49"><mml:msubsup><mml:mrow><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> be spaces of functions over &#x003A9;<sub><italic>e</italic></sub> and <inline-formula><mml:math id="M50"><mml:msubsup><mml:mrow><mml:mo>&#x003A9;</mml:mo></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> for <italic>k</italic> &#x0003D; 1, 2, and let <italic>Q</italic> be a function space defined over &#x00393; &#x0003D; &#x00393;<sub>1</sub> &#x0222A; &#x00393;<sub>2</sub> &#x0222A; &#x00393;<sub>1,2</sub>, to be precisely defined below. For any &#x003C8; &#x02208; <italic>Q</italic>, we denote by &#x003C8;<sup>1</sup>, &#x003C8;<sup>2</sup> and &#x003C8;<sup>1,2</sup> the restriction of &#x003C8; to &#x00393;<sub>1</sub>, &#x00393;<sub>2</sub>, and &#x00393;<sub>1,2</sub>, respectively. With this notation, given (<italic>v</italic><sup><italic>k</italic></sup>)<sup><italic>n</italic></sup> and <italic>w</italic><sup><italic>n</italic></sup> at time level <italic>n</italic>, at each time level <italic>n</italic>&#x0002B;1 of the temporal discretization, we aim to find the membrane current density <italic>J</italic> &#x02208; <italic>Q</italic>, defined such that <inline-formula><mml:math id="M51"><mml:msup><mml:mrow><mml:mi>J</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msup><mml:mo>=</mml:mo><mml:msubsup><mml:mrow><mml:mi>I</mml:mi></mml:mrow><mml:mrow><mml:mi>m</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> and <inline-formula><mml:math id="M52"><mml:msup><mml:mrow><mml:mi>J</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mn>2</mml:mn></mml:mrow></mml:msup><mml:mo>=</mml:mo><mml:msub><mml:mrow><mml:mi>I</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mn>2</mml:mn></mml:mrow></mml:msub></mml:math></inline-formula> and the extracellular and intracellular potentials <italic>u</italic><sub><italic>e</italic></sub> &#x02208; <italic>V</italic><sub><italic>e</italic></sub> and <inline-formula><mml:math id="M53"><mml:msubsup><mml:mrow><mml:mi>u</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msubsup><mml:mo>&#x02208;</mml:mo><mml:msubsup><mml:mrow><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> such that:</p>
<disp-formula id="E19"><label>(18)</label><mml:math id="M54"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd columnalign="left"><mml:mtable style="text-align:axis;" equalrows="false" columnlines="none none" equalcolumns="false" class="array"><mml:mtr><mml:mtd columnalign="left"><mml:mstyle displaystyle="true"><mml:mrow><mml:msub><mml:mo>&#x0222B;</mml:mo><mml:mrow><mml:msubsup><mml:mrow><mml:mo>&#x003A9;</mml:mo></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msubsup></mml:mrow></mml:msub></mml:mrow></mml:mstyle><mml:msub><mml:mrow><mml:mo>&#x003C3;</mml:mo></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>&#x02207;</mml:mo><mml:msubsup><mml:mrow><mml:mi>u</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msubsup><mml:mo>&#x000B7;</mml:mo><mml:mo>&#x02207;</mml:mo><mml:msubsup><mml:mrow><mml:mi>&#x003D5;</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msubsup><mml:mtext>d</mml:mtext><mml:mi>x</mml:mi><mml:mo>&#x0002B;</mml:mo><mml:mstyle displaystyle="true"><mml:mrow><mml:msub><mml:mo>&#x0222B;</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mo>&#x00393;</mml:mo></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:mstyle><mml:msup><mml:mrow><mml:mi>J</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msup><mml:msubsup><mml:mrow><mml:mi>&#x003D5;</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msubsup><mml:mtext>d</mml:mtext><mml:mi>s</mml:mi><mml:mo>&#x0002B;</mml:mo><mml:mstyle displaystyle="true"><mml:mrow><mml:msub><mml:mo>&#x0222B;</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mo>&#x00393;</mml:mo></mml:mrow><mml:mrow><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mn>2</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:mstyle><mml:msup><mml:mrow><mml:mi>J</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mn>2</mml:mn></mml:mrow></mml:msup><mml:msubsup><mml:mrow><mml:mi>&#x003D5;</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msubsup><mml:mtext>d</mml:mtext><mml:mi>s</mml:mi><mml:mo>=</mml:mo><mml:mn>0</mml:mn><mml:mtext>&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;</mml:mtext><mml:mo>&#x02200;</mml:mo><mml:msubsup><mml:mrow><mml:mi>&#x003D5;</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msubsup><mml:mo>&#x02208;</mml:mo><mml:msubsup><mml:mrow><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msubsup><mml:mo>,</mml:mo></mml:mtd></mml:mtr><mml:mtr><mml:mtd columnalign="left"><mml:mstyle displaystyle="true"><mml:mrow><mml:msub><mml:mo>&#x0222B;</mml:mo><mml:mrow><mml:msubsup><mml:mrow><mml:mo>&#x003A9;</mml:mo></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup></mml:mrow></mml:msub></mml:mrow></mml:mstyle><mml:msub><mml:mrow><mml:mo>&#x003C3;</mml:mo></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>&#x02207;</mml:mo><mml:msubsup><mml:mrow><mml:mi>u</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup><mml:mo>&#x000B7;</mml:mo><mml:mo>&#x02207;</mml:mo><mml:msubsup><mml:mrow><mml:mi>&#x003D5;</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup><mml:mtext>d</mml:mtext><mml:mi>x</mml:mi><mml:mo>&#x0002B;</mml:mo><mml:mstyle displaystyle="true"><mml:mrow><mml:msub><mml:mo>&#x0222B;</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mo>&#x00393;</mml:mo></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:mstyle><mml:msup><mml:mrow><mml:mi>J</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msup><mml:msubsup><mml:mrow><mml:mi>&#x003D5;</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup><mml:mtext>d</mml:mtext><mml:mi>s</mml:mi><mml:mo>-</mml:mo><mml:mstyle displaystyle="true"><mml:mrow><mml:msub><mml:mo>&#x0222B;</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mo>&#x00393;</mml:mo></mml:mrow><mml:mrow><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mn>2</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:mstyle><mml:msup><mml:mrow><mml:mi>J</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mn>2</mml:mn></mml:mrow></mml:msup><mml:msubsup><mml:mrow><mml:mi>&#x003D5;</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup><mml:mtext>d</mml:mtext><mml:mi>s</mml:mi><mml:mo>=</mml:mo><mml:mn>0</mml:mn><mml:mtext>&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;</mml:mtext><mml:mo>&#x02200;</mml:mo><mml:msubsup><mml:mrow><mml:mi>&#x003D5;</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup><mml:mo>&#x02208;</mml:mo><mml:msubsup><mml:mrow><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup><mml:mo>,</mml:mo></mml:mtd></mml:mtr><mml:mtr><mml:mtd columnalign="left"><mml:mtext>&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;</mml:mtext><mml:mstyle displaystyle="true"><mml:mrow><mml:msub><mml:mo>&#x0222B;</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mo>&#x003A9;</mml:mo></mml:mrow><mml:mrow><mml:mi>e</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:mstyle><mml:msub><mml:mrow><mml:mo>&#x003C3;</mml:mo></mml:mrow><mml:mrow><mml:mi>e</mml:mi></mml:mrow></mml:msub><mml:mo>&#x02207;</mml:mo><mml:msub><mml:mrow><mml:mi>u</mml:mi></mml:mrow><mml:mrow><mml:mi>e</mml:mi></mml:mrow></mml:msub><mml:mo>&#x000B7;</mml:mo><mml:mo>&#x02207;</mml:mo><mml:msub><mml:mrow><mml:mi>&#x003D5;</mml:mi></mml:mrow><mml:mrow><mml:mi>e</mml:mi></mml:mrow></mml:msub><mml:mtext>d</mml:mtext><mml:mi>x</mml:mi><mml:mo>-</mml:mo><mml:mstyle displaystyle="true"><mml:mrow><mml:msub><mml:mo>&#x0222B;</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mo>&#x00393;</mml:mo></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:mstyle><mml:msup><mml:mrow><mml:mi>J</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msup><mml:msub><mml:mrow><mml:mi>&#x003D5;</mml:mi></mml:mrow><mml:mrow><mml:mi>e</mml:mi></mml:mrow></mml:msub><mml:mtext>d</mml:mtext><mml:mi>s</mml:mi><mml:mo>-</mml:mo><mml:mstyle displaystyle="true"><mml:mrow><mml:msub><mml:mo>&#x0222B;</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mo>&#x00393;</mml:mo></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:mstyle><mml:msup><mml:mrow><mml:mi>J</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msup><mml:msub><mml:mrow><mml:mi>&#x003D5;</mml:mi></mml:mrow><mml:mrow><mml:mi>e</mml:mi></mml:mrow></mml:msub><mml:mtext>d</mml:mtext><mml:mi>s</mml:mi><mml:mo>=</mml:mo><mml:mn>0</mml:mn><mml:mtext>&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;</mml:mtext><mml:mo>&#x02200;</mml:mo><mml:msub><mml:mrow><mml:mi>&#x003D5;</mml:mi></mml:mrow><mml:mrow><mml:mi>e</mml:mi></mml:mrow></mml:msub><mml:mo>&#x02208;</mml:mo><mml:msub><mml:mrow><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mi>e</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo></mml:mtd></mml:mtr><mml:mtr><mml:mtd columnalign="left"><mml:mtext>&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;</mml:mtext><mml:mstyle displaystyle="true"><mml:mrow><mml:msub><mml:mo>&#x0222B;</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mo>&#x00393;</mml:mo></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:mstyle><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msubsup><mml:mrow><mml:mi>u</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msubsup><mml:mo>-</mml:mo><mml:msub><mml:mrow><mml:mi>u</mml:mi></mml:mrow><mml:mrow><mml:mi>e</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:msup><mml:mrow><mml:mi>&#x003C8;</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msup><mml:mtext>d</mml:mtext><mml:mi>s</mml:mi><mml:mo>-</mml:mo><mml:mfrac><mml:mrow><mml:mo>&#x00394;</mml:mo><mml:mi>t</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>C</mml:mi></mml:mrow><mml:mrow><mml:mi>m</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfrac><mml:mstyle displaystyle="true"><mml:mrow><mml:msub><mml:mo>&#x0222B;</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mo>&#x00393;</mml:mo></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:mstyle><mml:msup><mml:mrow><mml:mi>J</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msup><mml:msup><mml:mrow><mml:mi>&#x003C8;</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msup><mml:mtext>d</mml:mtext><mml:mi>s</mml:mi><mml:mo>=</mml:mo><mml:mstyle displaystyle="true"><mml:mrow><mml:msub><mml:mo>&#x0222B;</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mo>&#x00393;</mml:mo></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:mstyle><mml:msup><mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msup><mml:mrow><mml:mi>v</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msup></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msup><mml:msup><mml:mrow><mml:mi>&#x003C8;</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msup><mml:mtext>d</mml:mtext><mml:mi>s</mml:mi><mml:mtext>&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;</mml:mtext><mml:mo>&#x02200;</mml:mo><mml:mi>&#x003C8;</mml:mi><mml:mo>&#x02208;</mml:mo><mml:mi>Q</mml:mi><mml:mo>,</mml:mo></mml:mtd></mml:mtr><mml:mtr><mml:mtd columnalign="left"><mml:mtext>&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;</mml:mtext><mml:mstyle displaystyle="true"><mml:mrow><mml:msub><mml:mo>&#x0222B;</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mo>&#x00393;</mml:mo></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:mstyle><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msubsup><mml:mrow><mml:mi>u</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup><mml:mo>-</mml:mo><mml:msub><mml:mrow><mml:mi>u</mml:mi></mml:mrow><mml:mrow><mml:mi>e</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:msup><mml:mrow><mml:mi>&#x003C8;</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msup><mml:mtext>d</mml:mtext><mml:mi>s</mml:mi><mml:mo>-</mml:mo><mml:mfrac><mml:mrow><mml:mo>&#x00394;</mml:mo><mml:mi>t</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>C</mml:mi></mml:mrow><mml:mrow><mml:mi>m</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfrac><mml:mstyle displaystyle="true"><mml:mrow><mml:msub><mml:mo>&#x0222B;</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mo>&#x00393;</mml:mo></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:mstyle><mml:msup><mml:mrow><mml:mi>J</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msup><mml:msup><mml:mrow><mml:mi>&#x003C8;</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msup><mml:mtext>d</mml:mtext><mml:mi>s</mml:mi><mml:mo>=</mml:mo><mml:mstyle displaystyle="true"><mml:mrow><mml:msub><mml:mo>&#x0222B;</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mo>&#x00393;</mml:mo></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:mstyle><mml:msup><mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msup><mml:mrow><mml:mi>v</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msup></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msup><mml:msup><mml:mrow><mml:mi>&#x003C8;</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msup><mml:mtext>d</mml:mtext><mml:mi>s</mml:mi><mml:mtext>&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;</mml:mtext><mml:mo>&#x02200;</mml:mo><mml:mi>&#x003C8;</mml:mi><mml:mo>&#x02208;</mml:mo><mml:mi>Q</mml:mi><mml:mo>,</mml:mo></mml:mtd></mml:mtr><mml:mtr><mml:mtd columnalign="left"><mml:mtext>&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;</mml:mtext><mml:mstyle displaystyle="true"><mml:mrow><mml:msub><mml:mo>&#x0222B;</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mo>&#x00393;</mml:mo></mml:mrow><mml:mrow><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mn>2</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:mstyle><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msubsup><mml:mrow><mml:mi>u</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msubsup><mml:mo>-</mml:mo><mml:msubsup><mml:mrow><mml:mi>u</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:msup><mml:mrow><mml:mi>&#x003C8;</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mn>2</mml:mn></mml:mrow></mml:msup><mml:mtext>d</mml:mtext><mml:mi>s</mml:mi><mml:mo>-</mml:mo><mml:mfrac><mml:mrow><mml:mo>&#x00394;</mml:mo><mml:mi>t</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>C</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mn>2</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mfrac><mml:mstyle displaystyle="true"><mml:mrow><mml:msub><mml:mo>&#x0222B;</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mo>&#x00393;</mml:mo></mml:mrow><mml:mrow><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mn>2</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:mstyle><mml:msup><mml:mrow><mml:mi>J</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mn>2</mml:mn></mml:mrow></mml:msup><mml:msup><mml:mrow><mml:mi>&#x003C8;</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mn>2</mml:mn></mml:mrow></mml:msup><mml:mtext>d</mml:mtext><mml:mi>s</mml:mi><mml:mo>=</mml:mo><mml:mstyle displaystyle="true"><mml:mrow><mml:msub><mml:mo>&#x0222B;</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mo>&#x00393;</mml:mo></mml:mrow><mml:mrow><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mn>2</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:mstyle><mml:msup><mml:mrow><mml:mi>w</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msup><mml:msup><mml:mrow><mml:mi>&#x003C8;</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mn>2</mml:mn></mml:mrow></mml:msup><mml:mtext>d</mml:mtext><mml:mi>s</mml:mi><mml:mtext>&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;</mml:mtext><mml:mo>&#x02200;</mml:mo><mml:mi>&#x003C8;</mml:mi><mml:mo>&#x02208;</mml:mo><mml:mi>Q</mml:mi><mml:mo>.</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>Here, the first three equations of the variational problem are obtained by multiplying (1) and (2) by test functions &#x003D5;<sub><italic>e</italic></sub> and <inline-formula><mml:math id="M55"><mml:msubsup><mml:mrow><mml:mi>&#x003D5;</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> and integrating over the associated domains while using conditions (4) and (7) in the integration by parts. The final three equations are then weakly enforcing the constraints</p>
<disp-formula id="E20"><label>(19)</label><mml:math id="M56"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:msubsup><mml:mrow><mml:mi>u</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msubsup><mml:mo>-</mml:mo><mml:msub><mml:mrow><mml:mi>u</mml:mi></mml:mrow><mml:mrow><mml:mi>e</mml:mi></mml:mrow></mml:msub><mml:mo>-</mml:mo><mml:mfrac><mml:mrow><mml:mo>&#x00394;</mml:mo><mml:mi>t</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>C</mml:mi></mml:mrow><mml:mrow><mml:mi>m</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfrac><mml:msubsup><mml:mrow><mml:mi>I</mml:mi></mml:mrow><mml:mrow><mml:mi>m</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:msup><mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msup><mml:mrow><mml:mi>v</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msup></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msup><mml:mtext class="textrm" mathvariant="normal">&#x000A0;on</mml:mtext><mml:msubsup><mml:mrow><mml:mo>&#x00393;</mml:mo></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msubsup><mml:mo>,</mml:mo><mml:mtext>&#x000A0;</mml:mtext><mml:msubsup><mml:mrow><mml:mi>u</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msubsup><mml:mo>-</mml:mo><mml:msubsup><mml:mrow><mml:mi>u</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup><mml:mo>-</mml:mo><mml:mfrac><mml:mrow><mml:mo>&#x00394;</mml:mo><mml:mi>t</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>C</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mn>2</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mfrac><mml:msub><mml:mrow><mml:mi>I</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:msup><mml:mrow><mml:mi>w</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msup><mml:mtext class="textrm" mathvariant="normal">&#x000A0;on</mml:mtext><mml:msub><mml:mrow><mml:mo>&#x00393;</mml:mo></mml:mrow><mml:mrow><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mtext>&#x000A0;</mml:mtext></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>which are obtained by a backward Euler discretization of (6) and (9) (cf. Equations 15 and 16) while expanding the transmembrane potentials of <inline-formula><mml:math id="M57"><mml:msubsup><mml:mrow><mml:mo>&#x00393;</mml:mo></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> and &#x00393;<sub>1,2</sub> at the (<italic>n</italic>&#x0002B;1)th temporal level using definitions (5) and (8), respectively. We note that the definitions of the transmembrane potentials enter the variational problem only via (19). Moreover, the membrane current density <italic>J</italic> can be interpreted as the multiplier of the augmented Lagrangian associated with these constraints.</p>
<p>System (18) is the linear part of the operator splitting procedure described above. The well-posedness of the system (18) was established in Belgacem [<xref ref-type="bibr" rid="B52">52</xref>] or Lamichhane [<xref ref-type="bibr" rid="B53">53</xref>] for the stationary case, where it was shown that a unique solution exists in the Sobolev spaces <inline-formula><mml:math id="M58"><mml:msub><mml:mrow><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mi>e</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:msubsup><mml:mrow><mml:mi>H</mml:mi></mml:mrow><mml:mrow><mml:mn>0</mml:mn><mml:mo>,</mml:mo><mml:mo>&#x02202;</mml:mo><mml:msub><mml:mrow><mml:mo>&#x003A9;</mml:mo></mml:mrow><mml:mrow><mml:mi>e</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msubsup><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mo>&#x003A9;</mml:mo></mml:mrow><mml:mrow><mml:mi>e</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math id="M59"><mml:msubsup><mml:mrow><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:msup><mml:mrow><mml:mi>H</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msup><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msubsup><mml:mrow><mml:mo>&#x003A9;</mml:mo></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msubsup></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:math></inline-formula> and <italic>Q</italic> &#x0003D; <italic>H</italic><sup>&#x02212;1/2</sup>(&#x00393;).</p>
<p>To discuss the finite element discretization of the well-posed problem (18), we denote by <inline-formula><mml:math id="M60"><mml:msub><mml:mrow><mml:mrow><mml:mi mathvariant="-tex-caligraphic">T</mml:mi></mml:mrow></mml:mrow><mml:mrow><mml:mi>e</mml:mi><mml:mo>,</mml:mo><mml:mi>h</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> and <inline-formula><mml:math id="M61"><mml:msubsup><mml:mrow><mml:mrow><mml:mi mathvariant="-tex-caligraphic">T</mml:mi></mml:mrow></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>h</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> simplicial meshes of the domains &#x003A9;<sub><italic>e</italic></sub> and <inline-formula><mml:math id="M62"><mml:msubsup><mml:mrow><mml:mo>&#x003A9;</mml:mo></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula>, respectively. Generally, the mortar finite element approach allows the tessellations to be independent of one another and the elements of &#x00393;<sub><italic>h</italic></sub>, the triangulation of &#x00393;, are defined in terms of facets of one of the sharing tessellations. For simplicity, we opt here for meshes such that they share facets on &#x00393; (see Figure <xref ref-type="fig" rid="F3">3</xref>). In particular, the neighboring tessellations define identical meshes &#x00393;<sub><italic>h</italic></sub>.</p>
<fig id="F3" position="float">
<label>Figure 3</label>
<caption><p>Schematic representation of finite element meshes considered with the mortar element method: <bold>(upper left)</bold> the tesselation <inline-formula><mml:math id="M66"><mml:msub><mml:mrow><mml:mrow><mml:mi mathvariant="-tex-caligraphic">T</mml:mi></mml:mrow></mml:mrow><mml:mrow><mml:mi>e</mml:mi><mml:mo>,</mml:mo><mml:mi>h</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> of the extracellular domain, <bold>(upper right and bottom left)</bold> the tessellations <inline-formula><mml:math id="M67"><mml:msubsup><mml:mrow><mml:mrow><mml:mi mathvariant="-tex-caligraphic">T</mml:mi></mml:mrow></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>h</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msubsup></mml:math></inline-formula> and <inline-formula><mml:math id="M68"><mml:msubsup><mml:mrow><mml:mrow><mml:mi mathvariant="-tex-caligraphic">T</mml:mi></mml:mrow></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>h</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup></mml:math></inline-formula> of the intracellular domains, and <bold>(bottom right)</bold> the membrane discretization &#x00393;<sub><italic>h</italic></sub>. In our implementation, <inline-formula><mml:math id="M69"><mml:msub><mml:mrow><mml:mrow><mml:mi mathvariant="-tex-caligraphic">T</mml:mi></mml:mrow></mml:mrow><mml:mrow><mml:mi>e</mml:mi><mml:mo>,</mml:mo><mml:mi>h</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> and <inline-formula><mml:math id="M70"><mml:msubsup><mml:mrow><mml:mrow><mml:mi mathvariant="-tex-caligraphic">T</mml:mi></mml:mrow></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>h</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> have identical facets on &#x00393; and the facets define the finite element cells of &#x00393;<sub><italic>h</italic></sub>, see the location of the vertices of the 1D mesh depicted by black circles.</p></caption>
<graphic xlink:href="fphy-05-00048-g0003.tif"/>
</fig>
<p>In the following, the discrete finite element subspaces of <italic>V</italic><sub><italic>e</italic></sub>, <inline-formula><mml:math id="M63"><mml:msubsup><mml:mrow><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula>, and <italic>Q</italic> will be constructed from continuous piecewise linear Lagrange elements. More precisely, we let</p>
<disp-formula id="E21"><mml:math id="M64"><mml:mtable columnalign="left"><mml:mtr><mml:mtd><mml:mtable style="text-align:axis;" equalrows="false" columnlines="none" equalcolumns="false" class="array"><mml:mtr><mml:mtd><mml:msub><mml:mrow><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mi>e</mml:mi><mml:mo>,</mml:mo><mml:mi>h</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>v</mml:mi><mml:mo>&#x02208;</mml:mo><mml:mi>C</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mrow><mml:mi mathvariant="-tex-caligraphic">T</mml:mi></mml:mrow></mml:mrow><mml:mrow><mml:mi>e</mml:mi><mml:mo>,</mml:mo><mml:mi>h</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>;</mml:mo><mml:mi>v</mml:mi><mml:msub><mml:mrow><mml:mo stretchy="false">|</mml:mo></mml:mrow><mml:mrow><mml:mi>K</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:msup><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msup><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>K</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>&#x02200;</mml:mo><mml:mi>K</mml:mi><mml:mo>&#x02208;</mml:mo><mml:msub><mml:mrow><mml:mrow><mml:mi mathvariant="-tex-caligraphic">T</mml:mi></mml:mrow></mml:mrow><mml:mrow><mml:mi>e</mml:mi><mml:mo>,</mml:mo><mml:mi>h</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo>}</mml:mo></mml:mrow><mml:mo>,</mml:mo></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:msubsup><mml:mrow><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>h</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>v</mml:mi><mml:mo>&#x02208;</mml:mo><mml:mi>C</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msubsup><mml:mrow><mml:mrow><mml:mi mathvariant="-tex-caligraphic">T</mml:mi></mml:mrow></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>h</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msubsup></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>;</mml:mo><mml:mi>v</mml:mi><mml:msub><mml:mrow><mml:mo stretchy="false">|</mml:mo></mml:mrow><mml:mrow><mml:mi>K</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:msup><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msup><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>K</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>&#x02200;</mml:mo><mml:mi>K</mml:mi><mml:mo>&#x02208;</mml:mo><mml:msubsup><mml:mrow><mml:mrow><mml:mi mathvariant="-tex-caligraphic">T</mml:mi></mml:mrow></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>h</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msubsup></mml:mrow><mml:mo>}</mml:mo></mml:mrow><mml:mo>,</mml:mo></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:msub><mml:mrow><mml:mi>Q</mml:mi></mml:mrow><mml:mrow><mml:mi>h</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>v</mml:mi><mml:mo>&#x02208;</mml:mo><mml:mi>C</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mo>&#x00393;</mml:mo></mml:mrow><mml:mrow><mml:mi>h</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>;</mml:mo><mml:mi>v</mml:mi><mml:msub><mml:mrow><mml:mo stretchy="false">|</mml:mo></mml:mrow><mml:mrow><mml:mi>K</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:msup><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msup><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>K</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>&#x02200;</mml:mo><mml:mi>K</mml:mi><mml:mo>&#x02208;</mml:mo><mml:msub><mml:mrow><mml:mo>&#x00393;</mml:mo></mml:mrow><mml:mrow><mml:mi>h</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>and thus the space <italic>Q</italic><sub><italic>h</italic></sub> is the trace space of the functions in <italic>V</italic><sub><italic>e,h</italic></sub> and <inline-formula><mml:math id="M65"><mml:msubsup><mml:mrow><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>h</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula>. We refer to Wohlmuth [<xref ref-type="bibr" rid="B54">54</xref>] and references therein for proof of the numerical stability of this choice of discretization. We also note that the choice of element for the space <italic>Q</italic><sub><italic>h</italic></sub> simplifies the implementation, however, dual Lagrange multipliers (see [<xref ref-type="bibr" rid="B53">53</xref>, <xref ref-type="bibr" rid="B54">54</xref>]), though more involved, are more suitable if static condensation is employed to solve the linear system arising from (18). Finally, in the numerical experiments, the scheme was implemented using the FEniCS<sub><italic>ii</italic></sub> extension [<xref ref-type="bibr" rid="B55">55</xref>] of the FEniCS finite element library [<xref ref-type="bibr" rid="B49">49</xref>, <xref ref-type="bibr" rid="B50">50</xref>].</p>
</sec>
<sec>
<title>2.3.3. H(div)-based finite element method for solving the EMI PDEs</title>
<p>The mortar finite element formulation defined above introduces separate function spaces for each of the intracellular domains <inline-formula><mml:math id="M71"><mml:msubsup><mml:mrow><mml:mo>&#x003A9;</mml:mo></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula>, which adds implementational complexity. As an alternative approach, we also consider an H(div)-based finite element method (e.g., [<xref ref-type="bibr" rid="B56">56</xref>]) for solving the PDE step of the operator splitting scheme. This scheme relaxes the continuity constraint for the potentials throughout the domain &#x003A9; and introduces <italic>potential gradients</italic> as additional variables with the appropriate normal continuity regularity for the associated currents. Therefore, the interface continuity conditions for the currents can be handled seamlessly.</p>
<p>To this end, we use the intracellular current density vector <italic>&#x00134;</italic><sub><italic>i</italic></sub> and the extracellular current density vector <italic>&#x00134;</italic><sub><italic>e</italic></sub> as additional vector fields defined over &#x003A9;<sub><italic>i</italic></sub> and &#x003A9;<sub><italic>e</italic></sub>, respectively:</p>
<disp-formula id="E22"><label>(20)</label><mml:math id="M72"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:msub><mml:mrow><mml:mi>&#x00134;</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mo>-</mml:mo><mml:msub><mml:mrow><mml:mo>&#x003C3;</mml:mo></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>&#x02207;</mml:mo><mml:msub><mml:mrow><mml:mi>u</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mtext>&#x000A0;</mml:mtext><mml:msub><mml:mrow><mml:mi>&#x00134;</mml:mi></mml:mrow><mml:mrow><mml:mi>e</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mo>-</mml:mo><mml:msub><mml:mrow><mml:mo>&#x003C3;</mml:mo></mml:mrow><mml:mrow><mml:mi>e</mml:mi></mml:mrow></mml:msub><mml:mo>&#x02207;</mml:mo><mml:msub><mml:mrow><mml:mi>u</mml:mi></mml:mrow><mml:mrow><mml:mi>e</mml:mi></mml:mrow></mml:msub><mml:mo>.</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>We let <italic>&#x00134;</italic> denote the extension of <italic>&#x00134;</italic><sub><italic>i</italic></sub> and <italic>&#x00134;</italic><sub><italic>e</italic></sub> to &#x003A9;, and assume that <italic>&#x00134;</italic> is in the space H(div, &#x003A9;), that is, <italic>&#x00134;</italic> is a square-integrable vector field with square-integrable divergence. Furthermore, denote by <italic>u</italic> the extension of <italic>u</italic><sub><italic>i</italic></sub> and <italic>u</italic><sub><italic>e</italic></sub> to &#x003A9;, and analogously for &#x003C3;. In addition, we define <inline-formula><mml:math id="M73"><mml:mover accent="true"><mml:mrow><mml:mi>v</mml:mi></mml:mrow><mml:mo>^</mml:mo></mml:mover></mml:math></inline-formula> as the extension of the transmembrane potential <italic>v</italic> and the transcellular potential <italic>w</italic> and we let &#x000CE; denote the extension of <italic>I</italic><sub>ion</sub> and <italic>I</italic><sub>gap</sub>. Thus the variable <italic>u</italic> is defined over &#x003A9; while <inline-formula><mml:math id="M74"><mml:mover accent="true"><mml:mrow><mml:mi>v</mml:mi></mml:mrow><mml:mo>^</mml:mo></mml:mover></mml:math></inline-formula> and &#x000CE; are defined over the whole interior membrane <inline-formula><mml:math id="M75"><mml:mover accent="true"><mml:mrow><mml:mo>&#x00393;</mml:mo></mml:mrow><mml:mo>^</mml:mo></mml:mover><mml:mo>=</mml:mo><mml:msub><mml:mrow><mml:mo>&#x00393;</mml:mo></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>&#x0222A;</mml:mo><mml:msub><mml:mrow><mml:mo>&#x00393;</mml:mo></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mo>&#x0222A;</mml:mo><mml:msub><mml:mrow><mml:mo>&#x00393;</mml:mo></mml:mrow><mml:mrow><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mn>2</mml:mn></mml:mrow></mml:msub></mml:math></inline-formula>.</p>
<p>Let <italic>n</italic><sub><italic>i</italic></sub> denote the outward normal, from the intracellular domains to the extracellular domain, on &#x00393;<sub><italic>k</italic></sub> for <italic>k</italic> &#x0003D; 1, 2 and from <inline-formula><mml:math id="M76"><mml:msubsup><mml:mrow><mml:mo>&#x003A9;</mml:mo></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msubsup></mml:math></inline-formula> to <inline-formula><mml:math id="M77"><mml:msubsup><mml:mrow><mml:mo>&#x003A9;</mml:mo></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup></mml:math></inline-formula> on &#x00393;<sub>1,2</sub> and, analogously, let <italic>n</italic><sub><italic>e</italic></sub> denote the outward normal from the extracellular to the intracellular domains. By the flux continuity conditions (4) and (7), we require that <italic>&#x00134;</italic><sub><italic>i</italic></sub> &#x000B7; <italic>n</italic><sub><italic>i</italic></sub> &#x0003D; &#x02212;<italic>&#x00134;</italic><sub><italic>e</italic></sub> &#x000B7; <italic>n</italic><sub><italic>e</italic></sub> on &#x00393;<sub><italic>k</italic></sub> (<italic>k</italic> &#x0003D; 1, 2) and analogously on &#x00393;<sub>1,2</sub>. Let <inline-formula><mml:math id="M78"><mml:msup><mml:mrow><mml:mover accent="true"><mml:mrow><mml:mi>v</mml:mi></mml:mrow><mml:mo>^</mml:mo></mml:mover></mml:mrow><mml:mrow><mml:mi>n</mml:mi><mml:mo>,</mml:mo><mml:mo>&#x0002A;</mml:mo></mml:mrow></mml:msup></mml:math></inline-formula> denote the membrane potential solution from the ODE step in the nonlinear case or the membrane solution <inline-formula><mml:math id="M79"><mml:msup><mml:mrow><mml:mover accent="true"><mml:mrow><mml:mi>v</mml:mi></mml:mrow><mml:mo>^</mml:mo></mml:mover></mml:mrow><mml:mrow><mml:mi>n</mml:mi><mml:mo>,</mml:mo><mml:mo>&#x0002A;</mml:mo></mml:mrow></mml:msup><mml:mo>=</mml:mo><mml:msubsup><mml:mrow><mml:mover accent="true"><mml:mrow><mml:mi>v</mml:mi></mml:mrow><mml:mo>^</mml:mo></mml:mover></mml:mrow><mml:mrow><mml:mi>h</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi><mml:mo>-</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msubsup></mml:math></inline-formula> at the previous time in the linear (no ODE) case.</p>
<p>With this notation and after an implicit Euler discretization in time, our H(div)-based finite element scheme at each time step <italic>n</italic> reads as follows: For given <italic>v</italic><sup><italic>n</italic>,&#x0002A;</sup>, <italic>f</italic><sup><italic>n</italic></sup>, and <italic>g</italic><sup><italic>n</italic></sup>, find <inline-formula><mml:math id="M80"><mml:msubsup><mml:mrow><mml:mi>u</mml:mi></mml:mrow><mml:mrow><mml:mi>h</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msubsup><mml:mo>&#x02208;</mml:mo><mml:msub><mml:mrow><mml:mi>U</mml:mi></mml:mrow><mml:mrow><mml:mi>h</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula>, <inline-formula><mml:math id="M81"><mml:msubsup><mml:mrow><mml:mi>&#x00134;</mml:mi></mml:mrow><mml:mrow><mml:mi>h</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msubsup><mml:mo>&#x02208;</mml:mo><mml:msub><mml:mrow><mml:mi>S</mml:mi></mml:mrow><mml:mrow><mml:mi>h</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> and <inline-formula><mml:math id="M82"><mml:msubsup><mml:mrow><mml:mover accent="true"><mml:mrow><mml:mi>v</mml:mi></mml:mrow><mml:mo>^</mml:mo></mml:mover></mml:mrow><mml:mrow><mml:mi>h</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msubsup><mml:mo>&#x02208;</mml:mo><mml:msub><mml:mrow><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mi>h</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> such that</p>
<disp-formula id="E23"><label>(21)</label><mml:math id="M83"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:mo>-</mml:mo><mml:mstyle displaystyle="true"><mml:mrow><mml:msub><mml:mo>&#x0222B;</mml:mo><mml:mrow><mml:mo>&#x003A9;</mml:mo></mml:mrow></mml:msub></mml:mrow></mml:mstyle><mml:mo>&#x02207;</mml:mo><mml:mo>&#x000B7;</mml:mo><mml:msubsup><mml:mrow><mml:mi>&#x00134;</mml:mi></mml:mrow><mml:mrow><mml:mi>h</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msubsup><mml:mi>&#x003D5;</mml:mi><mml:mtext>d</mml:mtext><mml:mi>x</mml:mi><mml:mo>=</mml:mo><mml:mstyle displaystyle="true"><mml:mrow><mml:msub><mml:mo>&#x0222B;</mml:mo><mml:mrow><mml:mo>&#x003A9;</mml:mo></mml:mrow></mml:msub></mml:mrow></mml:mstyle><mml:msup><mml:mrow><mml:mi>f</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msup><mml:mi>&#x003D5;</mml:mi><mml:mtext>d</mml:mtext><mml:mi>x</mml:mi><mml:mo>&#x02200;</mml:mo><mml:mi>&#x003D5;</mml:mi><mml:mo>&#x02208;</mml:mo><mml:msub><mml:mrow><mml:mi>U</mml:mi></mml:mrow><mml:mrow><mml:mi>h</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<disp-formula id="E24"><label>(22)</label><mml:math id="M84"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:mstyle displaystyle="true"><mml:mrow><mml:msub><mml:mo>&#x0222B;</mml:mo><mml:mrow><mml:mo>&#x003A9;</mml:mo></mml:mrow></mml:msub></mml:mrow></mml:mstyle><mml:mrow><mml:mo stretchy="true">(</mml:mo><mml:mrow><mml:msup><mml:mrow><mml:mo>&#x003C3;</mml:mo></mml:mrow><mml:mrow><mml:mo>-</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msup><mml:msubsup><mml:mrow><mml:mi>&#x00134;</mml:mi></mml:mrow><mml:mrow><mml:mi>h</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msubsup><mml:mo>&#x000B7;</mml:mo><mml:mo>&#x003C4;</mml:mo><mml:mo>-</mml:mo><mml:mo>&#x02207;</mml:mo><mml:mo>&#x000B7;</mml:mo><mml:mo>&#x003C4;</mml:mo><mml:msubsup><mml:mrow><mml:mi>u</mml:mi></mml:mrow><mml:mrow><mml:mi>h</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msubsup></mml:mrow><mml:mo stretchy="true">)</mml:mo></mml:mrow><mml:mtext>d</mml:mtext><mml:mi>x</mml:mi><mml:mo>&#x0002B;</mml:mo><mml:mstyle displaystyle="true"><mml:mrow><mml:msub><mml:mo>&#x0222B;</mml:mo><mml:mrow><mml:mover accent="true"><mml:mrow><mml:mo>&#x00393;</mml:mo></mml:mrow><mml:mo>^</mml:mo></mml:mover></mml:mrow></mml:msub></mml:mrow></mml:mstyle><mml:mo>&#x003C4;</mml:mo><mml:mo>&#x000B7;</mml:mo><mml:msub><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:msubsup><mml:mrow><mml:mover accent="true"><mml:mrow><mml:mi>v</mml:mi></mml:mrow><mml:mo>^</mml:mo></mml:mover></mml:mrow><mml:mrow><mml:mi>h</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msubsup><mml:mtext>d</mml:mtext><mml:mi>s</mml:mi></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mtext>&#x000A0;&#x000A0;</mml:mtext><mml:mo>=</mml:mo><mml:mtext>&#x000A0;</mml:mtext><mml:mstyle displaystyle="true"><mml:mrow><mml:msub><mml:mo>&#x0222B;</mml:mo><mml:mrow><mml:mo>&#x003A9;</mml:mo></mml:mrow></mml:msub></mml:mrow></mml:mstyle><mml:msup><mml:mrow><mml:mi>g</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msup><mml:mo>&#x000B7;</mml:mo><mml:mo>&#x003C4;</mml:mo><mml:mtext>d</mml:mtext><mml:mi>x</mml:mi><mml:mo>&#x02200;</mml:mo><mml:mo>&#x003C4;</mml:mo><mml:mo>&#x02208;</mml:mo><mml:msub><mml:mrow><mml:mi>S</mml:mi></mml:mrow><mml:mrow><mml:mi>h</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<disp-formula id="E26"><label>(23)</label><mml:math id="M86"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:mstyle displaystyle="true"><mml:mrow><mml:msub><mml:mo>&#x0222B;</mml:mo><mml:mrow><mml:mover accent="true"><mml:mrow><mml:mo>&#x00393;</mml:mo></mml:mrow><mml:mo>^</mml:mo></mml:mover></mml:mrow></mml:msub></mml:mrow></mml:mstyle><mml:mrow><mml:mo stretchy="true">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>C</mml:mi></mml:mrow><mml:mrow><mml:mi>m</mml:mi></mml:mrow></mml:msub><mml:msubsup><mml:mrow><mml:mover accent="true"><mml:mrow><mml:mi>v</mml:mi></mml:mrow><mml:mo>^</mml:mo></mml:mover></mml:mrow><mml:mrow><mml:mi>h</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msubsup><mml:mo>&#x0002B;</mml:mo><mml:mo>&#x00394;</mml:mo><mml:mi>t</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mo>-</mml:mo><mml:msubsup><mml:mrow><mml:mi>&#x00134;</mml:mi></mml:mrow><mml:mrow><mml:mi>h</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msubsup><mml:mo>&#x000B7;</mml:mo><mml:msub><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>&#x0002B;</mml:mo><mml:mo>&#x003B1;</mml:mo><mml:mo>&#x000CE;</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msubsup><mml:mrow><mml:mover accent="true"><mml:mrow><mml:mi>v</mml:mi></mml:mrow><mml:mo>^</mml:mo></mml:mover></mml:mrow><mml:mrow><mml:mi>h</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msubsup></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mo stretchy="true">)</mml:mo></mml:mrow><mml:mi>&#x003B2;</mml:mi><mml:mtext>d</mml:mtext><mml:mi>s</mml:mi></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mtext>&#x000A0;&#x000A0;</mml:mtext><mml:mo>=</mml:mo><mml:mtext>&#x000A0;</mml:mtext><mml:mstyle displaystyle="true"><mml:mrow><mml:msub><mml:mo>&#x0222B;</mml:mo><mml:mrow><mml:mover accent="true"><mml:mrow><mml:mo>&#x00393;</mml:mo></mml:mrow><mml:mo>^</mml:mo></mml:mover></mml:mrow></mml:msub></mml:mrow></mml:mstyle><mml:msub><mml:mrow><mml:mi>C</mml:mi></mml:mrow><mml:mrow><mml:mi>m</mml:mi></mml:mrow></mml:msub><mml:msup><mml:mrow><mml:mover accent="true"><mml:mrow><mml:mi>v</mml:mi></mml:mrow><mml:mo>^</mml:mo></mml:mover></mml:mrow><mml:mrow><mml:mi>n</mml:mi><mml:mo>,</mml:mo><mml:mo>&#x0002A;</mml:mo></mml:mrow></mml:msup><mml:mi>&#x003B2;</mml:mi><mml:mtext>d</mml:mtext><mml:mi>s</mml:mi><mml:mo>&#x02200;</mml:mo><mml:mi>&#x003B2;</mml:mi><mml:mo>&#x02208;</mml:mo><mml:msub><mml:mrow><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mi>h</mml:mi></mml:mrow></mml:msub><mml:mo>.</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>In the case of a nonlinear <italic>I</italic><sub>ion</sub>, we set &#x003B1; &#x0003D; 0 and treat the non-linear term by operator splitting as outlined above.</p>
<p>In the numerical experiments, as for the mortar finite element method described in section 2.3.2, we let <inline-formula><mml:math id="M88"><mml:msub><mml:mrow><mml:mrow><mml:mi mathvariant="-tex-caligraphic">T</mml:mi></mml:mrow></mml:mrow><mml:mrow><mml:mi>h</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> denote a simplicial mesh of &#x003A9; conforming to <inline-formula><mml:math id="M89"><mml:msubsup><mml:mrow><mml:mo>&#x003A9;</mml:mo></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> (<italic>k</italic> &#x0003D; 1, 2) and &#x003A9;<sub><italic>e</italic></sub> such that <inline-formula><mml:math id="M90"><mml:msub><mml:mrow><mml:mover accent="true"><mml:mrow><mml:mo>&#x00393;</mml:mo></mml:mrow><mml:mo>^</mml:mo></mml:mover></mml:mrow><mml:mrow><mml:mi>h</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula>, the restriction of <inline-formula><mml:math id="M91"><mml:msub><mml:mrow><mml:mrow><mml:mi mathvariant="-tex-caligraphic">T</mml:mi></mml:mrow></mml:mrow><mml:mrow><mml:mi>h</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> to <inline-formula><mml:math id="M92"><mml:mover accent="true"><mml:mrow><mml:mo>&#x00393;</mml:mo></mml:mrow><mml:mo>^</mml:mo></mml:mover></mml:math></inline-formula>, defines a conforming mesh of <inline-formula><mml:math id="M93"><mml:mover accent="true"><mml:mrow><mml:mo>&#x00393;</mml:mo></mml:mrow><mml:mo>^</mml:mo></mml:mover></mml:math></inline-formula> (of one topological dimension lower). Relative to these meshes, we define the spaces <italic>S</italic><sub><italic>h</italic></sub> as the lowest-order Raviart&#x02013;Thomas elements defined over <inline-formula><mml:math id="M94"><mml:msub><mml:mrow><mml:mrow><mml:mi mathvariant="-tex-caligraphic">T</mml:mi></mml:mrow></mml:mrow><mml:mrow><mml:mi>h</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> and <italic>U</italic><sub><italic>h</italic></sub> as the space of (discontinuous) piecewise constants defined over <inline-formula><mml:math id="M95"><mml:msub><mml:mrow><mml:mrow><mml:mi mathvariant="-tex-caligraphic">T</mml:mi></mml:mrow></mml:mrow><mml:mrow><mml:mi>h</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula>, and <italic>V</italic><sub><italic>h</italic></sub> as the space of (discontinuous) piecewise constants defined over <inline-formula><mml:math id="M96"><mml:msub><mml:mrow><mml:mover accent="true"><mml:mrow><mml:mo>&#x00393;</mml:mo></mml:mrow><mml:mo>^</mml:mo></mml:mover></mml:mrow><mml:mrow><mml:mi>h</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula>. The Raviart&#x02013;Thomas elements are, by definition, such that the normal components of the vector fields are continuous across cell facets (edges in 2D, faces in 3D) and thus the flux continuity conditions (4) and (7) hold by construction [<xref ref-type="bibr" rid="B56">56</xref>].</p>
<p>This mixed finite element combination is conforming and our numerical experiments indicate that the element pairing is stable and convergent. The scheme can also be compared to the schemes discussed by Sacco [<xref ref-type="bibr" rid="B57">57</xref>]. Based on the interpolation properties of the lowest-order finite element spaces as described above, we expect to observe first-order convergence for <italic>u</italic>, <italic>&#x00134;</italic>, and <inline-formula><mml:math id="M97"><mml:mover accent="true"><mml:mrow><mml:mi>v</mml:mi></mml:mrow><mml:mo>^</mml:mo></mml:mover></mml:math></inline-formula> in the respective <italic>L</italic><sup>2</sup> norms, and first-order convergence for <italic>&#x00134;</italic> in the H(div) norm. Higher-order convergence in the <italic>L</italic><sup>2</sup> norm of <italic>&#x00134;</italic> can be recovered by using the Brezzi&#x02013;Douglas&#x02013;Marini [<xref ref-type="bibr" rid="B58">58</xref>] H(div) elements instead of the Raviart&#x02013;Thomas family.</p>
<p>In the numerical experiments, this scheme was implemented using the FEniCS finite element library [<xref ref-type="bibr" rid="B49">49</xref>, <xref ref-type="bibr" rid="B50">50</xref>].</p>
</sec>
</sec>
<sec>
<title>2.4. Optimal solvers</title>
<p>A common problem in scientific computing is to solve a linear PDE defined on a certain geometry. After applying some sort of discretization characterized by a mesh parameter <italic>h</italic>, the remaining problem is to solve a linear system of algebraic equations. The linear solution process is usually said to be order optimal provided that the number of floating point operations (FLOPs) required to solve the problem grows linearly in the number of unknowns as <italic>h</italic> decreases. For self-adjoint, linear PDEs, optimal solvers are well understood (e.g., see the review papers [<xref ref-type="bibr" rid="B59">59</xref>, <xref ref-type="bibr" rid="B60">60</xref>] for the theory of saddle point problems). In simulating cardiac tissue, optimal solvers exist for both the monodomain model and the bidomain model (e.g., [<xref ref-type="bibr" rid="B11">11</xref>, <xref ref-type="bibr" rid="B61">61</xref>, <xref ref-type="bibr" rid="B62">62</xref>]).</p>
<p>Feynman [<xref ref-type="bibr" rid="B63">63</xref>] suggested an alternative, but related, definition of order optimality: Suppose a numerical method is used to simulate a small space&#x02013;time volume of a physical process and the mesh is refined to convergence. Then computational complexity should only grow linearly as the space&#x02013;time volume is increased. For our application, this definition is very well suited; we consider a single cell surrounded by an extracellular space, and we carry out numerical simulations to find the mesh resolution in time and space necessary to obtain convergence. Then we define a numerical solution as being order optimal provided that the CPU efforts only increase linearly in the number of biological cells in the computation.</p>
</sec>
</sec>
<sec sec-type="results" id="s3">
<title>3. Results</title>
<p>In this section, we present applications of the methods introduced above. We start by assessing the accuracy of the numerical methods for a very simple unitless test problem where an analytical solution can be enforced using the method of manufactured solutions. For non-linear membrane dynamics, we explore convergence under mesh refinements. Next, we consider the CPU efforts needed to solve the numerical problems arising from the EMI model and we are particularly interested in the CPU effort per physical cell to understand the scalability of the EMI approach. For the FEM, we also show results for cylindrical geometries. Finally, we investigate the effect of non-uniform distributions of sodium channels along the cell membrane.</p>
<sec>
<title>3.1. Model parameters</title>
<p>In the first unitless test problem we consider a 2D domain consisting of an extracellular domain and a single cell. In the remaining simulations, we consider 3D domains consisting of a number of connected cells and the surrounding extracellular space. The coupled cells are organized as a single layer where the cells are connected to each other in a grid in the <italic>x</italic> and <italic>y</italic> directions by gap junctions. The shape and size of the cells and the extracellular domain will be specified for each simulation below. We primarily consider cells of the shape illustrated in Figure <xref ref-type="fig" rid="F4">4</xref>, where each part of the intracellular domain, &#x003A9;<sub>O</sub>, &#x003A9;<sub>W</sub>, &#x003A9;<sub>E</sub>, &#x003A9;<sub>S</sub>, and &#x003A9;<sub>N</sub>, is shaped as a rectangular cuboid.</p>
<fig id="F4" position="float">
<label>Figure 4</label>
<caption><p>Sketch of the 2D version of a domain in the case of a single cell. Here, &#x003A9;<sub><italic>i</italic></sub> &#x0003D; &#x003A9;<sub>O</sub> &#x0222A; &#x003A9;<sub>W</sub> &#x0222A; &#x003A9;<sub>E</sub> &#x0222A; &#x003A9;<sub>S</sub> &#x0222A; &#x003A9;<sub>N</sub>.</p></caption>
<graphic xlink:href="fphy-05-00048-g0004.tif"/>
</fig>
<p>The parameter values used in the simulations are given in Table <xref ref-type="table" rid="T1">1</xref> unless otherwise specified. Moreover, we use the initial condition <italic>w</italic> &#x0003D; 0 in all the simulations of connected cells. When the Grandi model is used to model <italic>I</italic><sub>ion</sub>, we mainly use the default initial conditions of the Grandi model for <italic>v</italic> and the remaining state variables. When a passive model is used for <italic>I</italic><sub>ion</sub>, we primarily use the initial condition <italic>v</italic> &#x0003D; <italic>v</italic><sub>rest</sub>.</p>
<table-wrap position="float" id="T1">
<label>Table 1</label>
<caption><p>Default parameter values used in the simulations.</p></caption>
<table frame="hsides" rules="groups">
<thead><tr>
<th valign="top" align="left"><bold>Parameter</bold></th>
<th valign="top" align="center"><bold>Value</bold></th>
<th valign="top" align="center"><bold>References</bold></th>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="left"><italic>C</italic><sub><italic>m</italic></sub></td>
<td valign="top" align="center">1&#x003BC;F/cm<sup>2</sup></td>
<td valign="top" align="center">[<xref ref-type="bibr" rid="B64">64</xref>]</td>
</tr>
<tr>
<td valign="top" align="left"><italic>C</italic><sub>1,2</sub></td>
<td valign="top" align="center">1&#x003BC;F/cm<sup>2</sup></td>
<td/>
</tr>
<tr>
<td valign="top" align="left">&#x003C3;<sub><italic>i</italic></sub></td>
<td valign="top" align="center">5mS/cm</td>
<td valign="top" align="center">[<xref ref-type="bibr" rid="B65">65</xref>]</td>
</tr>
<tr>
<td valign="top" align="left">&#x003C3;<sub><italic>e</italic></sub></td>
<td valign="top" align="center">20mS/cm</td>
<td valign="top" align="center">[<xref ref-type="bibr" rid="B7">7</xref>]</td>
</tr>
<tr>
<td valign="top" align="left"><italic>v</italic><sub>rest</sub></td>
<td valign="top" align="center">&#x02212;85 mV</td>
<td valign="top" align="center">[<xref ref-type="bibr" rid="B66">66</xref>]</td>
</tr>
<tr>
<td valign="top" align="left"><italic>R</italic><sub><italic>m</italic></sub></td>
<td valign="top" align="center">10k&#x003A9;cm<sup>2</sup></td>
<td valign="top" align="center">[<xref ref-type="bibr" rid="B64">64</xref>]</td>
</tr>
<tr>
<td valign="top" align="left"><italic>R</italic><sub><italic>g</italic></sub></td>
<td valign="top" align="center">0.0015k&#x003A9;cm<sup>2</sup></td>
<td valign="top" align="center">[<xref ref-type="bibr" rid="B7">7</xref>]</td>
</tr>
<tr>
<td valign="top" align="left">&#x00394;<italic>x</italic>, &#x00394;<italic>y</italic>, &#x00394;<italic>z</italic></td>
<td valign="top" align="center">2&#x003BC;m</td>
<td/>
</tr>
<tr>
<td valign="top" align="left">&#x00394;<italic>t</italic> (PDE part)</td>
<td valign="top" align="center">0.1 ms</td>
<td/>
</tr>
<tr>
<td valign="top" align="left">&#x00394;<italic>t</italic><sup>&#x0002A;</sup> (ODE part)</td>
<td valign="top" align="center">0.001 ms</td>
<td/>
</tr>
</tbody>
</table>
<table-wrap-foot>
<p><italic>For the parameters used in the Grandi model, we refer to Grandi et al. [<xref ref-type="bibr" rid="B48">48</xref>]</italic>.</p>
</table-wrap-foot>
</table-wrap>
</sec>
<sec>
<title>3.2. Numerical verification and accuracy</title>
<sec>
<title>3.2.1. Linear ionic current: method of manufactured solutions</title>
<p>To evaluate the accuracy of the numerical methods, we construct an analytical solution for a 2D single-cell version of the EMI model with the passive model <italic>I</italic><sub>ion</sub> &#x0003D; <italic>v</italic>. The analytical solution of this simple example is constructed using the method of manufactured solutions (e.g., [<xref ref-type="bibr" rid="B67">67</xref>]). We consider a single cell surrounded by extracellular space:</p>
<disp-formula id="E28"><label>(24)</label><mml:math id="M98"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:mo>&#x02207;</mml:mo><mml:mo>&#x000B7;</mml:mo><mml:msub><mml:mrow><mml:mo>&#x003C3;</mml:mo></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>&#x02207;</mml:mo><mml:msub><mml:mrow><mml:mi>u</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mi>f</mml:mi><mml:mo>,</mml:mo><mml:mtext>in</mml:mtext><mml:msub><mml:mrow><mml:mo>&#x003A9;</mml:mo></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<disp-formula id="E29"><label>(25)</label><mml:math id="M99"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:mo>&#x02207;</mml:mo><mml:mo>&#x000B7;</mml:mo><mml:msub><mml:mrow><mml:mo>&#x003C3;</mml:mo></mml:mrow><mml:mrow><mml:mi>e</mml:mi></mml:mrow></mml:msub><mml:mo>&#x02207;</mml:mo><mml:msub><mml:mrow><mml:mi>u</mml:mi></mml:mrow><mml:mrow><mml:mi>e</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mi>g</mml:mi><mml:mo>,</mml:mo><mml:mtext>in</mml:mtext><mml:msub><mml:mrow><mml:mo>&#x003A9;</mml:mo></mml:mrow><mml:mrow><mml:mi>e</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<disp-formula id="E30"><label>(26)</label><mml:math id="M100"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:msub><mml:mrow><mml:mi>u</mml:mi></mml:mrow><mml:mrow><mml:mi>e</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mn>0</mml:mn><mml:mo>,</mml:mo><mml:mtext>at&#x000A0;</mml:mtext><mml:mo>&#x02202;</mml:mo><mml:msub><mml:mrow><mml:mo>&#x003A9;</mml:mo></mml:mrow><mml:mrow><mml:mi>e</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<disp-formula id="E31"><label>(27)</label><mml:math id="M101"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:msub><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>e</mml:mi></mml:mrow></mml:msub><mml:mo>&#x000B7;</mml:mo><mml:msub><mml:mrow><mml:mo>&#x003C3;</mml:mo></mml:mrow><mml:mrow><mml:mi>e</mml:mi></mml:mrow></mml:msub><mml:mo>&#x02207;</mml:mo><mml:msub><mml:mrow><mml:mi>u</mml:mi></mml:mrow><mml:mrow><mml:mi>e</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mo>-</mml:mo><mml:msub><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>&#x000B7;</mml:mo><mml:msub><mml:mrow><mml:mo>&#x003C3;</mml:mo></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>&#x02207;</mml:mo><mml:msub><mml:mrow><mml:mi>u</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mtext>at</mml:mtext><mml:mo>&#x00393;</mml:mo><mml:mo>,</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<disp-formula id="E32"><label>(28)</label><mml:math id="M102"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:msub><mml:mrow><mml:mi>u</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>-</mml:mo><mml:msub><mml:mrow><mml:mi>u</mml:mi></mml:mrow><mml:mrow><mml:mi>e</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mi>v</mml:mi><mml:mo>,</mml:mo><mml:mtext>at</mml:mtext><mml:mo>&#x00393;</mml:mo><mml:mo>,</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<disp-formula id="E33"><label>(29)</label><mml:math id="M103"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:msub><mml:mrow><mml:mi>I</mml:mi></mml:mrow><mml:mrow><mml:mi>m</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mo>-</mml:mo><mml:msub><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>&#x000B7;</mml:mo><mml:msub><mml:mrow><mml:mo>&#x003C3;</mml:mo></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>&#x02207;</mml:mo><mml:msub><mml:mrow><mml:mi>u</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mtext>at</mml:mtext><mml:mo>&#x00393;</mml:mo><mml:mo>,</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<disp-formula id="E34"><label>(30)</label><mml:math id="M104"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:msub><mml:mrow><mml:mi>v</mml:mi></mml:mrow><mml:mrow><mml:mi>t</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>C</mml:mi></mml:mrow><mml:mrow><mml:mi>m</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfrac><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>I</mml:mi></mml:mrow><mml:mrow><mml:mi>m</mml:mi></mml:mrow></mml:msub><mml:mo>-</mml:mo><mml:msub><mml:mrow><mml:mi>I</mml:mi></mml:mrow><mml:mrow><mml:mtext>ion</mml:mtext></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>,</mml:mo><mml:mtext>at</mml:mtext><mml:mo>&#x00393;</mml:mo><mml:mo>.</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>For this case, we assume that the model is unitless with parameters &#x003C3;<sub><italic>i</italic></sub> &#x0003D; &#x003C3;<sub><italic>e</italic></sub> &#x0003D; <italic>C</italic><sub><italic>m</italic></sub> &#x0003D; 1, and we define the domain &#x003A9; &#x0003D; &#x003A9;<sub><italic>i</italic></sub> &#x0222A; &#x003A9;<sub><italic>e</italic></sub> &#x0003D; [0, 1] &#x000D7; [0, 1], where &#x003A9;<sub><italic>i</italic></sub> &#x0003D; [0.25, 0.75] &#x000D7; [0.25, 0.75].</p>
<p>We let</p>
<disp-formula id="E35"><label>(31)</label><mml:math id="M105"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:mi>f</mml:mi><mml:mo>=</mml:mo><mml:mi>f</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>x</mml:mi><mml:mo>,</mml:mo><mml:mi>y</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mo>-</mml:mo><mml:mn>8</mml:mn><mml:msup><mml:mrow><mml:mi>&#x003C0;</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msup><mml:mo class="qopname">sin</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mn>2</mml:mn><mml:mi>&#x003C0;</mml:mi><mml:mi>x</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo class="qopname">sin</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mn>2</mml:mn><mml:mi>&#x003C0;</mml:mi><mml:mi>y</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mn>1</mml:mn><mml:mo>&#x0002B;</mml:mo><mml:msup><mml:mrow><mml:mi>e</mml:mi></mml:mrow><mml:mrow><mml:mo>-</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msup></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>,</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<disp-formula id="E36"><label>(32)</label><mml:math id="M106"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:mi>g</mml:mi><mml:mo>=</mml:mo><mml:mi>g</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>x</mml:mi><mml:mo>,</mml:mo><mml:mi>y</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mo>-</mml:mo><mml:mn>8</mml:mn><mml:msup><mml:mrow><mml:mi>&#x003C0;</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msup><mml:mo class="qopname">sin</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mn>2</mml:mn><mml:mi>&#x003C0;</mml:mi><mml:mi>x</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo class="qopname">sin</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mn>2</mml:mn><mml:mi>&#x003C0;</mml:mi><mml:mi>y</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>and the analytical solution of (24&#x02013;30) is then given by</p>
<disp-formula id="E37"><label>(33)</label><mml:math id="M107"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:msub><mml:mrow><mml:mi>u</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>x</mml:mi><mml:mo>,</mml:mo><mml:mi>y</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mn>1</mml:mn><mml:mo>&#x0002B;</mml:mo><mml:msup><mml:mrow><mml:mi>e</mml:mi></mml:mrow><mml:mrow><mml:mo>-</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msup></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo class="qopname">sin</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mn>2</mml:mn><mml:mi>&#x003C0;</mml:mi><mml:mi>x</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo class="qopname">sin</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mn>2</mml:mn><mml:mi>&#x003C0;</mml:mi><mml:mi>y</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>,</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<disp-formula id="E38"><label>(34)</label><mml:math id="M108"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:msub><mml:mrow><mml:mi>u</mml:mi></mml:mrow><mml:mrow><mml:mi>e</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>x</mml:mi><mml:mo>,</mml:mo><mml:mi>y</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mo class="qopname">sin</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mn>2</mml:mn><mml:mi>&#x003C0;</mml:mi><mml:mi>x</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo class="qopname">sin</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mn>2</mml:mn><mml:mi>&#x003C0;</mml:mi><mml:mi>y</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>,</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<disp-formula id="E39"><label>(35)</label><mml:math id="M109"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:mi>v</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>x</mml:mi><mml:mo>,</mml:mo><mml:mi>y</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:msup><mml:mrow><mml:mi>e</mml:mi></mml:mrow><mml:mrow><mml:mo>-</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msup><mml:mo class="qopname">sin</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mn>2</mml:mn><mml:mi>&#x003C0;</mml:mi><mml:mi>x</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo class="qopname">sin</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mn>2</mml:mn><mml:mi>&#x003C0;</mml:mi><mml:mi>y</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>.</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>In the numerical experiments of this test case, we use &#x00394;<italic>t</italic> &#x0003D; 0.01/<italic>n</italic>, where for the FDM, <italic>n</italic> equals the number of intervals in each direction of the spatial discretization of the domain. In the FEM case, 2<italic>n</italic><sup>2</sup> is the number of triangles that constitute the uniformly discretized mesh. We note that the chosen time step criterion is not necessary for numerical stability of any of the methods. Rather, it was selected to yield more stable convergence rates. For this test case, the linear systems arising in the experiments are solved by direct solvers (LU factorization), and the errors are computed at time <italic>t</italic> &#x0003D; 0.1.</p>
<p>Table <xref ref-type="table" rid="T2">2</xref> shows the maximum error of the finite difference method as the discretization parameters are refined. We observe that the convergence rates of the intracellular and extracellular potentials <italic>u</italic><sub><italic>h</italic></sub> and the membrane potential <italic>v</italic><sub><italic>h</italic></sub> are both close to one, indicating that the maximum (<italic>L</italic><sup>&#x0221E;</sup>) error of the FDM is <italic>O</italic>(<italic>h</italic>).</p>
<table-wrap position="float" id="T2">
<label>Table 2</label>
<caption><p>Convergence of the finite difference method for the manufactured test problem with convergence rates in parentheses.</p></caption>
<table frame="hsides" rules="groups">
<thead><tr>
<th valign="top" align="left"><bold><italic>n</italic></bold></th>
<th valign="top" align="center"><bold>||u &#x02212; u_h||<sub>&#x0221E;</sub></bold></th>
<th valign="top" align="center"><bold>||<italic>v</italic> &#x02212; <italic>v</italic><sub><italic>h</italic></sub>||<sub>&#x0221E;</sub></bold></th>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="left">16</td>
<td valign="top" align="center">3.24E&#x02212;01 (--)</td>
<td valign="top" align="center">1.21E&#x02212;01 (--)</td>
</tr>
<tr>
<td valign="top" align="left">32</td>
<td valign="top" align="center">1.73E&#x02212;01 (0.91)</td>
<td valign="top" align="center">7.24E&#x02212;02 (0.75)</td>
</tr>
<tr>
<td valign="top" align="left">64</td>
<td valign="top" align="center">9.32E&#x02212;02 (0.89)</td>
<td valign="top" align="center">3.98E&#x02212;02 (0.86)</td>
</tr>
<tr>
<td valign="top" align="left">128</td>
<td valign="top" align="center">4.80E&#x02212;02 (0.96)</td>
<td valign="top" align="center">2.09E&#x02212;02 (0.93)</td>
</tr>
<tr>
<td valign="top" align="left">256</td>
<td valign="top" align="center">2.43E&#x02212;02 (0.98)</td>
<td valign="top" align="center">1.07E&#x02212;02 (0.96)</td>
</tr>
<tr>
<td valign="top" align="left">512</td>
<td valign="top" align="center">1.22E&#x02212;02 (0.99)</td>
<td valign="top" align="center">5.44E&#x02212;03 (0.98)</td>
</tr>
</tbody>
</table>
<table-wrap-foot>
<p><italic>The convergence rates in row i are computed by <inline-formula><mml:math id="M110"><mml:mi>r</mml:mi><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mo class="qopname">log</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>E</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>/</mml:mo><mml:msub><mml:mrow><mml:mi>E</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo>-</mml:mo><mml:mstyle class="text"><mml:mtext class="textit" mathvariant="italic">1</mml:mtext></mml:mstyle></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mo class="qopname">log</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>h</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>/</mml:mo><mml:msub><mml:mrow><mml:mi>h</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo>-</mml:mo><mml:mstyle class="text"><mml:mtext class="textit" mathvariant="italic">1</mml:mtext></mml:mstyle></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow></mml:mfrac></mml:math></inline-formula>, where E<sub>i</sub> is the maximum error of u or v in row i and h<sub>i</sub> is the value of h &#x0003D; &#x00394;x &#x0003D; &#x00394;y &#x0003D; 100&#x00394;t used in the simulation in row i</italic>.</p>
</table-wrap-foot>
</table-wrap>
<p>In Table <xref ref-type="table" rid="T3">3</xref>, we report the results obtained with the mortar FEM. The error of the potentials <italic>u</italic><sub><italic>h</italic></sub> is reported in the broken <italic>H</italic><sup>1</sup> norm ||<italic>u</italic>&#x02212;<italic>u</italic><sub><italic>h</italic></sub>||<sub>1</sub>, which is natural for the problem [<xref ref-type="bibr" rid="B53">53</xref>], the <italic>L</italic><sup>2</sup> norm ||<italic>u</italic>&#x02212;<italic>u</italic><sub><italic>h</italic></sub>||<sub>0</sub> to enable comparison with the H(div) FEM, and the supremum norm ||<italic>u</italic>&#x02212;<italic>u</italic><sub><italic>h</italic></sub>||<sub>&#x0221E;</sub> to allow for comparison across different numerical methods. The error in the current density <italic>J</italic><sub><italic>h</italic></sub> is measured in the <italic>L</italic><sup>2</sup> norm rather than the natural but more involved <italic>H</italic><sup>&#x02212;1/2</sup> norm. Finally, we report convergence of the membrane potential difference ||<italic>v</italic>&#x02212;<italic>v</italic><sub><italic>h</italic></sub>||<sub>&#x0221E;</sub>, where <italic>v</italic><sub><italic>h</italic></sub> is obtained from the definition <italic>u</italic><sub><italic>i,h</italic></sub> &#x02212; <italic>u</italic><sub><italic>e,h</italic></sub> &#x0003D; <italic>v</italic><sub><italic>h</italic></sub> using the computed potentials. We note that the integral norms are evaluated by first interpolating the error in the space of discontinuous fourth-order polynomials. The supremum norms are then computed using linear polynomials.</p>
<table-wrap position="float" id="T3">
<label>Table 3</label>
<caption><p>Convergence of the mortar finite element method for the manufactured test problem, with convergence rates in parentheses.</p></caption>
<table frame="hsides" rules="groups">
<thead><tr>
<th valign="top" align="left"><bold><italic>n</italic></bold></th>
<th valign="top" align="center"><bold>||<italic>u</italic> &#x02212; <italic>u</italic><sub><italic>h</italic></sub>||<sub>1</sub></bold></th>
<th valign="top" align="center"><bold>||<italic>u</italic> &#x02212; <italic>u</italic><sub><italic>h</italic></sub>||<sub>0</sub></bold></th>
<th valign="top" align="center"><bold>||<italic>J</italic> &#x02212; <italic>J</italic><sub><italic>h</italic></sub>||<sub>0</sub></bold></th>
<th valign="top" align="center"><bold>||<italic>u</italic> &#x02212; <italic>u</italic><sub><italic>h</italic></sub>||<sub>&#x0221E;</sub></bold></th>
<th valign="top" align="center"><bold>||<italic>v</italic> &#x02212; <italic>v</italic><sub><italic>h</italic></sub>||<sub>&#x0221E;</sub></bold></th>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="left">16</td>
<td valign="top" align="center">1.11E&#x0002B;00 (--)</td>
<td valign="top" align="center">2.85E&#x02212;02 (--)</td>
<td valign="top" align="center">1.45E&#x02212;01 (--)</td>
<td valign="top" align="center">6.36E&#x02212;02 (--)</td>
<td valign="top" align="center">5.03E&#x02212;02 (--)</td>
</tr>
<tr>
<td valign="top" align="left">32</td>
<td valign="top" align="center">5.59E&#x02212;01 (0.98)</td>
<td valign="top" align="center">7.37E&#x02212;03 (1.95)</td>
<td valign="top" align="center">4.01E&#x02212;02 (1.86)</td>
<td valign="top" align="center">2.09E&#x02212;02 (1.60)</td>
<td valign="top" align="center">1.82E&#x02212;02 (1.47)</td>
</tr>
<tr>
<td valign="top" align="left">64</td>
<td valign="top" align="center">2.80E&#x02212;01 (1.00)</td>
<td valign="top" align="center">1.90E&#x02212;03 (1.96)</td>
<td valign="top" align="center">1.05E&#x02212;02 (1.94)</td>
<td valign="top" align="center">6.73E&#x02212;03 (1.64)</td>
<td valign="top" align="center">6.22E&#x02212;03 (1.54)</td>
</tr>
<tr>
<td valign="top" align="left">128</td>
<td valign="top" align="center">1.40E&#x02212;01 (1.00)</td>
<td valign="top" align="center">4.99E&#x02212;04 (1.93)</td>
<td valign="top" align="center">2.65E&#x02212;03 (1.98)</td>
<td valign="top" align="center">2.15E&#x02212;03 (1.65)</td>
<td valign="top" align="center">2.08E&#x02212;03 (1.58)</td>
</tr>
<tr>
<td valign="top" align="left">256</td>
<td valign="top" align="center">7.02E&#x02212;02 (1.00)</td>
<td valign="top" align="center">1.38E&#x02212;04 (1.86)</td>
<td valign="top" align="center">6.66E&#x02212;04 (1.99)</td>
<td valign="top" align="center">6.93E&#x02212;04 (1.63)</td>
<td valign="top" align="center">6.90E&#x02212;04 (1.59)</td>
</tr>
<tr>
<td valign="top" align="left">512</td>
<td valign="top" align="center">3.51E&#x02212;02 (1.00)</td>
<td valign="top" align="center">4.16E&#x02212;05 (1.73)</td>
<td valign="top" align="center">1.66E&#x02212;04 (2.00)</td>
<td valign="top" align="center">2.31E&#x02212;04 (1.59)</td>
<td valign="top" align="center">2.34E&#x02212;04 (1.56)</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>Using piecewise linear elements, the observed convergence rates in the integral norms (see the first three columns of Table <xref ref-type="table" rid="T3">3</xref>), are 1.0 (optimal) and 1.73 (slightly suboptimal) for the broken <italic>H</italic><sup>1</sup> norm and the <italic>L</italic><sup>2</sup> norm of potentials, respectively, while order 2 can be seen in the <italic>L</italic><sup>2</sup> norm of the current density. We note that the suboptimal rate of convergence is due to the error being dominated by the temporal discretization and decreasing the time step restores the optimal quadratic convergence. Let us also note that the quadratic convergence of the current density is likely related to the fact that <italic>I</italic><sub><italic>m</italic></sub> &#x0003D; 0 in the test case. The observed order of convergence in the supremum norms is 1.59 and 1.56 for <italic>u</italic><sub><italic>h</italic></sub> and <italic>v</italic><sub><italic>h</italic></sub>, respectively. However, the error here seems again to be dominated by temporal discretization, since using &#x00394;<italic>t</italic> &#x0003D; 10<sup>&#x02212;3</sup>/<italic>n</italic> improves the rates toward 2.0.</p>
<p>Table <xref ref-type="table" rid="T4">4</xref> reports the errors and convergence rates for the H(div)-based FEM. The error in the computed intracellular and extracellular potentials <italic>u</italic><sub><italic>h</italic></sub> and the error in the membrane potential <italic>v</italic><sub><italic>h</italic></sub> are reported in the <italic>L</italic><sup>2</sup> norm and in the supremum norm. Furthermore, the error in the computed potential gradient <italic>&#x00134;</italic><sub><italic>h</italic></sub> is reported in the <italic>L</italic><sup>2</sup> and H(div) norms. We observe that the convergence rate is one both for the error in the <italic>L</italic><sup>2</sup> norm for <italic>u</italic><sub><italic>h</italic></sub> and <italic>v</italic><sub><italic>h</italic></sub> and for the H(div) and <italic>L</italic><sup>2</sup> norms for <italic>&#x00134;</italic><sub><italic>h</italic></sub>. These rates are in complete agreement with the theoretical expectations. In addition, we observe that the convergence of the supremum norm of <italic>u</italic><sub><italic>h</italic></sub> and <italic>v</italic><sub><italic>h</italic></sub>, computed after a projection onto continuous piecewise linears, appears to be close to quadratic.</p>
<table-wrap position="float" id="T4">
<label>Table 4</label>
<caption><p>Convergence of the H(div) finite element method for the manufactured test problem, with convergence rates in parentheses.</p></caption>
<table frame="hsides" rules="groups">
<thead><tr>
<th valign="top" align="left"><bold><italic>n</italic></bold></th>
<th valign="top" align="center"><bold>||<italic>u</italic> &#x02212; <italic>u</italic><sub><italic>h</italic></sub>||<sub>0</sub></bold></th>
<th valign="top" align="center"><bold>||<italic>&#x00134;</italic> &#x02212; <italic>&#x00134;</italic><sub><italic>h</italic></sub>||<sub>0</sub></bold></th>
<th valign="top" align="center"><bold>||<italic>&#x00134;</italic> &#x02212; <italic>&#x00134;</italic><sub><italic>h</italic></sub>||<sub>div</sub></bold></th>
<th valign="top" align="center"><bold>||<italic>v</italic> &#x02212; <italic>v</italic><sub><italic>h</italic></sub>||<sub>0</sub></bold></th>
<th valign="top" align="center"><bold>||<italic>u</italic> &#x02212; <italic>u</italic><sub><italic>h</italic></sub>||<sub>&#x0221E;</sub></bold></th>
<th valign="top" align="center"><bold>||<italic>v</italic> &#x02212; <italic>v</italic><sub><italic>h</italic></sub>||<sub>&#x0221E;</sub></bold></th>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="left">16</td>
<td valign="top" align="center">8.41E&#x02212;02 (--)</td>
<td valign="top" align="center">6.49E&#x02212;01 (--)</td>
<td valign="top" align="center">6.62E&#x0002B;00 (--)</td>
<td valign="top" align="center">1.02E&#x02212;01 (--)</td>
<td valign="top" align="center">2.73E&#x02212;02 (--)</td>
<td valign="top" align="center">2.53E&#x02212;03 (--)</td>
</tr>
<tr>
<td valign="top" align="left">32</td>
<td valign="top" align="center">4.21E&#x02212;02 (1.00)</td>
<td valign="top" align="center">3.24E&#x02212;01 (1.00)</td>
<td valign="top" align="center">3.32E&#x0002B;00 (0.99)</td>
<td valign="top" align="center">5.13E&#x02212;02 (1.00)</td>
<td valign="top" align="center">6.87E&#x02212;03 (1.99)</td>
<td valign="top" align="center">6.36E&#x02212;04 (1.99)</td>
</tr>
<tr>
<td valign="top" align="left">64</td>
<td valign="top" align="center">2.11E&#x02212;02 (1.00)</td>
<td valign="top" align="center">1.62E&#x02212;01 (1.00)</td>
<td valign="top" align="center">1.66E&#x0002B;00 (1.00)</td>
<td valign="top" align="center">2.56E&#x02212;02 (1.00)</td>
<td valign="top" align="center">1.72E&#x02212;03 (2.00)</td>
<td valign="top" align="center">1.57E&#x02212;04 (2.02)</td>
</tr>
<tr>
<td valign="top" align="left">128</td>
<td valign="top" align="center">1.05E&#x02212;02 (1.00)</td>
<td valign="top" align="center">8.10E&#x02212;02 (1.00)</td>
<td valign="top" align="center">8.31E&#x02212;01 (1.00)</td>
<td valign="top" align="center">1.28E&#x02212;02 (1.00)</td>
<td valign="top" align="center">4.30E&#x02212;04 (2.00)</td>
<td valign="top" align="center">3.76E&#x02212;05 (2.06)</td>
</tr>
<tr>
<td valign="top" align="left">256</td>
<td valign="top" align="center">5.27E&#x02212;03 (1.00)</td>
<td valign="top" align="center">4.05E&#x02212;02 (1.00)</td>
<td valign="top" align="center">4.16E&#x02212;01 (1.00)</td>
<td valign="top" align="center">6.41E&#x02212;03 (1.00)</td>
<td valign="top" align="center">1.08E&#x02212;04 (2.00)</td>
<td valign="top" align="center">8.63E&#x02212;06 (2.12)</td>
</tr>
<tr>
<td valign="top" align="left">512</td>
<td valign="top" align="center">2.63E&#x02212;03 (1.00)</td>
<td valign="top" align="center">2.03E&#x02212;02 (1.00)</td>
<td valign="top" align="center">2.08E&#x02212;01 (1.00)</td>
<td valign="top" align="center">3.21E&#x02212;03 (1.00)</td>
<td valign="top" align="center">2.69E&#x02212;05 (2.00)</td>
<td valign="top" align="center">1.77E&#x02212;06 (2.29)</td>
</tr>
</tbody>
</table>
</table-wrap>
</sec>
<sec>
<title>3.2.2. Nonlinear ionic current: mesh refinement</title>
<p>To investigate the accuracy of the numerical methods using the Grandi AP model, we compare the solutions obtained from the numerical methods using different spatial resolutions.</p>
<p>Figure <xref ref-type="fig" rid="F5">5</xref> shows the solution of the membrane potential in a single point on the membrane for the FDM and the H(div)-based FEM for a number of resolutions. We consider the solution for two connected cells; and the sizes of the cells and the domain used in the simulations are given in Table <xref ref-type="table" rid="T5">5</xref>.</p>
<fig id="F5" position="float">
<label>Figure 5</label>
<caption><p>Membrane potential at the point (112, 24, 16 &#x003BC;m) for the finite difference and the finite element methods for two connected cells for some different values of &#x00394;<italic>x</italic> &#x0003D; &#x00394;<italic>y</italic> &#x0003D; &#x00394;<italic>z</italic>. The <bold>upper panel</bold> shows the solution from <italic>t</italic> &#x0003D; 0 ms to <italic>t</italic> &#x0003D; 10 ms. In the <bold>lower panel</bold>, we zoom in on the peak to observe a difference between the solutions. Note that the scaling of the <italic>y</italic> axis is different for the two plots in the <bold>lower panel</bold> and that the FEM solutions for &#x00394;<italic>x</italic> = 4 &#x003BC;m and &#x00394;<italic>x</italic> = 2 &#x003BC;m are almost indistinguishable in the lower right plot. The parameter values used in the simulations are given in Tables <xref ref-type="table" rid="T1">1</xref>, <xref ref-type="table" rid="T5">5</xref>, and we apply a 1-ms-long stimulus current of 120 &#x003BC;A/&#x003BC;F for the first 24 &#x003BC;m of the first cell.</p></caption>
<graphic xlink:href="fphy-05-00048-g0005.tif"/>
</fig>
<table-wrap position="float" id="T5">
<label>Table 5</label>
<caption><p>The cell and domain sizes used in the simulations reported in Figure <xref ref-type="fig" rid="F5">5</xref>.</p></caption>
<table frame="hsides" rules="groups">
<thead><tr>
<th valign="top" align="left"><bold>Domain</bold></th>
<th valign="top" align="center"><bold>Size</bold></th>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="left">&#x003A9;<sub>O</sub></td>
<td valign="top" align="center">36 &#x000D7; 16 &#x000D7; 16 &#x003BC;m</td>
</tr>
<tr>
<td valign="top" align="left">&#x003A9;<sub>W</sub>, &#x003A9;<sub>E</sub></td>
<td valign="top" align="center">8 &#x000D7; 8 &#x000D7; 8 &#x003BC;m</td>
</tr>
<tr>
<td valign="top" align="left">&#x003A9;<sub>S</sub>, &#x003A9;<sub>N</sub></td>
<td valign="top" align="center">20 &#x000D7; 8 &#x000D7; 8 &#x003BC;m</td>
</tr>
<tr>
<td valign="top" align="left">&#x003A9;<sub><italic>i</italic></sub> &#x0222A; &#x003A9;<sub><italic>e</italic></sub></td>
<td valign="top" align="center">120 &#x000D7; 48 &#x000D7; 32 &#x003BC;m</td>
</tr>
</tbody>
</table>
<table-wrap-foot>
<p><italic>The intracellular domain consists of two connected cells, where each cell is a composition of the domains &#x003A9;<sub>O</sub>, &#x003A9;<sub>W</sub>, &#x003A9;<sub>E</sub>, &#x003A9;<sub>S</sub>, and &#x003A9;<sub>N</sub> (see Figure <xref ref-type="fig" rid="F4">4</xref>). Note that the geometry used in the remaining 3D simulations is specified in Tables <xref ref-type="table" rid="T6">6</xref>, <xref ref-type="table" rid="T10">10</xref></italic>.</p>
</table-wrap-foot>
</table-wrap>
<p>In the upper panel of Figure <xref ref-type="fig" rid="F5">5</xref>, the solutions for different resolutions are almost indistinguishable, but in the lower panel we focus on a small part of the solution and a difference is visible for the different resolutions of the FDM. The H(div) FEM solutions are very similar for different resolutions, indicating that the method is more accurate than the FDM in this case as well.</p>
</sec>
</sec>
<sec>
<title>3.3. CPU requirements</title>
<p>As mentioned in the section 1, simulation of the electrophysiology of cardiac tissue is usually based on homogenized models such as the monodomain model or the bidomain model. The motivation for this is certainly that it requires considerably less computing power than the EMI approach considered here. Therefore, it is very important to understand the computational complexity of the EMI model to appreciate the applications in which this approach can be used.</p>
<sec>
<title>3.3.1. Finite difference method</title>
<p>Tables <xref ref-type="table" rid="T7">7</xref>, <xref ref-type="table" rid="T8">8</xref> report the CPU times, number of iterations, and system size for the FDM as the number of cells included in the simulation is increased. In Table <xref ref-type="table" rid="T7">7</xref>, we use the passive model (10) for <italic>I</italic><sub>ion</sub>, and in Table <xref ref-type="table" rid="T8">8</xref>, we use the Grandi AP model. The linear systems are solved using the BiCGStab method (see [<xref ref-type="bibr" rid="B68">68</xref>, <xref ref-type="bibr" rid="B69">69</xref>]) with an incomplete LU preconditioner (e.g., [<xref ref-type="bibr" rid="B68">68</xref>]) and relative tolerance of 10<sup>&#x02212;5</sup> for the <italic>true/unpreconditioned</italic> (<italic>l</italic><sup>2</sup>) norm of the residuum. The computations are performed using MATLAB. The last column of the tables reports the simulation time per cell for a single time step and we observe that the simulation time <italic>per physical cell</italic> appears to be bounded as the number of cells is increased.</p>
<table-wrap position="float" id="T6">
<label>Table 6</label>
<caption><p>Cell sizes used in the simulations reported in Figures <xref ref-type="fig" rid="F7">7</xref>&#x02013;<xref ref-type="fig" rid="F9">9</xref> and Tables <xref ref-type="table" rid="T7">7</xref>&#x02013;<xref ref-type="table" rid="T9">9</xref>.</p></caption>
<table frame="hsides" rules="groups">
<thead><tr>
<th valign="top" align="left"><bold>Domain</bold></th>
<th valign="top" align="center"><bold>Size</bold></th>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="left">&#x003A9;<sub>O</sub></td>
<td valign="top" align="center">100 &#x000D7; 12 &#x000D7; 12 &#x003BC;m</td>
</tr>
<tr>
<td valign="top" align="left">&#x003A9;<sub>W</sub>, &#x003A9;<sub>E</sub></td>
<td valign="top" align="center">4 &#x000D7; 8 &#x000D7; 8 &#x003BC;m</td>
</tr>
<tr>
<td valign="top" align="left">&#x003A9;<sub>S</sub>, &#x003A9;<sub>N</sub></td>
<td valign="top" align="center">60 &#x000D7; 4 &#x000D7; 8 &#x003BC;m</td>
</tr>
</tbody>
</table>
<table-wrap-foot>
<p><italic>The intracellular domain consists of a number of connected cells where each cell is a composition of the domains &#x003A9;<sub>O</sub>, &#x003A9;<sub>W</sub>, &#x003A9;<sub>E</sub>, &#x003A9;<sub>S</sub>, and &#x003A9;<sub>N</sub> (see Figure <xref ref-type="fig" rid="F4">4</xref>). The size of &#x003A9; &#x0003D; &#x003A9;<sub>i</sub>&#x0222A;&#x003A9;<sub>e</sub> is L<sub>x</sub>&#x000D7;L<sub>y</sub>&#x000D7;L<sub>z</sub>, where L<sub>z</sub> &#x0003D; 20&#x003BC;m and L<sub>x</sub> and L<sub>y</sub> depend on the number of cells in the simulation. The minimal distance between the intracellular domain and the boundary of the extracellular domain is 8 &#x003BC;m in both the x and y directions</italic>.</p>
</table-wrap-foot>
</table-wrap>
<table-wrap position="float" id="T7">
<label>Table 7</label>
<caption><p>CPU times for the finite difference method for a passive membrane model.</p></caption>
<table frame="hsides" rules="groups">
<thead><tr>
<th valign="top" align="left"><bold>Cells</bold></th>
<th valign="top" align="center"><bold>Grid points</bold></th>
<th valign="top" align="center"><bold>System size</bold></th>
<th valign="top" align="center"><bold><italic>n</italic><sub><italic>it</italic></sub></bold></th>
<th valign="top" align="center"><bold><italic>T</italic> (s)</bold></th>
<th valign="top" align="center"><bold><italic>T</italic>/cell (s)</bold></th>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="left">1</td>
<td valign="top" align="center">13,167</td>
<td valign="top" align="center">14,609</td>
<td valign="top" align="center">44</td>
<td valign="top" align="center">0.5</td>
<td valign="top" align="center">0.5</td>
</tr>
<tr>
<td valign="top" align="left">4</td>
<td valign="top" align="center">37,323</td>
<td valign="top" align="center">42,563</td>
<td valign="top" align="center">122</td>
<td valign="top" align="center">3.9</td>
<td valign="top" align="center">1.0</td>
</tr>
<tr>
<td valign="top" align="left">16</td>
<td valign="top" align="center">121,275</td>
<td valign="top" align="center">141,179</td>
<td valign="top" align="center">146</td>
<td valign="top" align="center">7.2</td>
<td valign="top" align="center">0.5</td>
</tr>
<tr>
<td valign="top" align="left">64</td>
<td valign="top" align="center">431,739</td>
<td valign="top" align="center">509,243</td>
<td valign="top" align="center">198</td>
<td valign="top" align="center">24.3</td>
<td valign="top" align="center">0.4</td>
</tr>
<tr>
<td valign="top" align="left">256</td>
<td valign="top" align="center">1,622,907</td>
<td valign="top" align="center">1,928,699</td>
<td valign="top" align="center">256</td>
<td valign="top" align="center">86.4</td>
<td valign="top" align="center">0.3</td>
</tr>
<tr>
<td valign="top" align="left">1,024</td>
<td valign="top" align="center">6,286,203</td>
<td valign="top" align="center">7,500,923</td>
<td valign="top" align="center">258</td>
<td valign="top" align="center">328.7</td>
<td valign="top" align="center">0.3</td>
</tr>
<tr>
<td valign="top" align="left">4,096</td>
<td valign="top" align="center">24,736,635</td>
<td valign="top" align="center">29,578,619</td>
<td valign="top" align="center">250</td>
<td valign="top" align="center">1,195.9</td>
<td valign="top" align="center">0.3</td>
</tr>
<tr>
<td valign="top" align="left">16,384</td>
<td valign="top" align="center">98,132,859</td>
<td valign="top" align="center">117,467,003</td>
<td valign="top" align="center">209</td>
<td valign="top" align="center">3,696.8</td>
<td valign="top" align="center">0.2</td>
</tr>
</tbody>
</table>
<table-wrap-foot>
<p><italic>Here, n<sub>it</sub> is the number of iterations in the fourth time step of size &#x00394;t &#x0003D; 0.1 ms and T is the solution time for the fourth time step. The parameters used in the computations are given in Table <xref ref-type="table" rid="T1">1</xref> and the domain sizes are specified in Table <xref ref-type="table" rid="T6">6</xref>. For the 25% of the cells at the center of the domain, we use the initial condition v &#x0003D; 10 mV and, for the remaining cells, we use the initial condition v &#x0003D; v<sub>rest</sub></italic>.</p>
</table-wrap-foot>
</table-wrap>
<table-wrap position="float" id="T8">
<label>Table 8</label>
<caption><p>CPU times for the finite difference method using the Grandi membrane model for <italic>I</italic><sub>ion</sub>.</p></caption>
<table frame="hsides" rules="groups">
<thead><tr>
<th valign="top" align="left"><bold>Cells</bold></th>
<th valign="top" align="center"><bold>Grid points</bold></th>
<th valign="top" align="center"><bold>System size</bold></th>
<th valign="top" align="center"><bold><italic>n</italic><sub><italic>it</italic></sub></bold></th>
<th valign="top" align="center"><bold><italic>T</italic><sub>ODE</sub> (s)</bold></th>
<th valign="top" align="center"><bold><italic>T</italic><sub>PDE</sub> (s)</bold></th>
<th valign="top" align="center"><bold><italic>T</italic> (s)</bold></th>
<th valign="top" align="center"><bold><italic>T</italic>/cell (s)</bold></th>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="left">1</td>
<td valign="top" align="center">13,167</td>
<td valign="top" align="center">14,609</td>
<td valign="top" align="center">64</td>
<td valign="top" align="center">2.9</td>
<td valign="top" align="center">0.7</td>
<td valign="top" align="center">3.6</td>
<td valign="top" align="center">3.6</td>
</tr>
<tr>
<td valign="top" align="left">4</td>
<td valign="top" align="center">37,23</td>
<td valign="top" align="center">42,563</td>
<td valign="top" align="center">150</td>
<td valign="top" align="center">7.6</td>
<td valign="top" align="center">4.5</td>
<td valign="top" align="center">12.1</td>
<td valign="top" align="center">3.0</td>
</tr>
<tr>
<td valign="top" align="left">16</td>
<td valign="top" align="center">121,275</td>
<td valign="top" align="center">141,179</td>
<td valign="top" align="center">210</td>
<td valign="top" align="center">23.9</td>
<td valign="top" align="center">12.7</td>
<td valign="top" align="center">36.5</td>
<td valign="top" align="center">2.3</td>
</tr>
<tr>
<td valign="top" align="left">64</td>
<td valign="top" align="center">431,739</td>
<td valign="top" align="center">509,243</td>
<td valign="top" align="center">260</td>
<td valign="top" align="center">85.1</td>
<td valign="top" align="center">41.5</td>
<td valign="top" align="center">126.6</td>
<td valign="top" align="center">2.0</td>
</tr>
<tr>
<td valign="top" align="left">256</td>
<td valign="top" align="center">1,622,907</td>
<td valign="top" align="center">1,928,699</td>
<td valign="top" align="center">318</td>
<td valign="top" align="center">351.9</td>
<td valign="top" align="center">109.8</td>
<td valign="top" align="center">461.7</td>
<td valign="top" align="center">1.8</td>
</tr>
<tr>
<td valign="top" align="left">1,024</td>
<td valign="top" align="center">6,286,203</td>
<td valign="top" align="center">7,500,923</td>
<td valign="top" align="center">338</td>
<td valign="top" align="center">1,256.0</td>
<td valign="top" align="center">442.6</td>
<td valign="top" align="center">1698.6</td>
<td valign="top" align="center">1.7</td>
</tr>
<tr>
<td valign="top" align="left">4,096</td>
<td valign="top" align="center">24,736,635</td>
<td valign="top" align="center">29,578,619</td>
<td valign="top" align="center">322</td>
<td valign="top" align="center">4,512.8</td>
<td valign="top" align="center">1,515.8</td>
<td valign="top" align="center">6028.6</td>
<td valign="top" align="center">1.5</td>
</tr>
<tr>
<td valign="top" align="left">16,384</td>
<td valign="top" align="center">98,132,859</td>
<td valign="top" align="center">117,467,003</td>
<td valign="top" align="center">360</td>
<td valign="top" align="center">1,7594.6</td>
<td valign="top" align="center">6,171.9</td>
<td valign="top" align="center">23,766.5</td>
<td valign="top" align="center">1.5</td>
</tr>
</tbody>
</table>
<table-wrap-foot>
<p><italic>Here, T &#x0003D; T<sub>ODE</sub> &#x0002B; T<sub>PDE</sub> is the solution time for the fourth time step of size &#x00394;t &#x0003D; 0.1 ms, where T<sub>ODE</sub> is the solution time for the first (ODE) part of the operator splitting procedure and T<sub>PDE</sub> is the solution time for the second (PDE) part of the procedure. Furthermore, n<sub>it</sub> is the number of iterations needed to achieve convergence of the BiCGStab method used in the PDE part of the procedure. The parameters used in the computations are given in Tables <xref ref-type="table" rid="T1">1</xref>, <xref ref-type="table" rid="T6">6</xref>. For the 25% of the cells at the center of the domain, we replace the default initial conditions of the Grandi model with the values of the state variables obtained when the membrane potential first reached v &#x0003D; &#x02212;10 mV during the upstroke of the AP in a single-cell simulation of the model. For the remaining cells, we use the default initial conditions of the Grandi model</italic>.</p>
</table-wrap-foot>
</table-wrap>
</sec>
<sec>
<title>3.3.2. Finite element method</title>
<p>Because of the complexity of the mortar FEM, which introduces a separate function space for the potential of each cell<xref ref-type="fn" rid="fn0001"><sup>1</sup></xref> <inline-formula><mml:math id="M112"><mml:msubsup><mml:mrow><mml:mo>&#x003A9;</mml:mo></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula>, we shall focus on the H(div) FEM in the following.</p>
<p>Table <xref ref-type="table" rid="T9">9</xref> shows the CPU time, the number of iterations, and the dimensions of the finite element spaces for a number of simulations using the H(div) FEM described in section 2.3.3 with an increasing number of cells and a passive membrane model. The linear systems are again solved using the biconjugate gradient stabilized method with an incomplete LU preconditioner and a convergence criterion as in the FDM case. The linear solver and the preconditioner were provided by the PETSc library [<xref ref-type="bibr" rid="B70">70</xref>], while the system was assembled using FEniCS [<xref ref-type="bibr" rid="B49">49</xref>, <xref ref-type="bibr" rid="B50">50</xref>].</p>
<table-wrap position="float" id="T9">
<label>Table 9</label>
<caption><p>CPU times for the H(div) finite element method for a passive membrane model.</p></caption>
<table frame="hsides" rules="groups">
<thead><tr>
<th valign="top" align="left"><bold>Cells</bold></th>
<th valign="top" align="center"><bold>dim(<italic>S</italic><sub><italic>h</italic></sub>)</bold></th>
<th valign="top" align="center"><bold>dim(<italic>U</italic><sub><italic>h</italic></sub>)</bold></th>
<th valign="top" align="center"><bold>dim(<italic>V</italic><sub><italic>h</italic></sub>|<sub>&#x00393;<sub><italic>h</italic></sub></sub>)</bold></th>
<th valign="top" align="center"><bold>dim(<italic>M</italic><sub><italic>h</italic></sub>)</bold></th>
<th valign="top" align="center"><bold><italic>n</italic><sub><italic>it</italic></sub></bold></th>
<th valign="top" align="center"><bold><italic>T</italic> (s)</bold></th>
<th valign="top" align="center"><bold><italic>T</italic>/cell (s)</bold></th>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="left">1</td>
<td valign="top" align="center">137,752</td>
<td valign="top" align="center">66,960</td>
<td valign="top" align="center">3,216</td>
<td valign="top" align="center">342,464</td>
<td valign="top" align="center">74</td>
<td valign="top" align="center">6.1</td>
<td valign="top" align="center">6.1</td>
</tr>
<tr>
<td valign="top" align="left">4</td>
<td valign="top" align="center">399,136</td>
<td valign="top" align="center">194,880</td>
<td valign="top" align="center">12,320</td>
<td valign="top" align="center">993,152</td>
<td valign="top" align="center">220</td>
<td valign="top" align="center">49.8</td>
<td valign="top" align="center">12.5</td>
</tr>
<tr>
<td valign="top" align="left">16</td>
<td valign="top" align="center">1,317,184</td>
<td valign="top" align="center">645,120</td>
<td valign="top" align="center">48,192</td>
<td valign="top" align="center">3,279,488</td>
<td valign="top" align="center">458</td>
<td valign="top" align="center">337.6</td>
<td valign="top" align="center">21.1</td>
</tr>
<tr>
<td valign="top" align="left">64</td>
<td valign="top" align="center">4,734,400</td>
<td valign="top" align="center">2,323,200</td>
<td valign="top" align="center">190,592</td>
<td valign="top" align="center">11,792,000</td>
<td valign="top" align="center">637</td>
<td valign="top" align="center">1,684.8</td>
<td valign="top" align="center">26.3</td>
</tr>
</tbody>
</table>
<table-wrap-foot>
<p><italic>Here, n<sub>it</sub> is the number of iterations in the fourth time step of size &#x00394;t &#x0003D; 0.1 ms and T is the solution time for the fourth time step. Furthermore, T/cell is the solution time per cell for the fourth time step. The second to fifth columns give the dimensions of the various finite element spaces (see section 2.3.3). Note that V<sub>h</sub>|<sub>&#x00393;<sub>h</sub></sub> refers to the space V<sub>h</sub> restricted to the membrane &#x00393;<sub>h</sub> but that V<sub>h</sub> is defined in the entire domain in the computations reported in the table. Note also that dim(M<sub>h</sub>) refers to the dimension of the total mixed space U<sub>h</sub> &#x000D7; S<sub>h</sub> &#x000D7; V<sub>h</sub>. The parameters used in the computations are given in Tables <xref ref-type="table" rid="T1">1</xref>, <xref ref-type="table" rid="T6">6</xref>. For the 25% of the cells at the center of the domain, we use the initial condition v &#x0003D; 10 mV and, for the remaining cells, we use the initial condition v &#x0003D; v<sub>rest</sub></italic>.</p>
</table-wrap-foot>
</table-wrap>
<p>Since the definition of the H(div)-based variational problem (21) in FEniCS is not immediately obvious, we briefly comment on some implementational aspects. Recall that the solution is sought in the space <italic>U</italic><sub><italic>h</italic></sub> &#x000D7; <italic>S</italic><sub><italic>h</italic></sub> &#x000D7; <italic>V</italic><sub><italic>h</italic></sub>, where the functions in <italic>V</italic><sub><italic>h</italic></sub> are defined over <inline-formula><mml:math id="M113"><mml:msub><mml:mrow><mml:mover accent="true"><mml:mrow><mml:mo>&#x00393;</mml:mo></mml:mrow><mml:mo>^</mml:mo></mml:mover></mml:mrow><mml:mrow><mml:mi>h</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula>, the discretization of the cell mebranes &#x00393;. However, FEniCS (version 2017.1) does not currently support mixed spaces with components defined over different meshes, such as over <inline-formula><mml:math id="M114"><mml:msub><mml:mrow><mml:mrow><mml:mi mathvariant="-tex-caligraphic">T</mml:mi></mml:mrow></mml:mrow><mml:mrow><mml:mi>h</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> and <inline-formula><mml:math id="M115"><mml:msub><mml:mrow><mml:mover accent="true"><mml:mrow><mml:mo>&#x00393;</mml:mo></mml:mrow><mml:mo>^</mml:mo></mml:mover></mml:mrow><mml:mrow><mml:mi>h</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula>. To bypass this restriction, we construct the space <italic>V</italic><sub><italic>h</italic></sub> over all the facets of <inline-formula><mml:math id="M116"><mml:msub><mml:mrow><mml:mrow><mml:mi mathvariant="-tex-caligraphic">T</mml:mi></mml:mrow></mml:mrow><mml:mrow><mml:mi>h</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> and the excess degrees of freedom are set to zero in the assembled linear system. As illustrated above the construction yields the correct numerical solution. However, the additional degrees of freedom naturally affect the performance of the linear solvers, since they increase the computational cost of the matrix&#x02013;vector product significantly. FEniCS support for mixed finite element spaces with components defined over different meshes is currently under development and we thus expect this issue to be resolved in future FEniCS releases.</p>
<p>Comparing the results of Table <xref ref-type="table" rid="T9">9</xref> with those of the FDM (see Table <xref ref-type="table" rid="T7">7</xref>), we observe that the CPU times for the FEM are considerably larger (by a factor of &#x0007E;70). While the longer solution times for the FEM are expected due to the larger linear systems stemming from the method (with factors of &#x0007E;23 and &#x0007E;14 for the system with or without the additional degrees of freedom introduced in <italic>V</italic><sub><italic>h</italic></sub>, respectively), the results also point out that the iterative solver does not perform as well as in the FDM case. More efficient solution strategies for the system are currently being investigated.</p>
</sec>
</sec>
<sec>
<title>3.4. Cylindrical geometry</title>
<p>The somewhat clunky geometry of the cells used above does not reflect reality very well. Indeed, cardiac cells have cylindrical shapes, but such shapes are inconvenient to address using FDMs, and we therefore apply the FEM. Figure <xref ref-type="fig" rid="F6">6</xref> shows the membrane potential and surrounding extracellular potential for a simulation of two connected cylinders using the parameters given in Tables <xref ref-type="table" rid="T1">1</xref>, <xref ref-type="table" rid="T10">10</xref>. We note that the FEM is well suited for handling cylindrical geometry, and we expect that the method can also be used to handle the even more complex geometries that will arise when the T-tubules of ventricular cells (e.g., [<xref ref-type="bibr" rid="B71">71</xref>]) are incorporated in the model.</p>
<fig id="F6" position="float">
<label>Figure 6</label>
<caption><p>Membrane potential and the surrounding extracellular potential of two connected cylinders at time <italic>t</italic> &#x0003D; 1 ms computed by the H(div) FEM. The parameters used in the simulations are given in Tables <xref ref-type="table" rid="T1">1</xref>, <xref ref-type="table" rid="T10">10</xref> and we apply a stimulus current of 120 &#x003BC;A/&#x003BC;F for the first half of the first cell in the <italic>x</italic> direction.</p></caption>
<graphic xlink:href="fphy-05-00048-g0006.tif"/>
</fig>
<table-wrap position="float" id="T10">
<label>Table 10</label>
<caption><p>Cell and domain sizes used in the simulations of the two connected cylinders in Figure <xref ref-type="fig" rid="F6">6</xref>.</p></caption>
<table frame="hsides" rules="groups">
<tbody>
<tr>
<td valign="top" align="left">Length of &#x003A9;<sub>O</sub></td>
<td valign="top" align="center">100 &#x003BC;m</td>
</tr>
<tr>
<td valign="top" align="left">Radius of &#x003A9;<sub>O</sub></td>
<td valign="top" align="center">10 &#x003BC;m</td>
</tr>
<tr>
<td valign="top" align="left">Length of &#x003A9;<sub>W</sub> and &#x003A9;<sub>E</sub></td>
<td valign="top" align="center">4 &#x003BC;m</td>
</tr>
<tr>
<td valign="top" align="left">Radius of &#x003A9;<sub>W</sub> and &#x003A9;<sub>E</sub></td>
<td valign="top" align="center">8 &#x003BC;m</td>
</tr>
<tr>
<td valign="top" align="left">Domain (&#x003A9;<sub><italic>i</italic></sub> &#x0222A; &#x003A9;<sub><italic>e</italic></sub>)</td>
<td valign="top" align="center">228 &#x000D7; 40 &#x000D7; 40 &#x003BC;m</td>
</tr>
</tbody>
</table>
<table-wrap-foot>
<p><italic>The intracellular domain consists of two cells, where each cell is a composition of three cylinders &#x003A9;<sub>W</sub>, &#x003A9;<sub>O</sub>, and &#x003A9;<sub>E</sub></italic>.</p>
</table-wrap-foot>
</table-wrap>
</sec>
<sec>
<title>3.5. Ion channel density distribution affects conduction velocity</title>
<p>As mentioned in the section 1, it is difficult to represent a non-uniform distribution of ion channels along the cell membrane using classical homogenized models. This is an important shortcoming of the classical methods, because a non-uniform distribution of sodium channels is believed to affect the conduction velocity. In the EMI modeling framework, the representation of non-uniform distributions of ion channels is straightforward.</p>
<p>Figure <xref ref-type="fig" rid="F7">7</xref> shows the solutions of two simulations of a collection of 30 &#x000D7; 5 cells with different distributions of the sodium channel conductance, <italic>g</italic><sub>Na</sub>. In the left panel the value of <italic>g</italic><sub>Na</sub> is constant on the entire membrane, while, in the right panel, <italic>g</italic><sub>Na</sub> is zero over a large part of the membrane and only non-zero on &#x003A9;<sub>W</sub> and &#x003A9;<sub>E</sub>, that is, near the ends of the cell in the <italic>x</italic> direction. The mean value of <italic>g</italic><sub>Na</sub> over the cells is the same in the two simulations. We observe that the conduction velocity is increased for the case with a varying value of <italic>g</italic><sub>Na</sub> compared to the case with a constant value. The conduction velocities reported in the figure are computed from the 10th and 20th cells in the third row in the <italic>y</italic> direction, and are defined as the distance between the cell centers divided by the time between each of the two cell centers reaches a membrane potential of <italic>v</italic> &#x0003D; 0 mV.</p>
<fig id="F7" position="float">
<label>Figure 7</label>
<caption><p>Intracellular potential at four points in time for a collection of cells with two different distributions of the sodium channel conductance. In the case of a constant <italic>g</italic><sub>Na</sub>, the value is <italic>g</italic><sub>Na</sub> &#x0003D; 23 mS/&#x003BC;F on the entire membrane, and in the case of a varying <italic>g</italic><sub>Na</sub>, the value is <italic>g</italic><sub>Na</sub> &#x0003D; 783 mS/&#x003BC;F on &#x003A9;<sub>W</sub> and &#x003A9;<sub>E</sub> and zero elsewhere. The solutions are obtained using the FDM and the parameters used in the simulations are given in Tables <xref ref-type="table" rid="T1">1</xref>, <xref ref-type="table" rid="T6">6</xref>, except that we use &#x00394;<italic>t</italic> &#x0003D; 0.01 ms. We apply a 1-ms-long stimulus current of 120 &#x003BC;A/&#x003BC;F for the 2 &#x000D7; 2 cells in the lower left corner of the domain.</p></caption>
<graphic xlink:href="fphy-05-00048-g0007.tif"/>
</fig>
<p>Figure <xref ref-type="fig" rid="F8">8</xref> shows a more detailed view of the two cells at the center of the domain. Here, we observe that the conduction velocity across the first part of the cell appears to be higher for the case with a constant value of <italic>g</italic><sub>Na</sub> than for the varying case, but that the traveling wave moves faster across the gap junction for the case with a varying <italic>g</italic><sub>Na</sub> than for the constant case, leading to an overall increased conduction velocity for the varying case.</p>
<fig id="F8" position="float">
<label>Figure 8</label>
<caption><p>Intracellular potentials at four points in time for the two cells at the center of the domain from the simulation in Figure <xref ref-type="fig" rid="F7">7</xref>. The plots in the upper panel show the solutions at the last point in time before the intracellular potential at the start of the first cell is first positive. Because the conduction velocity is different in the two cases, this occurs at two different points in time, <italic>t</italic><sub><italic>c</italic></sub> and <italic>t</italic><sub><italic>v</italic></sub>, for the cases with a constant <italic>g</italic><sub>Na</sub> and a varying <italic>g</italic><sub>Na</sub>, respectively. The next plots show the solutions at times 0.02, 0.06, and 0.2 ms after <italic>t</italic><sub><italic>c</italic></sub> and <italic>t</italic><sub><italic>v</italic></sub>.</p></caption>
<graphic xlink:href="fphy-05-00048-g0008.tif"/>
</fig>
<p>This effect is studied more closely in Figure <xref ref-type="fig" rid="F9">9</xref>, which shows the activation times and conduction velocities along the length of two cells in a similar pair of simulations. The gap junction between the two cells is located at <italic>x</italic> &#x0003D; 548&#x003BC;m, and we observe that there is a delay of about 0.1 ms between when the membrane on each side of the gap junction is activated. The delay appears to be slightly longer for the case with a constant <italic>g</italic><sub>Na</sub> compared to the varying case. We also observe that, overall, the wave uses less time to activate the two cells for the case with a varying <italic>g</italic><sub><italic>Na</italic></sub> than for the constant case, consistent with the results of Figures <xref ref-type="fig" rid="F7">7</xref>, <xref ref-type="fig" rid="F8">8</xref>. In addition, we observe that the shape of the activation curve is different in the two cases. In the case with a constant <italic>g</italic><sub>Na</sub> distribution, the activation curve becomes steeper toward the end of the cells, corresponding to a decreasing conduction velocity along the cell lengths. For the varying case, however, the activation curve flattens out toward the end of the cells, corresponding to an increased conduction velocity toward the cell ends.</p>
<fig id="F9" position="float">
<label>Figure 9</label>
<caption><p>Activation times and conduction velocities along the length of two cells in a simulation of 10 &#x000D7; 1 cells with different distributions of <italic>g</italic><sub>Na</sub>, similar to the simulations shown in Figure <xref ref-type="fig" rid="F7">7</xref>. The blue line shows the points in time when the membrane nodes corresponding to each <italic>x</italic>-value along cells number five and six first reach a membrane potential of 0 mV. The orange line shows the corresponding conduction velocity along the two cells, computed from a piecewise second order polynomial approximation of the activation curves. The parameters used in the simulations are given in Tables <xref ref-type="table" rid="T1">1</xref>, <xref ref-type="table" rid="T6">6</xref>, except that we use &#x00394;<italic>t</italic> &#x0003D; 0.0005 ms. Note that the values of the left <italic>y</italic>-axis (representing activation time) is different in the two plots, but that the scaling of the axis is the same in both plots.</p></caption>
<graphic xlink:href="fphy-05-00048-g0009.tif"/>
</fig>
</sec>
</sec>
<sec sec-type="discussion" id="s4">
<title>4. Discussion</title>
<p>As described above, the classical models of cardiac tissue are founded on homogenization of the tissue and the resulting models therefore assume that the extracellular space, the cell membrane, and the intracellular space exist everywhere. This leads to tractable computing problems that have provided insights into important applications such as the propagation of an electrochemical wave, cardiac arrhythmias, the effect of defibrillation, the onset of cardiac waves, and the effect of diverse drugs. However, in some cases, it is of interest to see the dynamics surrounding individual cells as part of the tissue, which is hard to do using homogenized models. It is also of interest to be able to change local properties of the tissue that are difficult to represent in homogenized models.</p>
<p>In the present report, we focused on the computational challenges of a different approach in which separate geometrical domains for the extracellular space, the cell membrane, and the intracellular domain represent the tissue; we refer to this as the EMI model. Clearly, the computational problems arising from the EMI model are much more challenging than for traditional models, but we have shown that, for some applications, the more detailed model is feasible. In particular, we have shown that the EMI model is suitable for monolayers of cells. Furthermore, we have demonstrated that the EMI framework allows the representation of local properties of cells that are hard to represent in classical homogenized models of cardiac tissue.</p>
<sec>
<title>4.1. Membrane dynamics</title>
<p>The dynamics of the cell membrane are absolutely critical for the functioning of the cell and have been subject to intense studies for centuries. A wide variety of models are available through the open CellML library [<xref ref-type="bibr" rid="B72">72</xref>]. In our computations, we have used the ventricular cell model by Grandi et al. [<xref ref-type="bibr" rid="B48">48</xref>]. That model consists of a system of 39 ODEs defined on every computational node of the cell membrane and is believed to provide an accurate representation of the cell&#x00027;s action potential. From a computational point of view, we could have used numerous other models (e.g., [<xref ref-type="bibr" rid="B73">73</xref>&#x02013;<xref ref-type="bibr" rid="B80">80</xref>]) with comparable complexity of the membrane computations. Common to all these models is that the ion currents are represented using models where the ion channel density must be specified. When the models are used as part of a monodomain or bidomain model, the channel density is most conveniently treated as a constant for each cell, but in the EMI model, the ion channel density associated with any of the currents can be specified as a function of space on the cell membrane. We noted in Figure <xref ref-type="fig" rid="F7">7</xref> that a non-uniform distribution of sodium channels significantly affects the tissue&#x00027;s conduction velocity.</p>
</sec>
<sec>
<title>4.2. Numerical accuracy</title>
<p>The numerical accuracy of the discretizations considered was assessed using a single-cell problem (24&#x02013;30) and the method of manufactured solutions. As seen in Tables <xref ref-type="table" rid="T2">2</xref>&#x02013;<xref ref-type="table" rid="T4">4</xref>, all the discretizations provide converging numerical solutions. However, taking the <italic>L</italic><sup>&#x0221E;</sup> norms of the computed potentials for comparison, there are considerable differences in the convergence properties of the methods.</p>
<p>The convergence of the FDM discretization is linear and this method is the least accurate. The first order convergence of the FDM is to be expected, since all internal boundary conditions are approximated using first-order finite differences. Compared to the FDM, the mortar FEM yields solutions with considerably smaller error and the observed rates are about 1.5. It should be noted that, on a given grid, the methods lead to identical numbers of unknowns. The H(div) FEM is the most accurate among the methods considered with errors much smaller than those of the mortar FEM. As noted in section 3.3, the H(div) FEM leads to larger linear systems than the other two methods do (see Tables <xref ref-type="table" rid="T7">7</xref>, <xref ref-type="table" rid="T9">9</xref>). Finally, let us note that the manufactured solution employed was particularly simple and thus the numerical results obtained may not be universally valid.</p>
</sec>
<sec>
<title>4.3. CPU requirements</title>
<p>The CPU efforts needed to solve the system (1&#x02013;9) using the FDM or the FEM are given in Table <xref ref-type="table" rid="T7">7</xref> (FDM, passive membrane dynamics), Table <xref ref-type="table" rid="T8">8</xref> (FDM, membrane dynamics given by the Grandi model), and Table <xref ref-type="table" rid="T9">9</xref> (H(div) FEM, passive membrane dynamics). We observe that, for the FDM, the CPU efforts per cell seem to be bounded independently of the number of cardiac cells. This result implies that the solver is optimal in the sense defined above. When the Grandi model is used for the membrane dynamics, the CPU efforts per time step per cell are around 1.5 s. This enables us to simulate 16,384 cells, which defines a linear system with over 117 million unknowns. Since the CPU efforts per cell seem to be bounded independent of the number of cells, the CPU efforts will not explode as more cells are added to the computations. With proper parallelization strategies, it should be possible to simulate huge numbers of cells. In fact, the mouse heart, with around 4 million cells, may be within reach; with a computer that is 1,000 times faster (for large problems) than the one we used, it would require about one week to perform 100 time steps for 4 million cardiac cells.</p>
<p>We observe from Tables <xref ref-type="table" rid="T8">8</xref>, <xref ref-type="table" rid="T9">9</xref> that the FDM method in the current implementation is significantly faster than the FEM code even though the FDM code is implemented in Matlab. It has proven to be difficult to derive optimal preconditioners to be used for the FEM, but we hope to be able to improve this part of the code in the future.</p>
</sec>
<sec>
<title>4.4. Cell geometry</title>
<p>In the present report, we have used very simple geometries to represent the cells. We have assumed that the geometries are simple rectangular cuboids or have cylindrical shapes. However, real cardiac cells have much more complex geometries and future work will investigate the effect of the geometry on the solutions. Of particular importance is the effect of T-tubules in ventricular cells and how they change during illness (e.g., [<xref ref-type="bibr" rid="B71">71</xref>, <xref ref-type="bibr" rid="B81">81</xref>]). The diameter of the T-tubules ranges from 20 to 450 nm (see [<xref ref-type="bibr" rid="B82">82</xref>]) and therefore a very fine computational mesh would be needed to represent these invaginations. Presently, we have run the FDM code with spatial resolution of 5 nm (in the case of only three coupled cells), so including T-tubules is within reach for the FDM code but not for the FEM code.</p>
</sec>
<sec>
<title>4.5. Intracellular calcium dynamics</title>
<p>The focus of the present report has been to show that it is possible to simulate the electrical potential of cardiac cells based on explicit representation of the cells. We have focused on models that represent the membrane dynamics in terms of interchange over the cell membrane and we have ignored the spatial gradients of the ionic concentrations away from the cell membrane. Certainly, this is a major simplification; the intracellular concentration of calcium is essential and can be modeled using partial differential equations defined in the intracellular domain, see e.g. [<xref ref-type="bibr" rid="B83">83</xref>&#x02013;<xref ref-type="bibr" rid="B86">86</xref>]. In Nivala et al. [<xref ref-type="bibr" rid="B83">83</xref>], a model based on Calcium released units (CRUs) is presented and the number of CRUs for a single cell used in the computations is typically &#x0007E;20,000. In our model, a cardiac cell with a volume of 30 pL and a typical mesh length of 1 &#x003BC;m would consist of 30,000 computational blocks within each cell. A reasonable representation of the CRUs in the EMI model is therefore within reach.</p>
</sec>
<sec>
<title>4.6. Conduction velocity</title>
<p>As mentioned above, the conduction velocity is essential for the stability of the electrochemical wave underpinning the rhythmic contraction of the cardiac muscle. In numerical computations, the distribution of ion channels is usually assumed to be constant, but experimental evidence suggests that the ion channel density is non-uniform along the cell membrane. For instance, the density of sodium channels is believed to be much higher closer to the intercalated discs separating individual cells (e.g., [<xref ref-type="bibr" rid="B87">87</xref>]). The difference between uniform and non-uniform distributions of sodium channels was addressed in Figures <xref ref-type="fig" rid="F7">7</xref>&#x02013;<xref ref-type="fig" rid="F9">9</xref>. We observed that the conduction velocity was significantly lower in the case of a constant distribution of the sodium channels compared to the case of a non-uniform distribution. Interestingly, we also observed (Figure <xref ref-type="fig" rid="F9">9</xref>) that for the uniform case, the conduction velocity decreased along the cell, whereas it increased in the case of non-uniform distribution. Again, such effects are difficult to observe in the classical models (monodomain, bidomain). This effect deserves closer scrutiny and the EMI model provides a suitable framework for such studies.</p>
</sec>
</sec>
<sec sec-type="conclusions" id="s5">
<title>5. Conclusion</title>
<p>Local properties of cells and cell membranes are difficult to represent in standard (bidomain, monodomain) models of excitable tissue. In this paper, we have demonstrated that a more accurate model and method can be used. In our approach, every cell is represented in terms of its surrounding extracellular space, the cell membrane, and the intracellular space. The extracellular and intracellular spaces are represented using a mesh of length of 2&#x003BC;m and the membrane is represented as the intersection of the extracellular and intracellular meshes. We have seen that, with a finite difference method using a very simple geometry, the computations are quite efficient and the computational demands increase linearly in the number of physical cells. We have solved for up to 16,384 cells using this method. More complex geometries must be represented using a method allowing flexible grids and, in the present paper, we have shown the results for two variants of the finite element method. Although, the solution process of the finite element equations is much more time-consuming, the results indicate that more complex cell geometries can, in fact, be handled.</p>
</sec>
<sec id="s6">
<title>Author contributions</title>
<p>Numerical methods: AT, KJ, MK, KM, MR. Software development: KJ, MK, MR. Simulations: AT, KJ, MK. Writing paper: AT, KJ, MK, KM, MR.</p>
<sec>
<title>Conflict of interest statement</title>
<p>The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.</p>
</sec>
</sec>
</body>
<back>
<ref-list>
<title>References</title>
<ref id="B1">
<label>1.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Hogues</surname> <given-names>H</given-names></name> <name><surname>Leon</surname> <given-names>L</given-names></name> <name><surname>Roberge</surname> <given-names>F</given-names></name></person-group>. <article-title>A model study of electric field interactions between cardiac myocytes</article-title>. <source>IEEE Trans Biomed Eng</source>. (<year>1992</year>) <volume>39</volume>:<fpage>1232</fpage>&#x02013;<lpage>43</lpage>. <pub-id pub-id-type="pmid">1487286</pub-id></citation>
</ref>
<ref id="B2">
<label>2.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Krassowska</surname> <given-names>W</given-names></name> <name><surname>Neu</surname> <given-names>JC</given-names></name></person-group>. <article-title>Response of a single cell to an external electric field</article-title>. <source>Biophys J</source>. (<year>1994</year>) <volume>66</volume>:<fpage>1768</fpage>. <pub-id pub-id-type="pmid">8075318</pub-id></citation>
</ref>
<ref id="B3">
<label>3.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Ying</surname> <given-names>W</given-names></name> <name><surname>Henriquez</surname> <given-names>CS</given-names></name></person-group>. <article-title>Hybrid finite element method for describing the electrical response of biological cells to applied fields</article-title>. <source>IEEE Trans Biomed Eng</source>. (<year>2007</year>) <volume>54</volume>:<fpage>611</fpage>&#x02013;<lpage>20</lpage>. <pub-id pub-id-type="doi">10.1109/TBME.2006.889172</pub-id><pub-id pub-id-type="pmid">17405368</pub-id></citation>
</ref>
<ref id="B4">
<label>4.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Agudelo-Toro</surname> <given-names>A</given-names></name> <name><surname>Neef</surname> <given-names>A</given-names></name></person-group>. <article-title>Computationally efficient simulation of electrical activity at cell membranes interacting with self-generated and externally imposed electric fields</article-title>. <source>J Neural Eng</source>. (<year>2013</year>) <volume>10</volume>:<fpage>026019</fpage>. <pub-id pub-id-type="doi">10.1088/1741-2560/10/2/026019</pub-id><pub-id pub-id-type="pmid">23503026</pub-id></citation>
</ref>
<ref id="B5">
<label>5.</label>
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Stinstra</surname> <given-names>JG</given-names></name> <name><surname>Henriquez</surname> <given-names>CS</given-names></name> <name><surname>MacLeod</surname> <given-names>RS</given-names></name></person-group>. <article-title>Comparison of microscopic and bidomain models of anisotropic conduction</article-title>. In: <person-group person-group-type="editor"><name><surname>Murray</surname> <given-names>A</given-names></name></person-group>, editor. <source>Computers in Cardiology.</source> <publisher-name>IEEE</publisher-name> (<year>2009</year>). p. <fpage>657</fpage>&#x02013;<lpage>60</lpage>.</citation>
</ref>
<ref id="B6">
<label>6.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Stinstra</surname> <given-names>JG</given-names></name> <name><surname>MacLeod</surname> <given-names>RS</given-names></name> <name><surname>Henriquez</surname> <given-names>CS</given-names></name></person-group>. <article-title>Incorporating histology into a 3D microscopic computer model of myocardium to study propagation at a cellular level</article-title>. <source>Ann Biomed Eng</source>. (<year>2010</year>) <volume>38</volume>:<fpage>1399</fpage>&#x02013;<lpage>414</lpage>. <pub-id pub-id-type="doi">10.1007/s10439-009-9883-y</pub-id><pub-id pub-id-type="pmid">20049638</pub-id></citation>
</ref>
<ref id="B7">
<label>7.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Stinstra</surname> <given-names>JG</given-names></name> <name><surname>Hopenfeld</surname> <given-names>B</given-names></name> <name><surname>MacLeod</surname> <given-names>RS</given-names></name></person-group>. <article-title>On the passive cardiac conductivity</article-title>. <source>Ann Biomed Eng.</source> (<year>2005</year>) <volume>33</volume>:<fpage>1743</fpage>&#x02013;<lpage>51</lpage>. <pub-id pub-id-type="doi">10.1007/s10439-005-7257-7</pub-id><pub-id pub-id-type="pmid">16389523</pub-id></citation>
</ref>
<ref id="B8">
<label>8.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Tveito</surname> <given-names>A</given-names></name> <name><surname>J&#x000E6;ger</surname> <given-names>KH</given-names></name> <name><surname>Lines</surname> <given-names>GT</given-names></name> <name><surname>Paszkowski</surname> <given-names>&#x00141;</given-names></name> <name><surname>Sundnes</surname> <given-names>J</given-names></name> <name><surname>Edwards</surname> <given-names>AG</given-names></name> <etal/></person-group>. <article-title>An evaluation of the accuracy of classical models for computing the membrane potential and extracellular potential for neurons</article-title>. <source>Front Comput Neurosci</source>. (<year>2017</year>) <volume>11</volume>:<fpage>27</fpage>. <pub-id pub-id-type="doi">10.3389/fncom.2017.00027</pub-id><pub-id pub-id-type="pmid">28484385</pub-id></citation>
</ref>
<ref id="B9">
<label>9.</label>
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Keener</surname> <given-names>JP</given-names></name> <name><surname>Sneyd</surname> <given-names>J</given-names></name></person-group>. <source>Mathematical Physiology</source>. <publisher-loc>New York, NY</publisher-loc>: <publisher-name>Springer</publisher-name> (<year>2009</year>).</citation>
</ref>
<ref id="B10">
<label>10.</label>
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Franzone</surname> <given-names>PC</given-names></name> <name><surname>Pavarino</surname> <given-names>LF</given-names></name> <name><surname>Scacchi</surname> <given-names>S</given-names></name></person-group>. <source>Mathematical Cardiac Electrophysiology</source>. <publisher-loc>Cham; Heidelberg; New York, NY; Dordrecht; London</publisher-loc>: <publisher-name>Springer International Publishing</publisher-name> (<year>2014</year>).</citation>
</ref>
<ref id="B11">
<label>11.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Sundnes</surname> <given-names>J</given-names></name> <name><surname>Nielsen</surname> <given-names>BF</given-names></name> <name><surname>Mardal</surname> <given-names>KA</given-names></name> <name><surname>Cai</surname> <given-names>X</given-names></name> <name><surname>Lines</surname> <given-names>GT</given-names></name> <name><surname>Tveito</surname> <given-names>A</given-names></name></person-group>. <article-title>On the computational complexity of the bidomain and the monodomain models of electrophysiology</article-title>. <source>Ann Biomed Eng.</source> (<year>2006</year>) <volume>34</volume>:<fpage>1088</fpage>&#x02013;<lpage>97</lpage>. <pub-id pub-id-type="doi">10.1007/s10439-006-9082-z</pub-id><pub-id pub-id-type="pmid">16773461</pub-id></citation>
</ref>
<ref id="B12">
<label>12.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Roth</surname> <given-names>BJ</given-names></name></person-group>. <article-title>Bidomain simulations of defibrillation: 20 years of progress</article-title>. <source>Heart Rhythm</source> (<year>2013</year>) <volume>10</volume>:<fpage>1218</fpage>&#x02013;<lpage>9</lpage>. <pub-id pub-id-type="doi">10.1016/j.hrthm.2013.05.002</pub-id><pub-id pub-id-type="pmid">23643512</pub-id></citation>
</ref>
<ref id="B13">
<label>13.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Trayanova</surname> <given-names>NA</given-names></name></person-group>. <article-title>Whole-heart modeling: applications to cardiac electrophysiology and electromechanics</article-title>. <source>Circ Res</source>. (<year>2011</year>) <volume>108</volume>:<fpage>113</fpage>&#x02013;<lpage>28</lpage>. <pub-id pub-id-type="doi">10.1161/CIRCRESAHA.110.223610</pub-id><pub-id pub-id-type="pmid">21212393</pub-id></citation>
</ref>
<ref id="B14">
<label>14.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Vigmond</surname> <given-names>E</given-names></name> <name><surname>Vadakkumpadan</surname> <given-names>F</given-names></name> <name><surname>Gurev</surname> <given-names>V</given-names></name> <name><surname>Arevalo</surname> <given-names>H</given-names></name> <name><surname>Deo</surname> <given-names>M</given-names></name> <name><surname>Plank</surname> <given-names>G</given-names></name> <etal/></person-group>. <article-title>Towards predictive modelling of the electrophysiology of the heart</article-title>. <source>Exp Physiol</source>. (<year>2009</year>) <volume>94</volume>:<fpage>563</fpage>&#x02013;<lpage>77</lpage>. <pub-id pub-id-type="doi">10.1113/expphysiol.2008.044073</pub-id><pub-id pub-id-type="pmid">19270037</pub-id></citation>
</ref>
<ref id="B15">
<label>15.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Tveito</surname> <given-names>A</given-names></name> <name><surname>Lines</surname> <given-names>GT</given-names></name> <name><surname>Artebrant</surname> <given-names>R</given-names></name> <name><surname>Skavhaug</surname> <given-names>O</given-names></name> <name><surname>Maleckar</surname> <given-names>MM</given-names></name></person-group>. <article-title>Existence of excitation waves for a collection of cardiomyocytes electrically coupled to fibroblasts</article-title>. <source>Math Biosci</source>. (<year>2011</year>) <volume>230</volume>:<fpage>79</fpage>&#x02013;<lpage>86</lpage>. <pub-id pub-id-type="doi">10.1016/j.mbs.2011.01.004</pub-id><pub-id pub-id-type="pmid">21296091</pub-id></citation>
</ref>
<ref id="B16">
<label>16.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Tveito</surname> <given-names>A</given-names></name> <name><surname>Lines</surname> <given-names>GT</given-names></name> <name><surname>Edwards</surname> <given-names>AG</given-names></name> <name><surname>Maleckar</surname> <given-names>MM</given-names></name> <name><surname>Michailova</surname> <given-names>A</given-names></name> <name><surname>Hake</surname> <given-names>J</given-names></name> <etal/></person-group>. <article-title>Slow Calcium&#x02013;Depolarization&#x02013;Calcium waves may initiate fast local depolarization waves in ventricular tissue</article-title>. <source>Prog Biophys Mol Biol</source>. (<year>2012</year>) <volume>110</volume>:<fpage>295</fpage>&#x02013;<lpage>304</lpage>. <pub-id pub-id-type="doi">10.1016/j.pbiomolbio.2012.07.005</pub-id><pub-id pub-id-type="pmid">22841534</pub-id></citation>
</ref>
<ref id="B17">
<label>17.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Xie</surname> <given-names>Y</given-names></name> <name><surname>Sato</surname> <given-names>D</given-names></name> <name><surname>Garfinkel</surname> <given-names>A</given-names></name> <name><surname>Qu</surname> <given-names>Z</given-names></name> <name><surname>Weiss</surname> <given-names>JN</given-names></name></person-group>. <article-title>So little source, so much sink: requirements for afterdepolarizations to propagate in tissue</article-title>. <source>Biophys J.</source> (<year>2010</year>) <volume>99</volume>:<fpage>1408</fpage>&#x02013;<lpage>15</lpage>. <pub-id pub-id-type="doi">10.1016/j.bpj.2010.06.042</pub-id><pub-id pub-id-type="pmid">20816052</pub-id></citation>
</ref>
<ref id="B18">
<label>18.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Xie</surname> <given-names>Y</given-names></name> <name><surname>Garfinkel</surname> <given-names>A</given-names></name> <name><surname>Weiss</surname> <given-names>JN</given-names></name> <name><surname>Qu</surname> <given-names>Z</given-names></name></person-group>. <article-title>Cardiac alternans induced by fibroblast-myocyte coupling: mechanistic insights from computational models</article-title>. <source>Am J Physiol Heart Circ Physiol.</source> (<year>2009</year>) <volume>297</volume>:<fpage>H775</fpage>&#x02013;<lpage>84</lpage>. <pub-id pub-id-type="doi">10.1152/ajpheart.00341.2009</pub-id><pub-id pub-id-type="pmid">19482965</pub-id></citation>
</ref>
<ref id="B19">
<label>19.</label>
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Qu</surname> <given-names>Z</given-names></name> <name><surname>Nivala</surname> <given-names>M</given-names></name></person-group>. <article-title>Multiscale nonlinear dynamics in cardiac electrophysiology: from sparks to sudden death</article-title>. In: <person-group person-group-type="editor"><name><surname>Pesenson</surname> <given-names>MZ</given-names></name></person-group>, editor. <source>Multiscale Analysis and Nonlinear Dynamics: From Genes to the Brain</source>. <publisher-loc>Weinheim</publisher-loc>: <publisher-name>Wiley-VCH Verlag</publisher-name> (<year>2013</year>). p. <fpage>257</fpage>&#x02013;<lpage>75</lpage>.</citation>
</ref>
<ref id="B20">
<label>20.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Qu</surname> <given-names>Z</given-names></name> <name><surname>Hu</surname> <given-names>G</given-names></name> <name><surname>Garfinkel</surname> <given-names>A</given-names></name> <name><surname>Weiss</surname> <given-names>JN</given-names></name></person-group>. <article-title>Nonlinear and stochastic dynamics in the heart</article-title>. <source>Physics Rep.</source> (<year>2014</year>) <volume>543</volume>:<fpage>61</fpage>&#x02013;<lpage>162</lpage>. <pub-id pub-id-type="doi">10.1016/j.physrep.2014.05.002</pub-id><pub-id pub-id-type="pmid">25267872</pub-id></citation>
</ref>
<ref id="B21">
<label>21.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Tveito</surname> <given-names>A</given-names></name> <name><surname>Lines</surname> <given-names>GT</given-names></name></person-group>. <article-title>A condition for setting off ectopic waves in computational models of excitable cells</article-title>. <source>Math Biosci</source>. (<year>2008</year>) <volume>213</volume>:<fpage>141</fpage>&#x02013;<lpage>50</lpage>. <pub-id pub-id-type="doi">10.1016/j.mbs.2008.04.001</pub-id><pub-id pub-id-type="pmid">18539188</pub-id></citation>
</ref>
<ref id="B22">
<label>22.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Keener</surname> <given-names>JP</given-names></name> <name><surname>Panfilov</surname> <given-names>AV</given-names></name></person-group>. <article-title>A biophysical model for defibrillation</article-title>. <source>Biophys J</source>. (<year>1996</year>) <volume>71</volume>:<fpage>1335</fpage>&#x02013;<lpage>45</lpage>. <pub-id pub-id-type="pmid">8874007</pub-id></citation>
</ref>
<ref id="B23">
<label>23.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Plank</surname> <given-names>G</given-names></name> <name><surname>Vigmond</surname> <given-names>EJ</given-names></name> <name><surname>Leon</surname> <given-names>LJ</given-names></name></person-group>. <article-title>Shock energy for successful defibrillation of atrial tissue during vagal stimulation</article-title>. In: <source>Proceedings of the 25th annual International Conference of the IEEE EMBS</source> (<year>2003</year>). p. <fpage>167</fpage>&#x02013;<lpage>70</lpage>.</citation>
</ref>
<ref id="B24">
<label>24.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Plank</surname> <given-names>G</given-names></name> <name><surname>Leon</surname> <given-names>LJ</given-names></name> <name><surname>Kimber</surname> <given-names>S</given-names></name> <name><surname>Vigmond</surname> <given-names>EJ</given-names></name></person-group>. <article-title>Defibrillation depends on conductivity fluctuations and the degree of disorganization in reentry patterns</article-title>. <source>J Electrophysiol.</source> (<year>2005</year>) <volume>16</volume>:<fpage>205</fpage>&#x02013;<lpage>16</lpage>. <pub-id pub-id-type="doi">10.1046/j.1540-8167.2005.40140.x</pub-id><pub-id pub-id-type="pmid">15720461</pub-id></citation>
</ref>
<ref id="B25">
<label>25.</label>
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Trayanova</surname> <given-names>N</given-names></name> <name><surname>Gernot Plank</surname> <given-names>EJJ</given-names></name></person-group>. <article-title>Modeling cardiac defibrillation</article-title>. In: <person-group person-group-type="editor"><name><surname>Saunders</surname> <given-names>WB</given-names></name></person-group>, editor. <source>Cardiac Electrophysiology: From Cell to Bedside</source>. <publisher-loc>Philadelphia</publisher-loc> (<year>2009</year>). p. <fpage>361</fpage>&#x02013;<lpage>72</lpage>.</citation>
</ref>
<ref id="B26">
<label>26.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Tveito</surname> <given-names>A</given-names></name> <name><surname>Lines</surname> <given-names>G</given-names></name> <name><surname>Rognes</surname> <given-names>ME</given-names></name> <name><surname>Maleckar</surname> <given-names>MM</given-names></name></person-group>. <article-title>An analysis of the shock strength needed to achieve defibrillation in a simplified mathematical model of cardiac tissue</article-title>. <source>Int J Numer Anal Model.</source> (<year>2012</year>) <volume>9</volume>:<fpage>644</fpage>&#x02013;<lpage>57</lpage>. Available online at: <ext-link ext-link-type="uri" xlink:href="http://www.math.ualberta.ca/ijnam/">http://www.math.ualberta.ca/ijnam/</ext-link></citation>
</ref>
<ref id="B27">
<label>27.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Rantner</surname> <given-names>LJ</given-names></name> <name><surname>Tice</surname> <given-names>BM</given-names></name> <name><surname>Trayanova</surname> <given-names>NA</given-names></name></person-group>. <article-title>Terminating ventricular tachyarrhythmias using far-field low-voltage stimuli: mechanisms and delivery protocols</article-title>. <source>Heart Rhythm</source> (<year>2013</year>) <volume>10</volume>:<fpage>1209</fpage>&#x02013;<lpage>17</lpage>. <pub-id pub-id-type="doi">10.1016/j.hrthm.2013.04.027</pub-id><pub-id pub-id-type="pmid">23628521</pub-id></citation>
</ref>
<ref id="B28">
<label>28.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Trayanova</surname> <given-names>NA</given-names></name> <name><surname>Rantner</surname> <given-names>LJ</given-names></name></person-group>. <article-title>New insights into defibrillation of the heart from realistic simulation studies</article-title>. <source>Europace</source> (<year>2014</year>) <volume>16</volume>:<fpage>705</fpage>&#x02013;<lpage>13</lpage>. <pub-id pub-id-type="doi">10.1093/europace/eut330</pub-id><pub-id pub-id-type="pmid">24798960</pub-id></citation>
</ref>
<ref id="B29">
<label>29.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Moreno</surname> <given-names>JD</given-names></name> <name><surname>Zhu</surname> <given-names>ZI</given-names></name> <name><surname>Yang</surname> <given-names>PC</given-names></name> <name><surname>Bankston</surname> <given-names>JR</given-names></name> <name><surname>Jeng</surname> <given-names>MT</given-names></name> <name><surname>Kang</surname> <given-names>C</given-names></name> <etal/></person-group>. <article-title>A computational model to predict the effects of class I anti-arrhythmic drugs on ventricular rhythms</article-title>. <source>Sci Transl Med.</source> (<year>2011</year>) <volume>3</volume>:<fpage>1</fpage>&#x02013;<lpage>8</lpage>. <pub-id pub-id-type="doi">10.1126/scitranslmed.3002588</pub-id><pub-id pub-id-type="pmid">21885405</pub-id></citation>
</ref>
<ref id="B30">
<label>30.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Rodriguez</surname> <given-names>B</given-names></name> <name><surname>Burrage</surname> <given-names>K</given-names></name> <name><surname>Gavaghan</surname> <given-names>D</given-names></name> <name><surname>Grau</surname> <given-names>V</given-names></name> <name><surname>Kohl</surname> <given-names>P</given-names></name> <name><surname>Noble</surname> <given-names>D</given-names></name></person-group>. <article-title>The systems biology approach to drug development: application to toxicity assessment of cardiac drugs</article-title>. <source>Clin Pharmacol Ther</source>. (<year>2010</year>) <volume>88</volume>:<fpage>130</fpage>&#x02013;<lpage>4</lpage>. <pub-id pub-id-type="doi">10.1038/clpt.2010.95</pub-id><pub-id pub-id-type="pmid">20520607</pub-id></citation>
</ref>
<ref id="B31">
<label>31.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Tveito</surname> <given-names>A</given-names></name> <name><surname>Lines</surname> <given-names>GT</given-names></name> <name><surname>Maleckar</surname> <given-names>MM</given-names></name></person-group>. <article-title>Note on a possible proarrhythmic property of antiarrhythmic drugs aimed at improving gap-junction coupling</article-title>. <source>Biophys J</source>. (<year>2012</year>) <volume>102</volume>:<fpage>231</fpage>&#x02013;<lpage>7</lpage>. <pub-id pub-id-type="doi">10.1016/j.bpj.2011.11.4015</pub-id><pub-id pub-id-type="pmid">22339859</pub-id></citation>
</ref>
<ref id="B32">
<label>32.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Tveito</surname> <given-names>A</given-names></name> <name><surname>Lines</surname> <given-names>GT</given-names></name></person-group>. <article-title>A note on a method for determining advantageous properties of an anti-arrhythmic drug based on a mathematical model of cardiac cells</article-title>. <source>Math Biosci</source>. (<year>2009</year>) <volume>217</volume>:<fpage>167</fpage>&#x02013;<lpage>73</lpage>. <pub-id pub-id-type="doi">10.1016/j.mbs.2008.12.001</pub-id><pub-id pub-id-type="pmid">19135068</pub-id></citation>
</ref>
<ref id="B33">
<label>33.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Veeraraghavan</surname> <given-names>R</given-names></name> <name><surname>Gourdie</surname> <given-names>RG</given-names></name> <name><surname>Poelzing</surname> <given-names>S</given-names></name></person-group>. <article-title>Mechanisms of cardiac conduction: a history of revisions</article-title>. <source>Am J Physiol Heart Circ Physiol</source>. (<year>2014</year>) <volume>306</volume>:<fpage>H619</fpage>&#x02013;<lpage>27</lpage>. <pub-id pub-id-type="doi">10.1152/ajpheart.00760.2013</pub-id><pub-id pub-id-type="pmid">24414064</pub-id></citation>
</ref>
<ref id="B34">
<label>34.</label>
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Spach</surname> <given-names>MS</given-names></name> <name><surname>Heidlage</surname> <given-names>JF</given-names></name> <name><surname>Barr</surname> <given-names>RC</given-names></name> <name><surname>Dolber</surname> <given-names>PC</given-names></name></person-group>. <article-title>Cell size and communication: role in structural and electrical development and remodeling of the heart</article-title>. <source>Heart Rhythm</source> (<year>2004</year>) <volume>1</volume>:<fpage>500</fpage>&#x02013;<lpage>15</lpage>. <pub-id pub-id-type="doi">10.1016/j.hrthm.2004.06.010</pub-id><pub-id pub-id-type="pmid">15851207</pub-id></citation>
</ref>
<ref id="B35">
<label>35.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Rudy</surname> <given-names>Y</given-names></name> <name><surname>Quan</surname> <given-names>W</given-names></name></person-group>. <article-title>A model study of the effects of the discrete cellular structure on electrical propagation in cardiac tissue</article-title>. <source>Circ Res</source>. (<year>1987</year>) <volume>61</volume>:<fpage>815</fpage>&#x02013;<lpage>23</lpage>. <pub-id pub-id-type="pmid">3677338</pub-id></citation>
</ref>
<ref id="B36">
<label>36.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Shaw</surname> <given-names>RM</given-names></name> <name><surname>Rudy</surname> <given-names>Y</given-names></name></person-group>. <article-title>Ionic mechanisms of propagation in cardiac tissue</article-title>. <source>Circ Res</source>. (<year>1997</year>) <volume>81</volume>:<fpage>727</fpage>&#x02013;<lpage>41</lpage>. <pub-id pub-id-type="pmid">9351447</pub-id></citation>
</ref>
<ref id="B37">
<label>37.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Wei</surname> <given-names>N</given-names></name> <name><surname>Mori</surname> <given-names>Y</given-names></name> <name><surname>Tolkacheva</surname> <given-names>EG</given-names></name></person-group>. <article-title>The dual effect of ephaptic coupling on cardiac conduction with heterogeneous expression of connexin 43</article-title>. <source>J Theor Biol.</source> (<year>2016</year>) <volume>397</volume>:<fpage>103</fpage>&#x02013;<lpage>14</lpage>. <pub-id pub-id-type="doi">10.1016/j.jtbi.2016.02.029</pub-id><pub-id pub-id-type="pmid">26968493</pub-id></citation>
</ref>
<ref id="B38">
<label>38.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Poelzing</surname> <given-names>S</given-names></name> <name><surname>Rosenbaum</surname> <given-names>DS</given-names></name></person-group>. <article-title>Altered connexin43 expression produces arrhythmia substrate in heart failure</article-title>. <source>Am J Physiol Heart Circ Physiol</source>. (<year>2004</year>) <volume>287</volume>:<fpage>H1762</fpage>&#x02013;<lpage>70</lpage>. <pub-id pub-id-type="doi">10.1152/ajpheart.00346.2004</pub-id><pub-id pub-id-type="pmid">15205174</pub-id></citation>
</ref>
<ref id="B39">
<label>39.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Lin</surname> <given-names>J</given-names></name> <name><surname>Keener</surname> <given-names>JP</given-names></name></person-group>. <article-title>Ephaptic coupling in cardiac myocytes</article-title>. <source>IEEE Trans Biomed Eng</source>. (<year>2013</year>) <volume>60</volume>:<fpage>576</fpage>&#x02013;<lpage>82</lpage>. <pub-id pub-id-type="doi">10.1109/TBME.2012.2226720</pub-id><pub-id pub-id-type="pmid">23335235</pub-id></citation>
</ref>
<ref id="B40">
<label>40.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Olivetti</surname> <given-names>G</given-names></name> <name><surname>Melissari</surname> <given-names>M</given-names></name> <name><surname>Capasso</surname> <given-names>JM</given-names></name> <name><surname>Anversa</surname> <given-names>P</given-names></name></person-group>. <article-title>Cardiomyopathy of the aging human heart</article-title>. Myocyte loss and reactive cellular hypertrophy. <source>Circ Res</source>. (<year>1991</year>) <volume>68</volume>:<fpage>1560</fpage>&#x02013;<lpage>8</lpage>. <pub-id pub-id-type="pmid">2036710</pub-id></citation>
</ref>
<ref id="B41">
<label>41.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Doevendans</surname> <given-names>PA</given-names></name> <name><surname>Daemen</surname> <given-names>MJ</given-names></name> <name><surname>de Muinck</surname> <given-names>ED</given-names></name> <name><surname>Smits</surname> <given-names>JF</given-names></name></person-group>. <article-title>Cardiovascular phenotyping in mice</article-title>. <source>Cardiovasc Res</source>. (<year>1998</year>) <volume>39</volume>:<fpage>34</fpage>&#x02013;<lpage>49</lpage>. <pub-id pub-id-type="pmid">9764188</pub-id></citation>
</ref>
<ref id="B42">
<label>42.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Lee</surname> <given-names>P</given-names></name> <name><surname>Klos</surname> <given-names>M</given-names></name> <name><surname>Bollensdorff</surname> <given-names>C</given-names></name> <name><surname>Hou</surname> <given-names>L</given-names></name> <name><surname>Ewart</surname> <given-names>P</given-names></name> <name><surname>Kamp</surname> <given-names>TJ</given-names></name> <etal/></person-group>. <article-title>Simultaneous voltage and calcium mapping of genetically purified human induced pluripotent stem cell&#x02013;derived cardiac myocyte monolayers novelty and significance</article-title>. <source>Circ Res</source>. (<year>2012</year>) <volume>110</volume>:<fpage>1556</fpage>&#x02013;<lpage>63</lpage>. <pub-id pub-id-type="doi">10.1161/CIRCRESAHA.111.262535</pub-id></citation>
</ref>
<ref id="B43">
<label>43.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Grskovic</surname> <given-names>M</given-names></name> <name><surname>Javaherian</surname> <given-names>A</given-names></name> <name><surname>Strulovici</surname> <given-names>B</given-names></name> <name><surname>Daley</surname> <given-names>GQ</given-names></name></person-group>. <article-title>Induced pluripotent stem cells &#x02013; opportunities for disease modelling and drug discovery</article-title>. <source>Nat Rev Drug Discov</source>. (<year>2011</year>) <volume>10</volume>:<fpage>915</fpage>&#x02013;<lpage>29</lpage>. <pub-id pub-id-type="doi">10.1038/nrd3577</pub-id><pub-id pub-id-type="pmid">22076509</pub-id></citation>
</ref>
<ref id="B44">
<label>44.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Matsa</surname> <given-names>E</given-names></name> <name><surname>Burridge</surname> <given-names>PW</given-names></name> <name><surname>Wu</surname> <given-names>JC</given-names></name></person-group>. <article-title>Human stem cells for modeling heart disease and for drug discovery</article-title>. <source>Sci Transl Med</source>. (<year>2014</year>) <volume>6</volume>:<fpage>239ps6</fpage>. <pub-id pub-id-type="doi">10.1126/scitranslmed.3008921</pub-id><pub-id pub-id-type="pmid">24898747</pub-id></citation>
</ref>
<ref id="B45">
<label>45.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Strauss</surname> <given-names>DG</given-names></name> <name><surname>Blinova</surname> <given-names>K</given-names></name></person-group>. <article-title>Clinical trials in a dish</article-title>. <source>Trends Pharmacol Sci</source>. (<year>2017</year>) <volume>38</volume>:<fpage>4</fpage>&#x02013;<lpage>7</lpage>. <pub-id pub-id-type="doi">10.1016/j.tips.2016.10.009</pub-id><pub-id pub-id-type="pmid">27876286</pub-id></citation>
</ref>
<ref id="B46">
<label>46.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Trayanova</surname> <given-names>NA</given-names></name> <name><surname>Roth</surname> <given-names>BJ</given-names></name> <name><surname>Malden</surname> <given-names>LJ</given-names></name></person-group>. <article-title>The response of a spherical heart to a uniform electric field: a bidomain analysis of cardiac stimulation</article-title>. <source>IEEE Trans Biomed Eng</source>. (<year>1993</year>) <volume>40</volume>:<fpage>899</fpage>&#x02013;<lpage>908</lpage>. <pub-id pub-id-type="pmid">8288281</pub-id></citation>
</ref>
<ref id="B47">
<label>47.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Niederer</surname> <given-names>S</given-names></name> <name><surname>Mitchell</surname> <given-names>L</given-names></name> <name><surname>Smith</surname> <given-names>N</given-names></name> <name><surname>Plank</surname> <given-names>G</given-names></name></person-group>. <article-title>Simulating human cardiac electrophysiology on clinical time-scales</article-title>. <source>Front Physiol</source>. (<year>2011</year>) <volume>2</volume>:<fpage>14</fpage>. <pub-id pub-id-type="doi">10.3389/fphys.2011.00014</pub-id><pub-id pub-id-type="pmid">21516246</pub-id></citation>
</ref>
<ref id="B48">
<label>48.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Grandi</surname> <given-names>E</given-names></name> <name><surname>Pasqualini</surname> <given-names>FS</given-names></name> <name><surname>Bers</surname> <given-names>DM</given-names></name></person-group>. <article-title>A novel computational model of the human ventricular action potential and Ca transient</article-title>. <source>J Mol Cell Cardiol</source>. (<year>2010</year>) <volume>48</volume>:<fpage>112</fpage>&#x02013;<lpage>21</lpage>. <pub-id pub-id-type="doi">10.1016/j.yjmcc.2009.09.019</pub-id><pub-id pub-id-type="pmid">19835882</pub-id></citation>
</ref>
<ref id="B49">
<label>49.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Aln&#x000E6;s</surname> <given-names>MS</given-names></name> <name><surname>Blechta</surname> <given-names>J</given-names></name> <name><surname>Hake</surname> <given-names>J</given-names></name> <name><surname>Johansson</surname> <given-names>A</given-names></name> <name><surname>Kehlet</surname> <given-names>B</given-names></name> <name><surname>Logg</surname> <given-names>A</given-names></name> <etal/></person-group>. <article-title>The FEniCS project version 1.5</article-title>. <source>Arch Numer Softw</source>. (<year>2015</year>) <volume>3</volume>. <pub-id pub-id-type="doi">10.11588/ans.2015.100.20553</pub-id></citation>
</ref>
<ref id="B50">
<label>50.</label>
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Logg</surname> <given-names>A</given-names></name> <name><surname>Mardal</surname> <given-names>KA</given-names></name> <name><surname>Wells</surname> <given-names>GN</given-names></name></person-group>. <source>Automated Solution of Differential Equations by the Finite Element Method: The FEniCS Book, Vol. 84</source>. <publisher-loc>Heidelberg; Dordrecht; London; New York, NY</publisher-loc>: <publisher-name>Springer Science &#x00026; Business Media</publisher-name> (<year>2012</year>).</citation>
</ref>
<ref id="B51">
<label>51.</label>
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Bernardi</surname> <given-names>C</given-names></name> <name><surname>Maday</surname> <given-names>Y</given-names></name> <name><surname>Patera</surname> <given-names>AT</given-names></name></person-group>. <article-title>Domain decomposition by the mortar element method</article-title>. In: <person-group person-group-type="editor"><name><surname>Kaper</surname> <given-names>HG</given-names></name> <name><surname>Garbey</surname> <given-names>M</given-names></name> <name><surname>Pieper</surname> <given-names>GW</given-names></name></person-group>, editors. <source>Asymptotic and Numerical Methods for Partial Differential Equations with Critical Parameters</source>. <publisher-loc>Dordrecht</publisher-loc>: <publisher-name>Springer Netherlands</publisher-name>. (<year>1993</year>). p. <fpage>269</fpage>&#x02013;<lpage>86</lpage>.</citation>
</ref>
<ref id="B52">
<label>52.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Belgacem</surname> <given-names>FB</given-names></name></person-group>. <article-title>The mortar finite element method with Lagrange multipliers</article-title>. <source>Numer Math</source>. (<year>1999</year>) <volume>84</volume>:<fpage>173</fpage>&#x02013;<lpage>97</lpage>.</citation>
</ref>
<ref id="B53">
<label>53.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Lamichhane</surname> <given-names>BP</given-names></name> <name><surname>Wohlmuth</surname> <given-names>BI</given-names></name></person-group>. <article-title>Mortar finite elements for interface problems</article-title>. <source>Computing</source> (<year>2004</year>) <volume>72</volume>:<fpage>333</fpage>&#x02013;<lpage>48</lpage>. <pub-id pub-id-type="doi">10.1007/s00607-003-0062-y</pub-id></citation>
</ref>
<ref id="B54">
<label>54.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Wohlmuth</surname> <given-names>BI</given-names></name></person-group>. <article-title>A mortar finite element method using dual spaces for the Lagrange multiplier</article-title>. <source>SIAM J Numer Anal</source>. (<year>2000</year>) <volume>38</volume>:<fpage>989</fpage>&#x02013;<lpage>1012</lpage>. <pub-id pub-id-type="doi">10.1137/S0036142999350929</pub-id></citation>
</ref>
<ref id="B55">
<label>55.</label>
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Holter</surname> <given-names>KE</given-names></name> <name><surname>Kuchta</surname> <given-names>M</given-names></name> <name><surname>Mardal</surname> <given-names>KA</given-names></name></person-group>. <article-title>Trace Constrained Problems in FEniCS</article-title>. In: <person-group person-group-type="editor"><name><surname>Hale</surname> <given-names>JS</given-names></name></person-group>, editor. <source>Proceedings of the FEniCS Conference 2017.</source> (<year>2017</year>). <pub-id pub-id-type="doi">10.6084/m9.figshare.5086369</pub-id></citation>
</ref>
<ref id="B56">
<label>56.</label>
<citation citation-type="book"><person-group person-group-type="editor"><name><surname>Raviart</surname> <given-names>PA</given-names></name> <name><surname>Thomas</surname> <given-names>JM</given-names></name></person-group> (Editors). <article-title>A mixed finite element method for 2-nd order elliptic problems</article-title>. In: <source>Mathematical Aspects of Finite Element Methods</source>. <publisher-loc>Berlin; Heidelberg</publisher-loc>: <publisher-name>Springer</publisher-name> (<year>1977</year>). p. <fpage>292</fpage>&#x02013;<lpage>315</lpage>.</citation>
</ref>
<ref id="B57">
<label>57.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Sacco</surname> <given-names>R</given-names></name></person-group>. <source>Multiscale Modeling of Interface Phenomena in Biology</source>. Available online at: <ext-link ext-link-type="uri" xlink:href="http://www1.mate.polimi.it/~ricsac/NotesCMElBioMath.pdf">http://www1.mate.polimi.it/~ricsac/NotesCMElBioMath.pdf</ext-link></citation>
</ref>
<ref id="B58">
<label>58.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Brezzi</surname> <given-names>F</given-names></name> <name><surname>Douglas</surname> <given-names>J</given-names></name> <name><surname>Marini</surname> <given-names>L</given-names></name></person-group>. <article-title>Two families of mixed finite elements for second order elliptic problems</article-title>. <source>Numer Math.</source> (<year>1985</year>) <volume>47</volume>:<fpage>217</fpage>&#x02013;<lpage>35</lpage>.</citation>
</ref>
<ref id="B59">
<label>59.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Benzi</surname> <given-names>M</given-names></name> <name><surname>Golub</surname> <given-names>GH</given-names></name> <name><surname>Liesen</surname> <given-names>J</given-names></name></person-group>. <article-title>Numerical solution of saddle point problems</article-title>. <source>Acta Numer</source>. (<year>2005</year>) <volume>14</volume>:<fpage>1</fpage>&#x02013;<lpage>137</lpage>. <pub-id pub-id-type="doi">10.1017/S0962492904000212</pub-id></citation>
</ref>
<ref id="B60">
<label>60.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Mardal</surname> <given-names>KA</given-names></name> <name><surname>Winther</surname> <given-names>R</given-names></name></person-group>. <article-title>Preconditioning discretizations of systems of partial differential equations</article-title>. <source>Numer Linear Algeb Appl.</source> (<year>2011</year>) <volume>18</volume>:<fpage>1</fpage>&#x02013;<lpage>40</lpage>. <pub-id pub-id-type="doi">10.1002/nla.716</pub-id></citation>
</ref>
<ref id="B61">
<label>61.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Mardal</surname> <given-names>KA</given-names></name> <name><surname>Nielsen</surname> <given-names>BF</given-names></name> <name><surname>Cai</surname> <given-names>X</given-names></name> <name><surname>Tveito</surname> <given-names>A</given-names></name></person-group>. <article-title>An Order Optimal Solver for the Discretized Bidomain Equations</article-title>. <source>Numer Linear Algeb Appl.</source> (<year>2007</year>) <volume>14</volume>:<fpage>83</fpage>&#x02013;<lpage>98</lpage>. <pub-id pub-id-type="doi">10.1002/nla.501</pub-id></citation>
</ref>
<ref id="B62">
<label>62.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Linge</surname> <given-names>S</given-names></name> <name><surname>Sundnes</surname> <given-names>J</given-names></name> <name><surname>Hanslien</surname> <given-names>M</given-names></name> <name><surname>Lines</surname> <given-names>GT</given-names></name> <name><surname>Tveito</surname> <given-names>A</given-names></name></person-group>. <article-title>Numerical solution of the bidomain equations</article-title>. <source>Philos Trans R Soc Lond A</source> (<year>2009</year>) <volume>367</volume>:<fpage>1931</fpage>&#x02013;<lpage>50</lpage>. <pub-id pub-id-type="doi">10.1098/rsta.2008.0306</pub-id><pub-id pub-id-type="pmid">19380319</pub-id></citation>
</ref>
<ref id="B63">
<label>63.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Feynman</surname> <given-names>RP</given-names></name></person-group>. <article-title>Simulating physics with computers</article-title>. <source>Int J Theor Phys</source>. (<year>1982</year>) <volume>21</volume>:<fpage>467</fpage>&#x02013;<lpage>88</lpage>.</citation>
</ref>
<ref id="B64">
<label>64.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Weidmann</surname> <given-names>S</given-names></name></person-group>. <article-title>Electrical constants of trabecular muscle from mammalian heart</article-title>. <source>J Physiol</source>. (<year>1970</year>) <volume>210</volume>:<fpage>1041</fpage>. <pub-id pub-id-type="pmid">5501485</pub-id></citation>
</ref>
<ref id="B65">
<label>65.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Cascio</surname> <given-names>WE</given-names></name> <name><surname>Yan</surname> <given-names>GX</given-names></name> <name><surname>Kleber</surname> <given-names>AG</given-names></name></person-group>. <article-title>Passive electrical properties, mechanical activity, and extracellular potassium in arterially perfused and ischemic rabbit ventricular muscle</article-title>. Effects of calcium entry blockade or hypocalcemia. <source>Circ Res</source>. (<year>1990</year>) <volume>66</volume>:<fpage>1461</fpage>&#x02013;<lpage>73</lpage>. <pub-id pub-id-type="pmid">2344662</pub-id></citation>
</ref>
<ref id="B66">
<label>66.</label>
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Jaye</surname> <given-names>DA</given-names></name> <name><surname>Xiao</surname> <given-names>YF</given-names></name> <name><surname>Sigg</surname> <given-names>DC</given-names></name></person-group>. <article-title>Basic cardiac electrophysiology: excitable membranes</article-title>. In: <person-group person-group-type="editor"><name><surname>Sigg</surname> <given-names>D</given-names></name> <name><surname>Iaizzo</surname> <given-names>P</given-names></name> <name><surname>Xiao</surname> <given-names>YF</given-names></name> <name><surname>He</surname> <given-names>B</given-names></name></person-group>, editors. <source> Cardiac Electrophysiology Methods and Models</source>. <publisher-loc>Boston, MA</publisher-loc>: <publisher-name>Springer</publisher-name> (<year>2010</year>). p. <fpage>41</fpage>&#x02013;<lpage>51</lpage>.</citation>
</ref>
<ref id="B67">
<label>67.</label>
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Roache</surname> <given-names>PJ</given-names></name></person-group>. <source>Verification and Validation in Computational Science and Engineering</source>. <publisher-loc>Hermosa, CA</publisher-loc>: <publisher-name>Albuquerque, NM</publisher-name> (<year>1998</year>).</citation>
</ref>
<ref id="B68">
<label>68.</label>
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Axelsson</surname> <given-names>O</given-names></name></person-group>. <source>Iterative Solution Methods</source>. <publisher-name>Cambridge University Press</publisher-name> (<year>1996</year>).</citation>
</ref>
<ref id="B69">
<label>69.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Van</surname> <given-names>der Vorst HA</given-names></name></person-group>. <article-title>Bi-CGSTAB: A fast and smoothly converging variant of Bi-CG for the solution of nonsymmetric linear systems</article-title>. <source>SIAM J Sci Stat Comput.</source> (<year>1992</year>) <volume>13</volume>:<fpage>631</fpage>&#x02013;<lpage>44</lpage>.</citation>
</ref>
<ref id="B70">
<label>70.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Balay</surname> <given-names>S</given-names></name> <name><surname>Abhyankar</surname> <given-names>S</given-names></name> <name><surname>Adams</surname> <given-names>MF</given-names></name> <name><surname>Brown</surname> <given-names>J</given-names></name> <name><surname>Brune</surname> <given-names>P</given-names></name> <name><surname>Buschelman</surname> <given-names>K</given-names></name> <etal/></person-group>. <source>PETSc Web page.</source> (<year>2017</year>). Available online at: <ext-link ext-link-type="uri" xlink:href="http://www.mcs.anl.gov/petsc">http://www.mcs.anl.gov/petsc</ext-link></citation>
</ref>
<ref id="B71">
<label>71.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Lyon</surname> <given-names>AR</given-names></name> <name><surname>MacLeod</surname> <given-names>KT</given-names></name> <name><surname>Zhang</surname> <given-names>Y</given-names></name> <name><surname>Garcia</surname> <given-names>E</given-names></name> <name><surname>Kanda</surname> <given-names>GK</given-names></name> <name><surname>Korchev</surname> <given-names>YE</given-names></name> <etal/></person-group>. <article-title>Loss of T-tubules and other changes to surface topography in ventricular myocytes from failing human and rat heart</article-title>. <source>Proc Natl Acad Sci USA.</source> (<year>2009</year>) <volume>106</volume>:<fpage>6854</fpage>&#x02013;<lpage>9</lpage>. <pub-id pub-id-type="doi">10.1073/pnas.0809777106</pub-id><pub-id pub-id-type="pmid">19342485</pub-id></citation>
</ref>
<ref id="B72">
<label>72.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Cuellar</surname> <given-names>AA</given-names></name> <name><surname>Lloyd</surname> <given-names>CM</given-names></name> <name><surname>Nielsen</surname> <given-names>PF</given-names></name> <name><surname>Bullivant</surname> <given-names>DP</given-names></name> <name><surname>Nickerson</surname> <given-names>DP</given-names></name> <name><surname>Hunter</surname> <given-names>PJ</given-names></name></person-group>. <article-title>An overview of CellML 1.1, a biological model description language</article-title>. <source>SIMULATION</source> (<year>2003</year>) <volume>79</volume>:<fpage>740</fpage>&#x02013;<lpage>7</lpage>. <pub-id pub-id-type="doi">10.1177/0037549703040939</pub-id></citation>
</ref>
<ref id="B73">
<label>73.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Noble</surname> <given-names>D</given-names></name></person-group>. <article-title>Cardiac action and pace-maker potentials based on the Hodgkin&#x02013;Huxley equations</article-title>. <source>Nature</source> (<year>1960</year>) <volume>188</volume>:<fpage>495</fpage>&#x02013;<lpage>7</lpage>.</citation>
</ref>
<ref id="B74">
<label>74.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Luo</surname> <given-names>CH</given-names></name> <name><surname>Rudy</surname> <given-names>Y</given-names></name></person-group>. <article-title>A model of the ventricular cardiac action potential. Depolarization, repolarization, and their interaction</article-title>. <source>Circ Res</source>. (<year>1991</year>) <volume>68</volume>:<fpage>1501</fpage>&#x02013;<lpage>26</lpage>. <pub-id pub-id-type="pmid">1709839</pub-id></citation>
</ref>
<ref id="B75">
<label>75.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Luo</surname> <given-names>CH</given-names></name> <name><surname>Rudy</surname> <given-names>Y</given-names></name></person-group>. <article-title>A dynamic model of the cardiac ventricular action potential</article-title>. I. Simulations of ionic currents and concentration changes. <source>Circ Res</source>. (<year>1994</year>) <volume>74</volume>:<fpage>1071</fpage>&#x02013;<lpage>96</lpage>.</citation>
</ref>
<ref id="B76">
<label>76.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Hund</surname> <given-names>TJ</given-names></name> <name><surname>Kucera</surname> <given-names>JP</given-names></name> <name><surname>Otani</surname> <given-names>NF</given-names></name> <name><surname>Rudy</surname> <given-names>Y</given-names></name></person-group>. <article-title>Ionic charge conservation and long-term steady state in the Luo&#x02013;Rudy dynamic cell model</article-title>. <source>Biophys J</source>. (<year>2001</year>) <volume>81</volume>:<fpage>3324</fpage>&#x02013;<lpage>31</lpage>. <pub-id pub-id-type="doi">10.1016/S0006-3495(01)75965-6</pub-id><pub-id pub-id-type="pmid">11720995</pub-id></citation>
</ref>
<ref id="B77">
<label>77.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Rudy</surname> <given-names>Y</given-names></name> <name><surname>Silva</surname> <given-names>JR</given-names></name></person-group>. <article-title>Computational biology in the study of cardiac ion channels and cell electrophysiology</article-title>. <source>Q Rev Biophys</source>. (<year>2006</year>) <volume>39</volume>:<fpage>57</fpage>&#x02013;<lpage>116</lpage>. <pub-id pub-id-type="doi">10.1017/S0033583506004227</pub-id><pub-id pub-id-type="pmid">16848931</pub-id></citation>
</ref>
<ref id="B78">
<label>78.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Maleckar</surname> <given-names>MM</given-names></name> <name><surname>Greenstein</surname> <given-names>JL</given-names></name> <name><surname>Giles</surname> <given-names>WR</given-names></name> <name><surname>Trayanova</surname> <given-names>NA</given-names></name></person-group>. <article-title>K&#x0002B; current changes account for the rate dependence of the action potential in the human atrial myocyte</article-title>. <source>Am J Physiol Heart Circ Physiol.</source> (<year>2009</year>) <volume>297</volume>:<fpage>H1398</fpage>&#x02013;<lpage>410</lpage>. <pub-id pub-id-type="doi">10.1152/ajpheart.00411.2009</pub-id><pub-id pub-id-type="pmid">19633207</pub-id></citation>
</ref>
<ref id="B79">
<label>79.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Rudy</surname> <given-names>Y</given-names></name> <name><surname>Weinstein</surname> <given-names>H</given-names></name></person-group>. <article-title>From genes and molecules to organs and organisms: heart</article-title>. <source>Compr Biophys.</source> (<year>2012</year>) <volume>2</volume>:<fpage>268</fpage>&#x02013;<lpage>327</lpage>. <pub-id pub-id-type="doi">10.1016/B978-0-12-374920-8.00924-3</pub-id></citation>
</ref>
<ref id="B80">
<label>80.</label>
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Tveito</surname> <given-names>A</given-names></name> <name><surname>Lines</surname> <given-names>GT</given-names></name></person-group>. <source>Computing Characterizations of Drugs for Ion Channels and Receptors Using Markov Models, Vol. 111.</source> <publisher-loc>Heidelberg</publisher-loc>: <publisher-name>Springer-Verlag</publisher-name> (<year>2016</year>).</citation>
</ref>
<ref id="B81">
<label>81.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Louch</surname> <given-names>WE</given-names></name> <name><surname>Sejersted</surname> <given-names>OM</given-names></name> <name><surname>Swift</surname> <given-names>F</given-names></name></person-group>. <article-title>There goes the neighborhood: pathological alterations in T-tubule morphology and consequences for cardiomyocyte Ca<sup>2&#x0002B;</sup> handling</article-title>. <source>J Biomed Biotechnol</source>. (<year>2010</year>) <volume>2010</volume>:<fpage>503906</fpage>. <pub-id pub-id-type="doi">10.1155/2010/503906</pub-id><pub-id pub-id-type="pmid">20396394</pub-id></citation>
</ref>
<ref id="B82">
<label>82.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Soeller</surname> <given-names>C</given-names></name> <name><surname>Cannell</surname> <given-names>M</given-names></name></person-group>. <article-title>Examination of the transverse tubular system in living cardiac rat myocytes by 2-photon microscopy and digital image&#x02013;processing techniques</article-title>. <source>Circ Res</source>. (<year>1999</year>) <volume>84</volume>:<fpage>266</fpage>&#x02013;<lpage>75</lpage>. <pub-id pub-id-type="pmid">10024300</pub-id></citation>
</ref>
<ref id="B83">
<label>83.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Nivala</surname> <given-names>M</given-names></name> <name><surname>de Lange</surname> <given-names>E</given-names></name> <name><surname>Rovetti</surname> <given-names>R</given-names></name> <name><surname>Qu</surname> <given-names>Z</given-names></name></person-group>. <article-title>Computational modeling and numerical methods for spatiotemporal calcium cycling in ventricular myocytes</article-title>. <source>Front Physiol</source>. (<year>2012</year>) <volume>3</volume>:<fpage>114</fpage>. <pub-id pub-id-type="doi">10.3389/fphys.2012.00114</pub-id><pub-id pub-id-type="pmid">22586402</pub-id></citation>
</ref>
<ref id="B84">
<label>84.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Cheng</surname> <given-names>Y</given-names></name> <name><surname>Yu</surname> <given-names>Z</given-names></name> <name><surname>Hoshijima</surname> <given-names>M</given-names></name> <name><surname>Holst</surname> <given-names>MJ</given-names></name> <name><surname>McCulloch</surname> <given-names>AD</given-names></name> <name><surname>McCammon</surname> <given-names>JA</given-names></name> <etal/></person-group>. <article-title>Numerical analysis of Ca<sup>2&#x0002B;</sup> signaling in rat ventricular myocytes with realistic transverse-axial tubular geometry and inhibited sarcoplasmic reticulum</article-title>. <source>PLoS Comput Biol</source>. (<year>2010</year>) <volume>6</volume>:<fpage>e1000972</fpage>. <pub-id pub-id-type="doi">10.1371/journal.pcbi.1000972</pub-id><pub-id pub-id-type="pmid">21060856</pub-id></citation>
</ref>
<ref id="B85">
<label>85.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Swietach</surname> <given-names>P</given-names></name> <name><surname>Spitzer</surname> <given-names>KW</given-names></name> <name><surname>Vaughan-Jones</surname> <given-names>RD</given-names></name></person-group>. <article-title>Modeling calcium waves in cardiac myocytes: importance of calcium diffusion</article-title>. <source>Front Biosci</source>. (<year>2010</year>) <volume>15</volume>:<fpage>661</fpage>.</citation>
</ref>
<ref id="B86">
<label>86.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Tveito</surname> <given-names>A</given-names></name> <name><surname>Lines</surname> <given-names>GT</given-names></name> <name><surname>Hake</surname> <given-names>J</given-names></name> <name><surname>Edwards</surname> <given-names>AG</given-names></name></person-group>. <article-title>Instabilities of the resting state in a mathematical model of calcium handling in cardiac myocytes</article-title>. <source>Math Biosci</source>. (<year>2012</year>) <volume>236</volume>:<fpage>97</fpage>&#x02013;<lpage>107</lpage>. <pub-id pub-id-type="doi">10.1016/j.mbs.2012.02.005</pub-id><pub-id pub-id-type="pmid">22391458</pub-id></citation>
</ref>
<ref id="B87">
<label>87.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Kucera</surname> <given-names>JP</given-names></name> <name><surname>Rohr</surname> <given-names>S</given-names></name> <name><surname>Rudy</surname> <given-names>Y</given-names></name></person-group>. <article-title>Localization of sodium channels in intercalated disks modulates cardiac conduction</article-title>. <source>Circ Res</source>. (<year>2002</year>) <volume>91</volume>:<fpage>1176</fpage>&#x02013;<lpage>82</lpage>. <pub-id pub-id-type="doi">10.1161/01.RES.0000046237.54156.0A</pub-id><pub-id pub-id-type="pmid">12480819</pub-id></citation>
</ref>
</ref-list>
<fn-group>
<fn id="fn0001"><p><sup>1</sup>The space for intracellular potentials for the case considered with FDM in the section 3.3.1 would be <inline-formula><mml:math id="M111"><mml:msubsup><mml:mrow><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msubsup><mml:mo>&#x000D7;</mml:mo><mml:msubsup><mml:mrow><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup><mml:mo>&#x000D7;</mml:mo><mml:mo>&#x022EF;</mml:mo><mml:mo>&#x000D7;</mml:mo><mml:msubsup><mml:mrow><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> where <italic>n</italic> &#x0003D; 16, 384.</p></fn>
</fn-group>
<fn-group>
<fn fn-type="financial-disclosure"><p><bold>Funding.</bold> The research was supported by The Research Council of Norway through the grant 145739/F20.</p>
</fn>
</fn-group>
</back>
</article>