Keywords

These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

1 Numerical Models for the Cardiac Potential

At the macroscopic level, the myocardial tissue can be regarded as the superposition of two continuous and anisotropic media, the intra-cellular and the extra-cellular one. They coexist and are connected by a cell membrane, whose capacitance is denoted by C m . The tissue conductivity depends upon its cells orientation, and in the most general case the associated tensor is anisotropic [1, 7, 14]. In any point x ∈ Ω, where Ω is the spatial domain under consideration, it is possible to identify an orthonormal triplet of directions, a l (x), a t (x), a n (x), with a l (x) parallel to the fibers direction, and we denote by \(\sigma _{\tau }^{l}\), \(\sigma _{\tau }^{t}\), and \(\sigma _{\tau }^{n}\) (τ = i, e) the corresponding intra and extracellular conductivity coefficients. The conductivity tensors are given by

$$\displaystyle{ \mathbf{D}_{\tau }(\mathbf{x}) =\sigma _{ \tau }^{l}(\mathbf{x})\mathbf{a}_{ l}(\mathbf{x})\mathbf{a}_{l}^{T}(\mathbf{x}) +\sigma _{ \tau }^{t}(\mathbf{x})\mathbf{a}_{ t}(\mathbf{x})\mathbf{a}_{t}^{T}(\mathbf{x}) +\sigma _{ \tau }^{n}(\mathbf{x})\mathbf{a}_{ n}(\mathbf{x})\mathbf{a}_{n}^{T}(\mathbf{x}),\qquad \tau = i,e. }$$
(1)

We assume that D τ fulfill in Ω a uniform elliptic condition.

1.1 The Bidomain Model

The Bidomain model is a nonlinear reaction-diffusion system of parabolic type describing the spatio-temporal dynamics of the intra and extracellular potentials, denoted by u i and u e , while the cell membrane is regarded as dislocated in the domain [2]. We rely in this paper on a non-symmetric formulation in terms of the transmembrane potential \(u = u_{i} - u_{e}\), and the extracellular one [5]. We denote by u = (u, u e )T the unknown, by \(V = H^{1}(\varOmega )\setminus \{c: c \in \mathbb{R}\}\) and by letting

$$\displaystyle{\mathbf{D}\, =\, \left [\begin{array}{ll} \frac{\sigma _{e}^{l}\mathbf{D}_{ i}} {\sigma _{i}^{l}+\sigma _{e}^{l}}\quad \ & \frac{\sigma _{e}^{l}\mathbf{D}_{ i}-\sigma _{i}^{l}\mathbf{D}_{ e}} {\sigma _{i}^{l}+\sigma _{e}^{l}} \\ \mathbf{D}_{i} &\mathbf{D}_{i} + \mathbf{D}_{e} \end{array} \right ]\quad \qquad \mathbf{E}_{1}\, =\, \left [\begin{array}{cc} 1&0\\ 0 &0 \end{array} \right ]\qquad \qquad \mathbf{e}_{1} = \left [\begin{array}{c} 1\\ 0 \end{array} \right ]}$$

the Bidomain system reads as follows. Find \(\mathbf{u} \in L^{2}(0,T;H^{1}(\varOmega ) \times V )\), such that

$$\displaystyle{ \chi C_{m}\,\mathbf{E}_{1}\,\frac{\partial \mathbf{u}} {\partial t} -\nabla \cdot \mathbf{D}\,\nabla \mathbf{u} +\chi \, I_{\mathit{ion}}(u)\,\mathbf{e}_{1} = \mathbf{I}^{\mathit{app}}, }$$
(2)

where χ is the membrane area per tissue volume ratio, I ion (u) is a nonlinear function of the transmembrane potential u, specified by a ionic model, and where I app represent the applied current stimuli. Several ionic models are available in literature, from more phenomenological to more accurate ones, but the choice of the nonlinear term I ion (u) does not have any influence on the procedure highlighted in what follows. The problem is completed by suitable initial conditions, and by homogeneous Neumann boundary conditions on ∂ Ω, modeling an insulated myocardium. The transmembrane potential u is uniquely determined from (2), while the extracellular potential u e is determined up to a function of time, and is usually identified by imposing a zero average at each time ( Ω u e (x, t) dx = 0, for all t ∈ (0, T) ).

1.2 The Monodomain Model

The Monodomain model is a simplified model for the propagation of the electrical stimulus, based upon a proportionality assumption between the intracellular and the extracellular conductivity tensors, namely assuming \(\mathbf{D}_{e} =\lambda \mathbf{D}_{i}\), where λ is a constant to be properly chosen. We assume here \(\lambda =\sigma _{ e}^{l}/\sigma _{i}^{l}\) [6], and the Monodomain model reads as follows. Find u ∈ L 2(0, T; H 1(Ω)), such that

$$\displaystyle{ \chi C_{m}\frac{\partial u} {\partial t} -\nabla \cdot \frac{\sigma _{e}^{l}\mathbf{D}_{i}} {\sigma _{i}^{l} +\sigma _{ e}^{l}}\nabla u +\chi I_{\mathit{ion}}(u) = I^{\mathit{app}}. }$$
(3)

Also system (3) is coupled with suitable initial conditions, and homogeneous Neumann boundary conditions on ∂ Ω. Differently from the Bidomain, the Monodomain model features a unique solution and is cheaper to solve numerically. In absence of applied currents, the Monodomain model is accurate enough to catch the desired dynamics and effects of the action potential propagation [12]. However, the Bidomain model becomes necessary when current stimuli are applied in the extracellular space. Also, the Monodomain is inadequate to simulate defibrillation [16].

1.3 Numerical Approximation

1.3.1 Time Integration

For simplicity in presentation, we consider a fixed time step Δ t, and we denote with superscript n the unknowns computed at time t n = n Δ t. Both the Bidomain (2) and the Monodomain equations (3) are advanced in (0, T) by a semi-implicit scheme, where the nonlinear term (the ionic current) is evaluated at the previous time step [2, 5]. More precisely, moving from t n to t n+1 we solve in Ω

$$\displaystyle{ \chi C_{m}\,\mathbf{E}_{1}\,\frac{\mathbf{u}^{n+1} -\mathbf{u}^{n}} {\varDelta t} -\nabla \cdot \mathbf{D}\,\nabla \mathbf{u}^{n+1} = \mathbf{I}^{\mathit{app}} -\chi \, I_{\mathit{ ion}}(u^{n})\,\mathbf{e}_{ 1} }$$
(4)

for the Bidomain system, and

$$\displaystyle{ \chi C_{m}\,\frac{u^{n+1} - u^{n}} {\varDelta t} -\nabla \cdot \frac{\sigma _{e}^{l}\mathbf{D}_{i}} {\sigma _{i}^{l} +\sigma _{ e}^{l}}\,\nabla u^{n+1} = \mathbf{I}^{\mathit{app}} -\chi \, I_{\mathit{ ion}}(u^{n}) }$$
(5)

for the Monodomain one.

1.3.2 Space Discretization

Both Bidomain (4) and Monodomain (5) models are discretized in space by finite elements [2, 8, 10, 11, 15]. When solving the Bidomain system, the unknowns of the fully discrete problem are represented by the vector \(\left (u_{h},u_{e,h}\right )^{T}\), storing the nodal values of the transmembrane and extracellular potentials. The matrix associated with the discrete Bidomain models is given by

$$\displaystyle{ \mathbf{B}\, =\, \left [\begin{array}{ll} \mathbf{B}_{\mathit{uu}} & \mathbf{B}_{\mathit{ue}} \\ \mathbf{B}_{\mathit{eu}} & \mathbf{B}_{\mathit{ee}} \end{array} \right ]\, =\, \left [\begin{array}{ll} \frac{\chi C_{m}} {\varDelta t} \,\mathbf{M} + \frac{\sigma _{e}^{l}} {\sigma _{i}^{l}+\sigma _{e}^{l}}\mathbf{K}_{i}\qquad \ & \frac{\sigma _{e}^{l}} {\sigma _{i}^{l}+\sigma _{e}^{l}}\,\mathbf{K}_{i} - \frac{\sigma _{i}^{l}} {\sigma _{i}^{l}+\sigma _{e}^{l}}\,\mathbf{K}_{e} \\ \mathbf{K}_{i} &\mathbf{K}_{i} + \mathbf{K}_{e} \end{array} \right ], }$$
(6)

where M is the mass matrix while K i and K e are the stiffness matrices associated with the chosen finite elements space.

When solving the Monodomain system, the unknown of the fully discrete problem is u h , and the associated matrix is simply block B uu of the matrix B in (6).

2 A Model Adaptive Strategy

In Fig. 1 (from [6]) we report the differences of the transmembrane potential computed with the Bi- and Monodomain models respectively at different instants. The figure pinpoints that the differences are mainly concentrated around the wavefront. From these results, we argue that the Monodomain provides an accurate approximation of the potential in most of the region of interest. The model adaptive strategy consists then in solving the Bidomain only when actually needed. In a first implementation of this approach [9] a suitable a posteriori model estimator was introduced. A hybrid model called Hybridomain was advocated. The latter assembles the block B ue only in correspondence with the nodes identified as Bidomain ones by the model estimator, while the second equation stays untouched. This simplifies significantly the implementation, however the computational advantage is limited, since also in the Monodomain regions an extended problem with the same size of the Bidomain one is solved. An alternative procedure consists of a genuine heterogeneous coupling by splitting the domains where the two models are solved. This coupling raises non trivial issues when matching the two models, featuring a different size. This has been considered in [6], where the Optimized Schwarz method has been advocated for the heterogeneous coupling, addressing the matching conditions at the interface between two different domains. Here, we focus on practical issues when using this approach in realistic problems. A first idea would be to trivially use the a posteriori error estimator for detecting the regions where to solve the Bidomain problem and then to couple these subdomains with the Monodomain regions. However, this approach is barely doable. As a matter of fact. the Robin-type interface conditions in the Optimized Schwarz setting require the assembly of mass matrices on the interfaces. As a consequence, every time the Bidomain region changes, one should identify the new interfaces and then recompute the matrices, with an additional computational cost that is anticipated to reduce the advantage of the Optimized Schwarz coupling. The model adaptive strategy we propose here relies instead on a a priori subdivision of Ω into smaller subdomains Ω j . The model error estimator will associate runtime each subdomain with either the Bidomain or the Monodomain problem. In this way, the interfaces matrices needed for the coupling can be computed once at the beginning of the time loop. Notice that the non-symmetric formulation of the Bidomain system ensures that the matrices for the Monodomain model are available after assembling the Bidomain ones.

Fig. 1
figure 1

Differences in the propagation of the membrane potential between Bidomain (u Bido ) and Monodomain (u Mono ) simulation: u Bido u Mono , with fibers oriented along the x axis (from [6])

2.1 Coupling Conditions and Optimized Schwarz Methods

We outline here the coupling conditions for the three different types of interfaces. If the subdomains involved have the same characteristic (Bido/Bido and Mono/Mono) the corresponding solutions are labeled by subscript 1 and 2, while if the subdomains have different characteristics (Bido/Mono) the corresponding solutions are labeled with subscript B and M.

2.1.1 Bidomain/Bidomain Interface

The coupling conditions on the Bidomain/Bidomain interface have been introduced in [4], and are given by

$$\displaystyle{ \begin{array}{l} \mathbf{n}_{1}^{T}\,\mathbf{D}\,\nabla \mathbf{u}_{1} +\alpha _{1}\,\varSigma \,\mathbf{u}_{1} = \mathbf{n}_{1}^{T}\,\mathbf{D}\,\nabla \mathbf{u}_{2} +\alpha _{1}\,\varSigma \,\mathbf{u}_{2} \\ \mathbf{n}_{2}^{T}\,\mathbf{D}\,\nabla \mathbf{u}_{2} +\alpha _{2}\,\varSigma \,\mathbf{u}_{2} = \mathbf{n}_{2}^{T}\,\mathbf{D}\,\nabla \mathbf{u}_{1} +\alpha _{2}\,\varSigma \,\mathbf{u}_{1},\quad \mathrm{where}\quad \varSigma \, =\, \left [\begin{array}{cc} \frac{\sigma _{e}^{l}} {\sigma _{i}^{l}+\sigma _{e}^{l}}& 0 \\ 1 &\frac{\sigma _{i}^{l}+\sigma _{ e}^{l}} {\sigma _{i}^{l}} \end{array} \right ]. \end{array} }$$
(7)

The convergence of the Optimized Schwarz Algorithm based on the interface conditions (7) was analyzed in [4], where also optimal parameters have been identified by means of Fourier analysis.

2.1.2 Bidomain/Monodomain Interface

Due to a dimensional mismatch between the two models, two interface conditions are needed on the Bidomain side of the interface, and one on the Monodomain side [6]. Possible coupling conditions are

$$\displaystyle{ \begin{array}{l} \mathbf{n}_{B}^{T} \frac{\sigma _{e}^{l}\mathbf{D}_{ i}} {\sigma _{i}^{l}+\sigma _{e}^{l}}(\nabla u_{B} + \nabla u_{e,B}) -\mathbf{n}_{B}^{T} \frac{\sigma _{i}^{l}\mathbf{D}_{ e}} {\sigma _{i}^{l}+\sigma _{e}^{l}}\nabla u_{e,B} + \frac{\sigma _{e}^{l}\alpha } {\sigma _{i}^{l}+\sigma _{e}^{l}}u_{B} = \mathbf{n}_{B}^{T} \frac{\sigma _{e}^{l}\mathbf{D}_{ i}} {\sigma _{i}^{l}+\sigma _{e}^{l}}\nabla u_{M} + \frac{\sigma _{e}^{l}\alpha } {\sigma _{i}^{l}+\sigma _{e}^{l}}u_{B}\\ \\ \mathbf{n}_{B}^{T}\mathbf{D}_{i}(\nabla u_{B} + \nabla u_{e,B}) + \mathbf{n}_{B}^{T}\mathbf{D}_{e}\nabla u_{e,B} +\alpha u_{B} + \frac{\sigma _{i}^{l}+\sigma _{ e}^{l}} {\sigma _{i}^{l}} \alpha u_{e,B} =\alpha u^{\mathit{rest}}\end{array} }$$
(8)

for the Bidomain subproblem, and

$$\displaystyle{ \begin{array}{lll} &\mathbf{n}_{M}^{T} \frac{\sigma _{e}^{l}\mathbf{D}_{ i}} {\sigma _{i}^{l}+\sigma _{e}^{l}}\nabla u_{M} + \frac{\sigma _{e}^{l}\alpha } {\sigma _{i}^{l}+\sigma _{e}^{l}}u_{M} =&\mathbf{n}_{M}^{T} \frac{\sigma _{e}^{l}\mathbf{D}_{ i}} {\sigma _{i}^{l}+\sigma _{e}^{l}}(\nabla u_{B} + \nabla u_{e,B}) -\mathbf{n}_{M}^{T} \frac{\sigma _{i}^{l}\mathbf{D}_{ e}} {\sigma _{i}^{l}+\sigma _{e}^{l}}\nabla u_{e,B} \\ & & + \frac{\sigma _{e}^{l}\alpha } {\sigma _{i}^{l}+\sigma _{e}^{l}}u_{B} \end{array} }$$
(9)

for the Monodomain one. To cope with the mismatch, the second condition in (8) is a transparent boundary condition, designed to avoid spurious reflexions off the interface for the extracellular potential wave. The convergence of the Optimized Schwarz Algorithm based on the interface conditions (8)–(9) was analyzed in [6], where also optimal parameters has been identified by means of Fourier analysis.

2.1.3 Monodomain/Monodomain Interface

The Optimized Schwarz coupling is significantly simpler on the interface between two Monodomain regions. The semi-implicit temporal integration scheme reduces the problem at each time step to a linear steady reaction-diffusion problem, whose solution by means of Optimized Schwarz Methods has been widely studied, and an optimal parameter has been identified [3]. The coupling on the interface is given by

$$\displaystyle{ \begin{array}{l} \mathbf{n}_{1}^{T} \frac{\sigma _{e}^{l}\mathbf{D}_{ i}} {\sigma _{i}^{l}+\sigma _{e}^{l}}\nabla u_{1} +\alpha ^{\mathit{opt}}u_{1} = \mathbf{n}_{1}^{T} \frac{\sigma _{e}^{l}\mathbf{D}_{ i}} {\sigma _{i}^{l}+\sigma _{e}^{l}}\nabla u_{2}^{p} +\alpha ^{\mathit{opt}}u_{2}^{p}\\ \\ \mathbf{n}_{2}^{T} \frac{\sigma _{e}^{l}\mathbf{D}_{ i}} {\sigma _{i}^{l}+\sigma _{e}^{l}}\nabla u_{2} +\alpha ^{\mathit{opt}}u_{2} = \mathbf{n}_{2}^{T} \frac{\sigma _{e}^{l}\mathbf{D}_{ i}} {\sigma _{i}^{l}+\sigma _{e}^{l}}\nabla u_{1} +\alpha ^{\mathit{opt}}u_{1}. \end{array} }$$
(10)

2.2 The Model Error Estimator

The a posteriori error estimator for choosing between a Bidomain or Monodomain simulation in each subdomain introduced in [9] is based on the extracellular potential computed from a suitable extension of the Monodomain model. More precisely, we let \(\mathbf{D}_{\varepsilon } = \mathbf{D}_{e} -\frac{\sigma _{e}^{l}} {\sigma _{i}^{l}} \mathbf{D}_{i}\). The model estimator is computed at the subdomain level as

$$\displaystyle{ \zeta _{j}^{2} =\int _{\varOmega _{ j}}\nabla u_{M} \frac{\sigma _{i}^{l}\mathbf{D}_{\varepsilon }} {\sigma _{i}^{l} +\sigma _{ e}^{l}}\left (\mathbf{D}_{i}^{-1} + \mathbf{D}_{ e}^{-1}\right ) \frac{\sigma _{i}^{l}\mathbf{D}_{\varepsilon }} {\sigma _{i}^{l} +\sigma _{ e}^{l}}\nabla u_{M}\,\mathit{dx}. }$$
(11)

The value ζ j 2 is an upper bound for the error in Ω j between the two models in a H 1(Ω j )-type seminorm depending on D i and D e . The Bidomain model is then activated in Ω j whenever ζ j 2 exceeds a given threshold τ j , depending on the size of the subdomain. Computing ζ j 2 requires one matrix-vector and one scalar product, and we denote by \(\mathbf{K}_{\varepsilon }\) the stiffness matrix associated with (11). More details on this estimator, that we do not report for the sake of space, can be found in [9].

2.3 The Model Adaptive Algorithm

Preprocessing

  1. (i)

    Split the computational domain into non-overlapping subregions Ω j (j = 1, . . , N).

  2. (ii)

    Identify the interfaces Γ ij between subdomains Ω i and Ω j .

  3. (iii)

    Assemble the local matrices \(\mathbf{B}_{\mathit{uu}}^{j}\), \(\mathbf{B}_{\mathit{ue}}^{j}\), \(\mathbf{B}_{\mathit{eu}}^{j}\), \(\mathbf{B}_{\mathit{ee}}^{j}\), and \(\mathbf{K}_{\varepsilon }^{j}\).

  4. (iv)

    Assemble the interface mass matrices \(\mathbf{M}_{\varGamma _{\mathit{ij}}}\).

  5. (v)

    Compute the incomplete ILU factorization of the local \(\mathbf{B}_{\mathit{uu}}^{j}\) and \(\mathbf{B}_{\mathit{ee}}^{j}\) matrices.

Runtime (time step \(t^{n} \rightarrow t^{n+1}\))

  1. (i)

    Run a Monodomain simulation at time t n+1 over the whole domain Ω.

  2. (ii)

    Evaluate the model estimator and compute the local indicator \(\zeta _{j}^{2} = (u_{M}^{j})^{T}\mathbf{K}_{\varepsilon }^{j}u_{M}^{j}\).

  3. (iii)

    For all Ω j (j = 1, . . , N) such that \(\zeta _{j}^{2} >\tau _{j}\), activate Bidomain.

  4. (iv)

    Run the Optimized Schwarz Algorithm using the solution computed in Step 1 as initial guess. A few iterations are usually enough.

  5. (v)

    Advance to time t n+1.

3 Preliminary Numerical Results

Numerical results in this section have the purpose to show the effectiveness of the model adaptive method: for this reason we consider here only 2D simulations. The numerical tests are run in Matlab®; 7.5. The Bidomain problems are solved by a flexible GMRES (f-GMRES) right preconditioned by the Block-triangular preconditioner introduced in [5], while the Monodomain problems are solved by a CG preconditioned by an ILU factorization.

We consider the strip Ω = [0, 3] × [0, 1] subdivided into the three nonoverlapping subdomains \(\varOmega _{i} = [i - 1,i] \times [0,1]\), i = 1, 2, 3. The fibers are oriented with the principal direction perpendicular to the interfaces, and we impose a stimulus on the whole left boundary of Ω 1. The well known Rogers-McCulloch ionic model [13] is used.

We plot in Fig. 2 the wavefront position at different times (top row), and the activated subdomains (bottom row) during depolarization. The advantage of the model adaptive approach resides in solving only cheap Monodomain problems for the large majority of time steps (in a genuine Monodomain setting, without extensions that were needed by the Hybrodomain approach). In Table 1 we report the relative CPU gain over a whole heartbeat duration (450 ms) for the model adaptive strategy with respect to the Optimized Schwarz algorithm introduced in [4].

Fig. 2
figure 2

Propagation of the membrane potential (in red the excited region, top row), and the activated Bidomain region (in green and marked by “B”, bottom row) (Color figure online)

A more detailed presentation of the method will be the subject of a forthcoming work. Further work needs to be done to identify the proper trade-off between the number of subdomains, and the size of the Bidomain region surrounding the wavefront, and to properly handle the processors load balance in a parallel architecture. Also, dynamical allocation of tasks is under investigation to properly balance, in real problems, the load of each processor in the parallel solver.

Table 1 Relative CPU time: u OSB and u MA computed with two Schwarz iterations