Abstract
Reaction–diffusion systems are used to represent many biological and physical phenomena. They model the random motion of particles (diffusion) and interactions between them (reactions). Such systems can be modelled at multiple scales with varying degrees of accuracy and computational efficiency. When representing genuinely multiscale phenomena, fine-scale models can be prohibitively expensive, whereas coarser models, although cheaper, often lack sufficient detail to accurately represent the phenomenon at hand. Spatial hybrid methods couple two or more of these representations in order to improve efficiency without compromising accuracy. In this paper, we present a novel spatial hybrid method, which we call the auxiliary region method (ARM), which couples PDE- and Brownian-based representations of reaction–diffusion systems. Numerical PDE solutions on one side of an interface are coupled to Brownian-based dynamics on the other side using compartment-based ‘auxiliary regions’. We demonstrate that the hybrid method is able to simulate reaction–diffusion dynamics for a number of different test problems with high accuracy. Furthermore, we undertake error analysis on the ARM which demonstrates that it is robust to changes in the free parameters in the model, where previous coupling algorithms are not. In particular, we envisage that the method will be applicable for a wide range of spatial multi-scales problems including filopodial dynamics, intracellular signalling, embryogenesis and travelling wave phenomena.
Keywords: hybrid modelling, stochastic reaction–diffusion, multiscale modelling, auxiliary region, partial differential equation, Brownian dynamics
1. Introduction
Reaction–diffusion models are important mathematical tools that are used to represent and understand complex biological and physical behaviours. They model the random movement of the particles (diffusion) and the interactions between particles (reactions), giving them a wide array of applications across multiple spatial scales. These applications range from the large-scale representation of striped vegetation patterns in semi-arid landscapes [1] and the spread of epidemics [2] to smaller-scale studies of pattern formation during embryogenesis [3,4] and, at even smaller scales, to the study of actin dynamics inside a cell's filopodia [5] and intracellular dynamics [6–8].
Reaction–diffusion models can be specified at different levels of detail depending on the temporal, spatial and concentration scales involved in the application (table 1). At the finest scale that we will consider are microscopic dynamics. These models and methods (which include Brownian motion for purely diffusive systems and Smoluchowski dynamics [9,10] or Green's function reaction dynamics (GFRD) [11] for reaction–diffusion systems) are among the more detailed representations of such systems, but consequently are relatively computationally expensive.1 They require not only the knowledge of the location of all particles at all times, but in the case of second- and higher-order reactions, the pairwise distances between particles, which requires large memory, and are expensive to calculate for many time-steps. In the case of diffusion-limited reactions, time-steps must be taken to be extremely small to ensure that reactive particles do not jump past each other and that the attendant reaction events are not missed. All update steps also require the production of a normally distributed random number for each coordinate of each particle which can be computationally expensive depending on the reaction system that is being modelled. However, some of these expensive steps can be accelerated by considering event-driven algorithms or employing approximate algorithms with longer time-steps. GFRD is an event-driven algorithm that differs from the standard method for simulating Brownian motion. It uses a maximum time-step so that only single particles, or pairs of particles, need to be considered. It then uses the exact solution to the Smoluchowski equation in order to combine the movement of, and interactions between, particles. If particles are far apart, the event-based time-steps are large. Smoldyn uses relatively long time-steps, and accounts for the error that this causes (due to possible reactant pairs passing by one another without the possibility of reacting) by making the effective particle sizes larger. Microscale modelling is particularly useful when fine scale detail is required, for example, when considering the binding of particles to receptors [12–14]. An even finer scale representation, in which atomistic dynamics can be represented, is available, if required. Typically, modelling at this scale is known as molecular dynamics, and we direct the reader to Holley [15] and Dürr et al. [16] for more information about modelling at this scale.
Table 1.
scale | advantages | disadvantages |
---|---|---|
micro | most accurate representation. Can be used for low copy numbers | slow to compute reactions. Impractical for large numbers of particles |
meso | fast for low particle numbers. Represents individual-level behaviour | can be slow for large copy numbers. Does not retain precise location or particle identity |
macro | fast to compute solutions. Suitable for high copy numbers. Often amenable to analytical solutions | inaccurate for low copy numbers. Mean-field models diverge from individual dynamics for higher-order reactions |
At a coarser scale, we have compartment-based or mesoscopic models. Like the fine-scale, microscopic models, these also account for stochastic variation; however, particles are now considered to belong to compartments rather than having their exact locations tracked. Particles can either react with one another within a compartment, or can jump between adjacent compartments with given rates, simulating diffusion. Compartment-based models can be simulated using either exact but computationally expensive [17–19] or inexact but computationally cheaper [20] stochastic simulation algorithms (SSAs). The exact methods (so-called because they produce sample paths consistent with the associated chemical master equation (CME)) effectively assign exponential waiting times to every possible event (diffusive jump or reaction) and then choose the event with the shortest waiting time to enact. In general, they are faster than the microscopic methods, as pairwise reaction distances do not need to be calculated for bimolecular reactions and individual particle identities are not tracked, but are less accurate, because they only record a particle's location up to the accuracy of the compartment size, and generally particles are only allowed to react with others in the same compartment [21].
Finally, at the coarsest scale lie continuum or macroscopic models. The most commonly employed macroscopic models for reaction–diffusion systems comprise partial differential equations (PDEs).2 These methods are generally only valid for high particle numbers. The stochastic variations, which are considered small enough to be neglected at high copy numbers, play a pivotal role in the dynamics at low copy numbers, leading the PDE solutions to diverge from the true underlying dynamics. There is a wealth of well-established numerical methods that can quickly simulate an approximate solution to a PDE. These include finite-difference methods, finite-volume methods and finite-element methods (e.g. [22–25]).
Often though, important biological and physical phenomena are genuinely multiscale [26–29]. In spatial reaction–diffusion systems, concentration may vary over orders of magnitude. In regions of low concentration, it is often important to employ detailed individual-based models in order to correctly represent the dynamics. If these models were to be employed indiscriminately throughout the domain, however, the regions of high concentration, in which there are many individual particles to be evolved, might render the system computationally intractable. In these regions it might be acceptable to employ a coarser and less computationally expensive model. A canonical example of this phenomenon is the stochastic Fisher wave [30,31]. The wave speed is determined by the stochastic activity at the pulled front, so it is important to employ an accurate individual-based representation of the dynamics in this region. Conversely, behind the wavefront, the detailed dynamics are of little importance. It is possible, therefore, to employ a coarser, cheaper representation of the dynamics in this region.
Spatially coupled hybrid methods have been developed for precisely this purpose: to simulate spatially inhomogeneous domains both accurately and efficiently. In general, such methods are designed to accelerate expensive computations whilst maintaining reasonable levels of accuracy. The majority of spatially coupled hybrid methods divide the computational domain into distinct regions using interfaces. The dynamics of adjacent regions are represented using different methods. Regions in which detailed representations of the dynamics are required for accuracy are simulated using a fine-scale method, whereas regions in which less detail is required are modelled with a coarser, less computationally expensive method. There can be two reasons for this. The first is in order to resolve a particular region of the spatial domain in more detail, such as when looking at the behaviour of ions around gated channels [12], or when building a model for the energy in a liquid crystal [32]. Both of these examples have a prohibitively slow but accurate model that is required in certain regions of space, but which is too computationally expensive if used everywhere. The second reason is to simply segregate a region of the domain in which there are very few particles. In these regions, a coarse method (for example a continuum model) may be too inaccurate.
There exist hybrid methods that couple each of the different scales described above to one another (and indeed many more; see Smith & Yates [33] for a comprehensive review of such methods). Macroscopic-to-mesoscopic methods have been proposed which employ averaged fluxes in order to calculate appropriate boundary conditions for each regime at the interface(s) [34–36], as well as using an extra compartment within the macroscopic region [37]. Mesoscopic-to-microscopic methods, which also employ extra compartments, this time in the microscopic regime, have been developed [38]. Moreover a class of methods using adapted rates of diffusion from the mesoscopic to the microscopic domains have been proposed and successfully applied to represent biological processes [5,12,29,39,40]. There are fewer macroscopic-to-microscopic hybrid methods in the literature. Macro-to-micro methods that allow mass to flow over the interface in both directions in order to initialize particles [41] or that average solutions on either side of the interface to find a flux [42] can be found in the literature. For a more detailed review of spatially extended hybrid methods, see [33].
Two of the above-mentioned hybrid methods are of particular relevance for the purposes of this paper. The pseudo-compartment method, presented by Yates & Flegg [37], is a macroscopic-to-mesoscopic (specifically PDE-to-compartment) method in which the coupling is achieved using an extra compartment, known as the ‘pseudo-compartment’, adjacent to the interface within the macroscopic domain. In this compartment, mass is represented using both the PDE solution and the compartment-based method (with particle numbers found by direct integration of the PDE over this region). Particles are then allowed to cross the interface in both directions using the compartment-based method. We give a schematic of this method in figure 1a.
The ghost cell method proposed by Flegg et al. [38] is a mesoscopic-to-microscopic method which uses an extra compartment in the microscopic domain. The number of particles in this ‘ghost cell’ is simply the number of Brownian particles which reside in this region. Again, particles are allowed to jump across the interface using the compartment-based mesoscopic method. A schematic of the method is given in figure 1b.
In this paper, we employ the two methods described above (see figure 1) in order to couple a macroscopic PDE description for reaction–diffusion systems to a corresponding microscopic Brownian dynamics representation through the use of ‘auxiliary regions’. These regions are compartments, which lie either side of the interface, and allow mass to pass between the two regimes via a mesoscopic jump process (see figure 4 for a schematic). Within the auxiliary regions, mass is simultaneously represented using both the description for the region in which they reside (i.e. PDE or Brownian) and the mesoscopic description. Changes (i.e. reactions or diffusion events) implemented under one modelling paradigm (e.g. the compartment-based representation of the auxiliary region) are simultaneously implemented in the other (e.g. the PDE or Brownian representations in these regions). The interface, which divides the two modelling paradigms, can either be static, in which case it remains in its initial position, or adaptive, in which case it moves with the density profile in order to ensure that regions of space with few particles are simulated using the finest scale. Through a series of test cases, we demonstrate our algorithm to be more accurate and more robust to model parameters than previous PDE-to-Brownian coupling algorithms.
The paper is organized as follows. In §2, a previous attempt at hybridizing a Brownian dynamics model to its corresponding mean-field PDE description is evaluated in more detail [41]. A description of our novel auxiliary region method (ARM) is presented in §3 alongside the relevant justifications and pseudocode. Numerical results, verifying the accuracy of our hybrid method, are presented in §4. Numerical error analysis is conducted in §5, where we also discuss restrictions on the model parameters for the effective functioning of the coupling algorithm. We conclude with a discussion of the effectiveness of our new hybrid method and suggest avenues for further exploration in §6.
2. An existing PDE-to-Brownian coupling
In this section, we summarize the pioneering work of Franz et al. [41], who were among the first to couple PDE and Brownian dynamics representations of reaction–diffusion. By replicating their results, we demonstrate that their ‘PDE-assisted Brownian dynamics’ algorithm is not robust to simulation parameter choice, even for simple diffusive processes. This motivates the need for a more robust coupling method, which we provide in the form of the ARM in §3.
2.1. PDE-assisted Brownian dynamics
Hybrid methods that couple the PDE description of a reaction–diffusion system to its corresponding Brownian dynamics representation have been relatively poorly investigated in comparison to PDE-to-compartment-based and compartment-based-to-Brownian couplings. In part, this is a result of the fact that such hybrid algorithms neglect mesoscale representations of particle dynamics, meaning that they must bridge a greater scale separation than either of the other two hybrid paradigms. Mainly though, the absence of many examples of PDE-to-Brownian hybrid methods is due to the inherent difficulty when converting PDE mass to individual particles (and vice versa) when coupling Brownian dynamics models to continuum PDE representations. Below, we describe two algorithms proposed by Franz et al. [41], but focus on the first, a method with an interfacial coupling. We choose to focus on this coupling because our ARM coupling method, described in §3, also uses an interface.
Franz et al. [41] present two related algorithms. In the first, the non-overlapping PDE and Brownian domains are separated by an interface (figure 2). Both PDE and Brownian representations are updated using a time-driven algorithm, with the PDE time-step much smaller than the Brownian time-step. The discretized PDE is evolved (until the time reaches the next Brownian time-step) using a centred finite-difference scheme with implicit Euler time-stepping, and PDE mass is allowed to cross the interface between the two regimes. Provided that the Brownian time-step is sufficiently small, the amount of mass that crosses the interface between Brownian time-steps gives the probability that a new particle is placed within the Brownian domain. A uniformly distributed random number is used to determine whether a particle is initialized in the Brownian regime or not. If it is, this particle's position is randomly initialized according to the normalized density profile of the PDE mass that crossed the interface in the previous Brownian time-step. If a Brownian particle crosses into the PDE domain, a particle's worth of mass is added to the PDE solution at its new location as a δ-function and the individual particle is removed. We have illustrated this method schematically in figure 2.
Franz et al. [41] found the variance in particle numbers in the Brownian region of the hybrid domain to be altered in comparison to the variance that would be expected in a fully Brownian simulation. In order to counteract this problem, they introduced a second algorithm, in which an overlap region replaces the interface. Within the overlap region, mass can be simulated as either Brownian particles or as part of the PDE. The coupling works in the same way as in the interfacing algorithm; however, the Brownian particles are subsumed into the PDE only once they have crossed the boundary of the overlap region closest to the fully PDE domain. Similarly, PDE mass can only be converted to Brownian particles once it has flowed over the overlap boundary adjacent to the fully Brownian domain.
The Brownian time-step in the algorithm is required to be small, in order that the total probability of initializing a particle in the Brownian regime is less than one. However, the algorithm runs into difficulties if the time-step is chosen to be too small. Specifically, the amount of mass that flows over the interface between updates of the Brownian dynamics is too small in comparison to that which would be predicted theoretically using the exact diffusion kernel. This gives rise to inaccuracies in the algorithm, particularly if long simulation times are required. This sensitivity to the choice of Brownian time-step restricts the physical scenarios to which the algorithm can be applied.
In figure 3, we present three snapshots of the evolution of the first version of the algorithm (interface rather than overlap region) which illustrate this problem. By time t = 2, in figure 3c, there is a clear disparity between the hybrid method and the mean field solution (black dotted line). Disparities of this nature are not acceptable when modelling real reaction–diffusion systems, irrespective of the computational savings the algorithm is able to produce.
3. The auxiliary region method
In this section, we present our novel ARM for coupling PDE and Brownian-based representations of reaction–diffusion. For simplicity, we will present a version of the method with a single interface separating two regimes. However, the method can be easily generalized to multiple interfaces which separate alternating PDE and Brownian regions. Sequentially, we describe the composition of the domain and the models we employ in each region; the nature of the auxiliary regions; the implementation of movement of mass across the boundary; the implementation of reactions; and finally the specific details required for the simulation of the algorithm, including pseudocode for its implementation. All code, which has been written in Matlab, can be found in the electronic supplementary material.
3.1. The domain composition
Recall that, for our coupling method, space is partitioned into two regions within which we use different modelling paradigms (PDE and Brownian dynamics) to simulate the underlying reaction–diffusion system. Separating the two regions is a point interface, over which particles can jump according to a compartment-based method.
Consider a one-dimensional domain3 for some L1 < 0 < L2. We split Ω into two regions, ΩP = (L1, 0) and ΩB = (0, L2) (separated by an interface I at position 0), within which the evolution of the system will be represented using a PDE description and Brownian dynamics, respectively.
3.2. The auxiliary regions
Particles can move between the two domains (ΩP and ΩB) via the auxiliary regions ΩPA and ΩBA; subsets of ΩP and ΩB respectively, each of width ha > 0. Within these regions, mass/particles are simultaneously represented according to the default methodology for their domain (either PDE in ΩP or Brownian dynamics in ΩB), but also as well-mixed particles in their respective auxiliary regions ΩPA and ΩBA. These auxiliary regions act as a bridge between the fine- and coarse-scale descriptions. A schematic of the domain's composition is given in figure 4.
We justify the use of the Brownian auxiliary region by following the methodology set out in Flegg et al. [38]. The entire Brownian domain can be simulated using a mesoscopic compartment-based regime, and equivalently using a microscopic simulation. In the absence of reactions, if the particles in the microscopic simulation are ‘binned’ into the same compartments as the mesoscopic simulation, the expected numbers in each compartment for each simulation would be the same. At this scale, the two methods are equivalent ways of simulating the same diffusive process [38].
To justify the use of the PDE auxiliary region, we appeal to the arguments of Yates & Flegg [37]. We note that the PDE density can be thought of as the probability of finding a particle at a particular position and time, scaled by the number of particles within the PDE domain. Provided that the auxiliary region is sufficiently narrow, the PDE density within the auxiliary region can be thought of as being approximately uniformly distributed across the region with the appropriate number of particles. This is precisely the interpretation of the contents of a compartment within the mesoscopic, compartment-based framework.
3.3. The PDE regime, ΩP
Within ΩP, we represent the mass of particles using
3.1 |
Here, c(x, t) = (c1(x, t), …, cK(x, t))T, denotes the density of species k = 1, …, K at position x and time t, D is a diagonal matrix containing the Fickian diffusion constants for each species, and f is a function that encapsulates the effect of any reactions on each species. We also use the notation ∂ΩP to represent the boundary of ΩP, and c0(x) is the initial condition. For all the simulations presented in this paper, we employ the finite-difference θ-method (a general family of finite-difference methods).4 Although the Crank–Nicolson method (θ = 0.5) is second-order accurate and unconditionally stable, we use θ = 0.51 because the Crank–Nicolson method can give rise to spurious oscillations when implemented on step-function initial conditions of the sort we will consider [22].
3.4. The Brownian regime, ΩB
Within ΩB, all particles are tracked and their positions updated according to the following (computational) stochastic differential equation which simulates Brownian motion:
3.2 |
where yki(t) denotes the location of particle i of species k within ΩB, Δt is the time-step for both the PDE and Brownian dynamics simulators5 and NkHB(t) is the number of particles of species k in ΩB at time t. Once again, we set reflective boundary conditions at both ends of ΩB to ensure that no particles can leave this domain via a Brownian diffusion event. The zero-flux boundary conditions at the interface for both PDE and Brownian regimes ensure that mass can only cross the interface according to the compartment-based method.
3.5. Movement across the interface
As both domains, ΩP and ΩB, have zero-flux boundaries at the interface, particles can only cross over the interface via the auxiliary regions. In effect, these regions comprise a two-compartment reaction–diffusion master equation (RDME) model. Each particle in each auxiliary region jumps to its neighbouring region on the other side of the interface with a rate dk (for species k), which is related to the macroscopic diffusion coefficient (for species k), Dk, via
3.3 |
Here, ha is the width of each auxiliary region, which is assumed to be the same for both the Brownian and PDE auxiliary regions. In order to implement jumps (or reactions, where necessary) according to the RDME, we require particle numbers.
Borrowing terminology from Yates & Flegg [37], the number of ‘pseudo-particles’ of species k within the PDE auxiliary region, ΩPA, at time t, denoted NkPA(t), is calculated as
3.4 |
The number of particles of species k in the Brownian auxiliary region, ΩBA, is given by
3.5 |
These particle numbers allow us to define propensity functions corresponding to diffusive jumps between, or reactions within, the auxiliary regions. For diffusive jumps between the two auxiliary regions, the propensity functions for species k within the PDE and Brownian auxiliary regions are (respectively)
3.6 |
and
3.7 |
We note here that if NkPA(t) < 1, we set αkP(t) = 0 to prevent the possibility of negative density. While it may be a problem if this scenario occurs persistently, practically speaking, we should choose the position of the interface such that density is always large enough that this does not happen. An adaptive interface will allow us to satisfy this criterion (see §4.4.3), and hence this problem would not occur when using such an interface.
When a particle jumps from ΩBA to ΩPA, a particle within the Brownian auxiliary region is chosen uniformly at random to be removed, and a particle's worth of mass is added to the PDE solution uniformly across ΩPA for the species, k, which has changed:
3.8 |
where 𝟙[x∈A] is the indicator function for x∈A. Similarly, if a jump is enacted in the opposite direction, from ΩPA to ΩBA, we first remove a particle's worth of mass uniformly from ΩPA for the appropriate species k:
3.9 |
and a new particle is initialized within the Brownian auxiliary region, ΩBA, with position chosen uniformly at random.
3.6. Reaction implementation
Throughout ΩP, all reactions are implemented using the reaction operator f(c). The method we employ to implement reactions within ΩB depends on the location of the reactant particles. Let denote the set of reaction pathways (with ). Define the subset of reactions at time t as follows:
Reactions between molecules for which at least one of the reactive molecules lies within ΩB\ΩBA are implemented using an appropriate microscopic approach, such as the λ–ρ method [43,44]. However, if at least one set of participating particles lie in ΩBA (i.e. ), care needs to be taken over the interaction of such particles and the mass on the other side of the interface in ΩP. As explained below, we will implement the reactions for these reactant particles using the compartment-based method.
For illustrative purposes, consider a reversible second-order reaction involving species A, B and C:
3.10 |
Under the λ–ρ method [43] and its later modification [44], for the forward reaction, a particle of species A and a particle of species B are required to be within a distance ρ of one another in order to react. They then react with a rate λ, where λ is a function of both the reaction radius ρ and the reaction rate κ1. Imagine that an A particle (without loss of generality) in ΩB is close enough to the interface that the reaction radius ρ is larger than the distance between itself and the interface. For consistency with the Brownian representation, the A particle should be allowed to react with a B particle in the PDE region. The implementation of such reactions would be extremely difficult. Instead, by ensuring bimolecular reactions within the auxiliary region are implemented according to the mesoscopic compartment-based method, we avoid such issues (provided that the width of the auxiliary region is chosen to be larger than the interaction radius ρ).
According to the backwards reaction, two particles are created after the reaction has occurred. These particles are placed a certain distance away from each other (called the dissociation radius) in order to achieve a specified probability of geminate recombination (a recombination of any pair of A and B particles that were initialized from the same C particle). If this radius intersects with the PDE regime, then there is the potential for individual particles to be initialized within ΩP. By again employing the mesoscopic representations for reactions, we resolve this issue. All product particles are assumed to be placed uniformly throughout the Brownian auxiliary region. Particles that are products of the backward dissociation reaction in ΩB\ΩBA are extremely unlikely to be placed in ΩP (again, providing that the auxiliary region is larger than the dissociation radius).
For these reasons, all of the reactions (for which at least one set of participating particles lie in ΩBA) are implemented using the compartment-based method, in which reactions are incorporated as events in the associated Markov chain, according to the RDME. We can write the following propensity functions for reactions within ΩBA:
3.11 |
for any reaction channel of order ν and corresponding reaction rate κr, where NBA(t) = (N1BA(t), …, NKBA(t))T and gr is the appropriate number of possible combinations of the reactants for reaction r from the particles that lie within ΩBA. Recall, however, that in ΩB\ΩBA, any such reactions are implemented according to the chosen microscopic reaction method [43–45].
3.7. Simulation specifics
The Gillespie SSA [17] is used to simulate the above-described reactions in ΩBA, as well as the diffusive fluxes over the interface. The SSA requires the computation of an exponential random variable which gives the time, τ, until the next event, and can be found by transforming a uniform random variable u∼Unif(0, 1) by the following equation:
3.12 |
Here, α0(t) is the sum of all of the propensity functions:
3.13 |
where
3.14 |
and
3.15 |
The PDE solutions and Brownian dynamics are implemented using the same discrete time-step, Δt, and the diffusive jumps across the interface (and any required reactions, ) are implemented in an event-driven manner, according to the Gillespie SSA. Event-driven time-steps are implemented until the putative time for the next event passes the next Brownian/PDE update time, at which point the PDE and Brownian dynamics are updated. Pseudocode for the ARM is given in algorithm 1.
4. Results
Within this section we present four test problems which are used to demonstrate that the ARM correctly simulates reaction–diffusion systems. Two of these problems are models of pure diffusion with different initial conditions and will demonstrate that the fluxes over the interface are consistent with the expected behaviour of the fully Brownian simulations. The third problem is the formation of a morphogen gradient, which demonstrates the successful implementation of reactions in the ARM. Despite the fact that our method is valid for higher-order reactions, the first three test problems consider reactions up to first order. For such systems, no moment closure assumptions are required to derive the mean-field reaction–diffusion PDE and hence its behaviour agrees with the mean behaviour of the individual-based models. This allows us to efficiently verify accuracy by comparing the mean behaviour of our hybrid method to the known mean-field behaviour. Finally, in test problem four, we implement a second-order reaction system in higher dimensions, indicating the applicability of the method to more complicated examples.
For each of the first three test problems, we use ΩP = ( − 1, 0) and ΩB = (0, 1), meaning that the interface is the single point at 0. We take the value of the fixed PDE and Brownian time update steps to be Δt = 0.02, the auxiliary regions have width h = 0.05 and the diffusion constant is D = 0.0025 (unless specified otherwise). We will quantify the qualitative comparisons, presented in this section through density comparison snapshots, in §5. All simulations will comprise only a single species, so henceforth, all sub- or superscripts, k, pertaining to species will be removed.
4.1. Test problem 1: maintaining equilibrium
For the first test problem, we simulate pure diffusion in the form of a simple Brownian motion with reflecting boundary conditions, which has Fokker–Planck equation given by the diffusion PDE and corresponding boundary conditions:
4.1 |
4.2 |
4.3 |
where p0(x) denotes the initial condition. Note that p(x, t) here represents the mean-field solution across the whole domain, whereas c(x, t) represents the PDE solution in ΩP in the hybrid method. We initialize particles uniformly across the computational domain, so that p0(x)≡N/2, where N is the (constant) number of particles in the system. Figure 5 shows that the ARM passes the most basic test by maintaining the steady state without causing an accumulation of mass on either side of the interface. For this test problem, we also include a plot which displays the variance in the density of particles (figure 6). In order to calculate this variance, we have binned the positions of particles on the spatial domain onto a mesh of size ha (the same as the auxiliary region width) and calculated the variance of the density in each bin over a number of identically initialized (up to random allocation of particles in ΩB) repeats. This demonstrates a problem that occurs with all hybrid methods which contain an interface coupling a stochastic to a deterministic region. The variance is damped close to the interface in the stochastic part of the domain, due to the deterministic nature of the solver on the opposite side. Specifically, the PDE effectively has a stochastic boundary condition at the interface, caused by the diffusive jumps between the auxiliary regions. This causes a higher level of variance than would be expected if it was a purely deterministic regime. However, when a particle jumps from the PDE to the Brownian dynamics auxiliary region, because the PDE region is mostly deterministic, it contributes less variance than would be expected than if the stochastic method was employed across the entire domain. There are methods that can be used in order to fix this problem, such as the use of an overlap region (e.g. [36]) and replacing the PDE with an appropriate stochastic PDE (SPDE) (e.g. [42]). This is explored in more detail in the discussion (§6).
4.2. Test problem 2: flux over the interface
The second test problem is a stress test for the interfacial flux. For the PDE part of the hybrid method, we solve the same diffusion equations (4.1)–(4.3) as in §4.1. However, this time we initialize by placing all particles uniformly within the PDE domain, ΩP, which results in
The results from this simulation are displayed in figure 7. As with the uniform initial condition in test problem 1, we see from figure 7 that the hybrid method agrees with the solution of the mean-field model, indicating that the method simulates flux over the interface accurately. We have also tested our hybrid method with all the mass initialized uniformly across ΩB and found a similarly good agreement between the hybrid method and the mean-field solution (figures not shown).
4.3. Test problem 3: morphogen gradient
For the third test problem, we investigate the formation of a morphogen gradient from a uniform initial condition. The gradient is formed by allowing particles to diffuse throughout the domain as well as to degrade at a rate μ. We also have particles entering at the left-hand boundary, x = − 1, at rate Dλ, and a zero-flux condition at x = 1. Thus, the PDE half of the hybrid domain is governed by the mean-field model representing the expected behaviour of the fully Brownian dynamics:
4.4 |
For the corresponding microscopic dynamics, we implement Brownian motion for the diffusion of particles and a time-based method in order to enact the degradation reactions. We note that production of particles is not implemented within the microscopic domain as it occurs at x = − 1. N = 500 particles are initialized uniformly across the whole domain [−1, 1].
As demonstrated in figure 8, the solution of the hybrid method matches that of the corresponding mean-field model, as with the previous two test problems.
4.4. Test problem 4: higher-order systems
For our final test problem, we look at the reaction system
4.5 |
which takes place in a three-dimensional cuboid of volume V , where Ω = (x0, x1) × (y0, y1) × (z0, z1). We further divide this domain by firstly defining the position of the adaptive planar interface I(t)∈(x0, x1) which is to be employed in this test problem (see §4.4.3). In an analogous way to in the one-dimensional case, we then define the now time-dependent PDE and individual-based subdomains, ΩP(t) and ΩB(t), with volumes VP(t) and VB(t), respectively. These subdomains and volumes depend on t due to the adaptive interface position. The interface will move according to the local density profile within the PDE and Brownian dynamics auxiliary regions ΩPA(t) and ΩBA(t), which are explicitly defined to be
and
Before specifying how the interface will move, we will first find a PDE in one dimension that we will use to simulate the deterministic part of our domain. We do this by considering the reaction system (4.5) and forming an ODE in three dimensions. We then include isotropic diffusion to obtain a three-dimensional PDE, and finally impose a constraint on the initial condition to simplify this to a one-dimensional PDE. We then briefly describe the process we use to evolve the individual-level behaviour, before introducing an adaptive interface. We will finish this subsection with the results of some simulations of this system. Note that from now on, we will drop the dependence on t for any of the subdomains, their volumes and the interface position for brevity, unless they are explicitly needed.
4.4.1. PDE model.
We will use the CME for the reaction system in order to derive a PDE that approximates the system (4.5) in ΩP. Let , where A(t) is the number of particles at time t. Then the CME for the evolution of this probability is given by
If we now define the kth central moment , we can multiply the CME by n and sum over all to yield the mean equation:
4.6 |
The ODE (4.6) is currently exact, but depends on the second moment of A. Furthermore, the ODE for every moment of A depends on higher moments still—the system is not closed. In order to close the system, we follow Erban & Chapman [43] and apply Poisson moment closure, which implies the following:
4.7 |
Applying the moment closure (4.7) to the ODE (4.6), and setting c = 〈A〉/VP gives us the closed ODE
Finally, including isotropic diffusion through the usual Laplace operator yields the three-dimensional PDE:
4.8 |
We will enforce an initial condition which is translationally invariant in both the y and z coordinates, which means that the dynamics will remain translationally invariant for all time. As such, c is simply a function of x and t, and the dynamics can be represented by a one-dimensional equivalent of this PDE by implementing zero-flux conditions on all boundaries and using the following transformation:
where Ly = y1 − y0 and similarly for Lz = z1 − z0. This gives the following:
4.9 |
4.4.2. Individual-based formulation.
We now turn our attention to the individual-based system. In order to simulate the three-dimensional individual-based model, we will follow the λ–ρ method [43]. In the context of this system, whenever two particles are within the reaction radius ρ, they react with a probability Pλ, which is a function of the kinetic rate κ1, the time-step Δt, and the diffusion coefficient D. For more information on how Pλ is chosen, we refer the reader to [43]. The zeroth-order reaction is completed by initializing a particle uniformly throughout the individual-based domain ΩB with probability κ2ΔtVB, which we ensure is below 1 by choosing Δt to be sufficiently small.
4.4.3. Adaptive interface.
Test problems 1–3 have been simulated using a static interface. However, this requires a priori knowledge of where the interface should be for all time. When the finer scale modelling regime is required in order to resolve a fixed area of space in more detail (for example, the region around ion channels [12]), the interface position may be known. However, if the purpose of the interface is to split regions of space in which there are high and low particle numbers in situations in which particle numbers change dynamically, a different approach is required. In this case, the interface (or interfaces) need to move with the density of particles to maintain the computational savings they are designed to provide. We now describe a method, adapted from Robinson et al. [29], which allows the interface to move adaptively.
The interface at time t, which we shall denote by I(t), moves according to local particle numbers in the auxiliary regions around it. We set two thresholds βu > βl, and move the interface towards the PDE subdomain if NPA(t) < βl and towards the individual-based subdomain if NBA(t) > βu (borrowing the notation from §3). The two threshold values are designed to prevent the interface from rapidly oscillating between two values, which is a possibility when βu = βl due to the stochastic nature of the system. We enforce that when the interface moves, it moves a distance ha, the width of the auxiliary region, in the chosen direction.
If the interface moves towards the PDE subdomain (i.e. NPA(t) < βl), we convert the PDE auxiliary region into particles, initializing each one uniformly across the new Brownian auxiliary region ΩBA. As NPA(t) is not necessarily an integer, we treat the fractional part (NPA(t) mod 1) to be the probability of initializing one extra particle within the newly formed individual-based region. We then scale the rest of the PDE subdomain to ensure that we conserve mass. During an interface movement towards the individual-based subdomain (i.e. NBA(t) > βu), the Brownian auxiliary region is converted to PDE mass by initializing a density of NBA(t)/ha uniformly across the new PDE auxiliary region, ΩPA, created by moving the interface. For a more detailed description of a similar method, we direct the interested reader to Robinson et al. [29].
4.4.4. Results.
We consider N particles initialized across Ω with a constant negative gradient so that the density of particles at position x1 is equal to zero. This ensures that the interface will move as the dynamics progress. The results can be seen in figure 9, in which the hybrid method has been averaged over S = 1000 repeats. The hybrid density in the case of the moving interface is represented as yellow bars throughout the domain. This is because the interface position changes with each repeat, and so very few regions of space are solely represented by one or the other modelling paradigm over all repeats.
Table 2.
space | experimental | model | |||
---|---|---|---|---|---|
x0 | 0 | D | 0.2 | Δt | 0.01 |
x1 | 10 | κ1 | 0.01 | hp | 0.1 |
y0 | 0 | κ2 | 0.5 | ha | 0.5 |
y1 | 2 | ρ | 0.1 | I0 | 0.5 |
z0 | 0 | N | 200 | ||
z1 | 2 | T | 5 | ||
V | 40 | βu | 9.5 | ||
βl | 4 |
We can see good agreement between the hybrid method and the fully individual-based method throughout the domain, with the only discrepancy close to the left hand boundary at 0 caused by the difference between the PDE- and individual-based methods due to moment closure. We compare our hybrid method to the fully individual-based method here, in contrast to the PDE solution used in test problems 1–3, due to the inaccuracy introduced in the PDE by the moment closure required for the second-order reaction.
5. Error analysis
We have seen in §4 that the solutions provided by the hybrid method visually match the mean-field solution. Within this section, we quantify the difference between the solutions of these test problems. We compare the mass in the PDE and Brownian regions of the domain using the two methods. Separately we compare the density profile across the whole domain using the histogram distance error (HDE). We then proceed to investigate the dependence of the accuracy of the hybrid method on the two free simulation parameters (Δt and ha).
5.1. Quantitative comparisons
In order to evaluate the accuracy of the ARM for test problems 1, 2 and 3, we compare its mean behaviour (averaged over S = 1000 repeat simulations) to the mean-field model for which we compute the analytical solution across the entire domain Ω, for each of our test problems. Figure 10 contains nine plots which demonstrate the error for the first three test problems above; figure 10a–c is for test problem 1, figure 10d–f is for test problem 2 and figure 10g–i for test problem 3. The first and second columns show particle number comparisons between the hybrid and analytical solutions. Specifically, in the first column we compare
5.1 |
the expected number of particles in ΩP in the mean-field model to
5.2 |
the expected number of particles in ΩP in the hybrid method. Here, as before, p(x, t) represents the mean-field PDE solution at position x at time t and cs(x, t) represents the PDE part of the solution in the hybrid method for repeat s of S. Explicitly, we plot (NHP − NMP)/NMP, which shows no bias around zero for any of the three test problems. For completeness, in the second column we also compare
5.3 |
the expected number of particles in ΩB in the mean-field model to
5.4 |
the expected number of particles in ΩB in the hybrid methods. Here, NsHB(t) is the number of particles in the Brownian region of the hybrid method at time t for repeat s of S. Explicitly, we plot (NHB − NMB)/NMB, which again shows no bias around zero for any of the three test problems.
The last column of figure 10 contains the HDE, which is defined by
5.5 |
where ℓ indexes a common mesh on which the solutions are compared. cHℓ(t) is the normalized solution of the hybrid method at mesh point ℓ and time t, and cPℓ(t) is the normalized solution of the mean-field model at the same common mesh point and time, where
This ensures a value of the HDE between 0 and 1. Here, 0 means that the two solutions are exactly the same, and 1 corresponds to the two solutions having non-overlapping supports. All figures were produced using the same number of repeats (S = 1000).
In all cases, the relative errors between the mean-field and hybrid methods, in figure 10, are low with no discernible bias about zero. Similarly, all HDE plots in figure 10 are low for the majority of the simulations. This demonstrates numerically that the hybrid scheme presented in this paper is correctly reproducing the behaviour of the Brownian model in the mean field. These error plots confirm the visual concurrence shown in figures 5–8.
For the fourth test problem, we use a different error measurement due to the disparity between the mean-field PDE and individual-based systems. Consequently, we choose to compare the number of particles in the final compartment for both the hybrid method and the individual-based method (figure 11). We motivate this in two ways. Firstly, using this measure of error, we are able to minimize the influence of the extra error caused by the difference between the mean-field PDE and the individual-based method. Secondly, several biological systems require detailed knowledge of the particle concentrations at the end of the domain. Apical growth of filamentous cells such as fungi [46] is such an example. If we define NH(t) to be the average number of particles in the region (x1 − ha, x1) × (y0, y1) × (z0, z1) (where we recall that Ω = (x0, x1) × (y0, y1) × (z0, z1)), when simulating the hybrid method at time t, and the quantity NM(t) to be the same for the fully microscopic simulation, we can obtain a measurement of error given by
5.6 |
The relative error shows no long-term bias in either direction, and oscillates around zero, indicating a close agreement between our hybrid method and the ground truth individual-based method. The hybrid method completed 1000 repeats in 485.5 s, while the fully individual-based method took 1047.4 s.
5.2. Parameter choice
Within the ARM, there are two free parameters that need to be chosen—the width of the auxiliary regions ha and the time-step for the PDE and Brownian updates Δt. These need to be chosen so that the quantity DΔt/h2a remains small enough that the particle numbers in the auxiliary regions do not become overly equilibrated between PDE/Brownian update steps. That is to say, if there is a gradient across the interface, Δt should be small enough that the closed system of the two auxiliary regions should not reach steady state between PDE/Brownian update steps.
In order to demonstrate why DΔt/h2a must be small, we consider the evolution of particle numbers in the two auxiliary regions between PDE/Brownian update steps. We form an ODE for particle numbers in one of these boxes (using the fact that particle numbers are conserved between PDE/Brownian updates).
Let ν0 be the (constant) number of particles in the two auxiliary regions combined, MP(t), MB(t) be the mean number of particles in the PDE and Brownian auxiliary regions, respectively, at time t, and μP, μB be the number in the PDE and Brownian auxiliary regions, respectively, at time 0, which will represent the beginning of a time-step. Then, the equation for the mean number of particles in the PDE auxiliary region can be calculated from a simple probability master equation as
where we recall that d is the jumping rate between the two auxiliary regions and is linked to the diffusion constant, D, via equation (3.3). Solving this ODE gives
5.7 |
Assuming a small time-step, Δt, we can approximate MP(Δt), the number of particles after a time-step has occurred, by Taylor expanding equation (5.7) to first order:
Fixing the value of D and using equation (3.3), we find that
We require the change in the number of particles over the small time-step to be small, and so would like MP(Δt) ≈ μP. Thus we need to choose our parameters such that the quantity DΔt/h2a small. This elucidates an important relationship between the fixed and free parameters of the model. If the diffusion coefficient is large, then we must choose a small update time-step or a larger auxiliary region length to compensate.
Figure 12 shows that a large region of the Δt–ha space has a very low HDE, meaning that our method is robust to parameter change, and only breaks down once the value of DΔt/h2a becomes very large. The plot also shows that, given any choice of the width of the auxiliary regions, ha, there is a value for the time-step, Δt, which will give a low level of error. Also, depending on our choice of Δt, we can adjust ha to make the simulation more accurate.
6. Discussion
We have presented a new spatially coupled hybrid method for coupling a Brownian dynamics representation of a reaction–diffusion system to its corresponding mean-field PDE description. By bridging the gap in spatial scales with intermediate auxiliary regions, we have produced an algorithm that is not only accurate, but is also robust to the choice of the free parameters within the problem, namely the width of the auxiliary regions, ha, and the fixed time-step, Δt, used to update both the PDE and Brownian dynamics. This is in direct contrast to a previously presented PDE-to-Brownian hybrid, which we demonstrated to be extremely parameter-sensitive. In order to make the ARM even more robust, applicable and efficient, we now discuss several areas for possible extension, which will be addressed in future works.
In the interests of completeness we should point out that, as with the pseudo-compartment method of Yates & Flegg [37], the ARM requires that the mass in the PDE auxiliary region ΩPA be sufficient for a step function, corresponding to the mass of a particle, to be removed uniformly from across the auxiliary region. This will lead to difficulties in situations in which particle numbers are low around the interface. Arguably though, we should not employ such hybrid methods in situations for which particle density is low around the interface as the PDE will be a poor model of the true stochastic, microscopic dynamics in these regions. A possible solution to this inconvenience is the incorporation of an adaptive interface, which we have employed in test problem 4. Such interfaces evolve with the simulation dynamics, ensuring the appropriate model is used for the corresponding particle density [29].
A related issue is that of multiple interfaces. Multiple interfaces will allow the efficient simulation of stochastic reaction–diffusion systems in which multiple regions of high and low concentration are expected. Such patterns will require interfaces to be dynamic in number and transient in nature. Although we have not implemented such interfaces in this work, we expect it to be a relatively straightforward extension. While we have presented an example in which the system is simulated in a cuboid with a planar interface (test problem 4), non-planar interfaces, such as those which have corners or are curved, and complex domain geometries, present deeper challenges that we hope to address in a future publication.
Failing to maintain stochastic variation is a problem which is common among many spatially coupled hybrid methods. As a result of the deterministic nature of the PDE, the noise in the Brownian dynamics region of the domain is damped in comparison to the fully microscopic model (figure 6). In the literature, two approaches have been used in order to rectify this. The first is an overlap region, which has been employed in several papers [36,41,47]. These methods introduce a region of space which lies in the intersection of the two domains. In these regions, mass is simultaneously represented using both scales of description. The second is to replace the deterministic PDE with an appropriately chosen SPDE. Alexander et al. [42] consider such a coupling and demonstrate they can indeed fix the discrepancy by using an SPDE as their continuum macroscale model. We will address the use of both SPDEs and overlap regions (in which the region between the PDE and the Brownian dynamics regions is simulated using a purely compartment-based method) in forthcoming work.
The ARM provides a simple yet accurate method to couple an individual Brownian dynamics representation of a reaction–diffusion system to a corresponding PDE representation. Our hybrid algorithm will be of particular interest to researchers modelling reaction–diffusion systems whose concentrations vary significantly across the spatial domain. By reducing the computational expense of simulations, the ARM will facilitate the investigation of stochastic effects in such systems, in some cases, making the difference between being able to interrogate the system and not. In particular, we suggest that our method will be useful for the investigation of stochastic Turing patterns [48], Fisher waves [30,31], oscillatory dynamics [49] and excitatory dynamics [50] with applications in embryogenesis [4], intracellular dynamics [6] and pattern formation [48] among others. It may also be worthwhile to interface the methods presented here with commonly used Brownian dynamics simulation software packages such as Smoldyn [9].
Supplementary Material
Acknowledgements
C.A.Y. thanks the CMB/CNCB preprint club for their constructive and helpful comments on a preprint of this paper.
Appendix A. Comparing to PDE-assisted Brownian dynamics
Within this section, we apply the same parameter values as used in §2 in order to demonstrate that the ARM can accurately simulate the problem that PDE-assisted Brownian dynamics could not (figure 3). Recall that we use ΩP = ( − 1, 0), ΩB = (0, 1) with the interface placed at I = 0. The only additional parameter that is to be defined is the auxiliary region width, which we set here to be ha = 0.1. The results can be seen in figure 13.
As can be seen from this figure, the agreement between the mean-field and hybrid solutions is much closer than that of the PDE-assisted Brownian dynamics [41]. This indicates an improvement over the previous method. We also present the error plots which are described in §5—namely the relative errors in particle numbers and the HDEs.
Once again, the relative error plots (figure 14a,b) appear to show no long-term bias in either direction and the HDE (figure 14c) is small.
Notes
Throughout this paper, regardless of whether we have interactions between particles or not, we shall refer to models at this microscopic scale as ‘Brownian dynamics’.
However, with the increasing awareness of the importance of randomness, stochastic partial differential equations are also becoming popular macroscopic representations.
Note that the method can be extended to higher dimensions with (hyper-)planar interfaces in a straightforward manner.
Note that this PDE can be simulated using any appropriate numerical solver, including the finite-element method or finite-volume method.
Note that there is no requirement for the PDE and Brownian time-steps to be the same. In many situations, it may be useful to have a significantly finer Brownian time-step than PDE time-step in order to accurately resolve the individual-based dynamics. We employ the same time-step in our simulations for simplicity.
Data accessibility
The accompanying code has been uploaded as part of the electronic supplementary material.
Authors' contributions
C.A.S. and C.A.Y. contributed equally to the production of this paper. C.A.S. performed the simulations and created the figures.
Competing interests
We declare we have no competing interests.
Funding
C.A.S. is supported by a scholarship from the EPSRC Centre for Doctoral Training in Statistical Applied Mathematics at Bath (SAMBa), under the project EP/L015684/1.
References
- 1.Sherratt JA. 2005. An analysis of vegetation stripe formation in semi-arid landscapes. J. Math. Biol. 51, 183–197. ( 10.1007/s00285-005-0319-5) [DOI] [PubMed] [Google Scholar]
- 2.Volpert V, Petrovskii S. 2009. Reaction–diffusion waves in biology. Phys. Life Rev. 6, 267–310. ( 10.1016/j.plrev.2009.10.002) [DOI] [PubMed] [Google Scholar]
- 3.Turing AM. 1952. The chemical basis of morphogenesis. Phil. Trans. R. Soc. Lond. B 237, 37–72. ( 10.1098/rstb.1952.0012) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 4.Mort RL. et al. 2016. Reconciling diverse mammalian pigmentation patterns with a fundamental mathematical model. Nat. Commun. 7, 10288 ( 10.1038/ncomms10288) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 5.Erban R, Flegg MB, Papoian GA. 2014. Multiscale stochastic reaction–diffusion modeling: application to actin dynamics in filopodia. Bull. Math. Biol. 76, 799–818. ( 10.1007/s11538-013-9844-3) [DOI] [PubMed] [Google Scholar]
- 6.Khan S, Zou Y, Amjad A, Gardezi A, Smith CL, Winters C, Reese TS. 2011. Sequestration of CaMKII in dendritic spines in silico. J. Comput. Neurosci. 31, 581–594. ( 10.1007/s10827-011-0323-2) [DOI] [PubMed] [Google Scholar]
- 7.Andasari V, Roper RT, Swat MH, Chaplain MAJ. 2012. Integrating intracellular dynamics using compucell3d and bionetsolver: applications to multiscale modelling of cancer cell growth and invasion. PLoS ONE 7, e33726 ( 10.1371/journal.pone.0033726) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 8.ZhuGe R, Fogarty KE, Tuft RA, Lifshitz LM, Sayar K, Walsh JV. 2000. Dynamics of signaling between Ca2+ sparks and Ca2+-activated K+ channels studied with a novel image-based method for direct intracellular measurement of ryanodine receptor Ca2+ current. J. Gen. Physiol. 116, 845–864. ( 10.1085/jgp.116.6.845) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 9.Andrews SA, Bray D. 2004. Stochastic simulation of chemical reactions with spatial resolution and single molecule detail. Phys. Biol. 1, 137–151. ( 10.1088/1478-3967/1/3/001) [DOI] [PubMed] [Google Scholar]
- 10.Smoluchowski M. 1917. Versuch einer mathematischen theorie der koagulationskinetik kolloider lösungen. Z. Phys. Chem. 92, 9. [Google Scholar]
- 11.van Zon JS, ten Wolde PR. 2005. Green's-function reaction dynamics: a particle-based approach for simulating biochemical networks in time and space. J. Chem. Phys. 123, 234910 ( 10.1063/1.2137716) [DOI] [PubMed] [Google Scholar]
- 12.Dobramysl U, Rüdiger S, Erban R. 2015. Particle-based multiscale modeling of intracellular calcium dynamics. Multiscale Model. Sim. 14, 997–1016. ( 10.1137/15m1015030) [DOI] [Google Scholar]
- 13.English TJ, Hammer DA. 2004. Brownian adhesive dynamics (BRAD) for simulating the receptor-mediated binding of viruses. Biophys. J. 86, 3359–3372. ( 10.1529/biophysj.103.027813) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 14.Moy G, Corry B, Kuyucak S, Chung SH. 2000. Tests of continuum theories as models of ion channels. I. Poisson- Boltzmann theory versus Brownian dynamics. Biophys. J. 78, 2349–2363. ( 10.1016/S0006-3495(00)76780-4) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 15.Holley R. 1971. The motion of a heavy particle in an infinite one dimensional gas of hard spheres. Probab. Theory Rel. 17, 181–219. ( 10.1007/bf00536757) [DOI] [Google Scholar]
- 16.Dürr D, Goldstein S, Lebowitz JL. 1981. A mechanical model of brownian motion. Commun. Math. Phys. 78, 507–530. ( 10.1007/BF02046762) [DOI] [Google Scholar]
- 17.Gillespie DT. 1977. Exact stochastic simulation of coupled chemical reactions. J. Phys. Chem. 81, 2340–2361. ( 10.1021/j100540a008) [DOI] [Google Scholar]
- 18.Gibson MA, Bruck J. 2000. Efficient exact stochastic simulation of chemical systems with many species and many channels. J. Phys. Chem. A 104, 1876–1889. ( 10.1021/jp993732q) [DOI] [Google Scholar]
- 19.Elf J, Ehrenberg M. 2004. Spontaneous separation of bi-stable biochemical systems into spatial domains of opposite phases. Syst. Biol. 1, 230–236. ( 10.1049/sb:20045021) [DOI] [PubMed] [Google Scholar]
- 20.Gillespie DT. 2001. Approximate accelerated stochastic simulation of chemically reacting systems. J. Chem. Phys. 115, 1716–1733. ( 10.1063/1.1378322) [DOI] [Google Scholar]
- 21.Isaacson SA. 2013. A convergent reaction-diffusion master equation. J. Chem. Phys. 139, 054101 ( 10.1063/1.4816377) [DOI] [PubMed] [Google Scholar]
- 22.Smith GD. 1985. Numerical solution of partial differential equations: finite difference methods. Oxford, UK: Oxford University Press. [Google Scholar]
- 23.Morton KW, Mayers DF. 2005. Numerical solution of partial differential equations. Cambridge, UK: Cambridge University Press. [Google Scholar]
- 24.Eymard R, Gallouët T, Herbin R. 2000. Finite volume methods. In Handbook numerical analysis, vol. 7, pp. 713–1018. Amsterdam, The Netherlands: North-Holland ( 10.1016/S1570-8659(00)07005-8) [DOI]
- 25.Brenner SC, Carstensen C. 2004. Finite element methods. In Encyclopedia of computational mechanics, ch. 4. Hoboken, NJ: John Wiley ( 10.1002/0470091355.ecm003) [DOI]
- 26.Markevich NI, Hoek JB, Kholodenko BN. 2004. Signaling switches and bistability arising from multisite phosphorylation in protein kinase cascades. J. Cell Biol. 164, 353–359. ( 10.1083/jcb.200308060) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 27.Black AJ, McKane AJ. 2012. Stochastic formulation of ecological models and their applications. Trends Ecol. Evol. 27, 337–345. ( 10.1016/j.tree.2012.01.014) [DOI] [PubMed] [Google Scholar]
- 28.Gillespie DT, Hellander A, Petzold LR. 2013. Perspective: stochastic algorithms for chemical kinetics. J. Chem. Phys. 138, 170901 ( 10.1063/1.4801941) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 29.Robinson M, Flegg M, Erban R. 2014. Adaptive two-regime method: application to front propagation. J. Chem. Phys. 140, 124109 ( 10.1063/1.4868652) [DOI] [PubMed] [Google Scholar]
- 30.Breuer H-P, Huber W, Petruccione F. 1995. The macroscopic limit in a stochastic reaction-diffusion process. Europhys. Lett. 30, 69–74. ( 10.1209/0295-5075/30/2/002) [DOI] [Google Scholar]
- 31.Breuer H-P, Huber W, Petruccione F. 1994. Fluctuation effects on wave propagation in a reaction-diffusion process. Phys. D 73, 259–273. ( 10.1016/0167-2789(94)90161-9) [DOI] [Google Scholar]
- 32.Robinson M, Luo C, Farrell PE, Erban R, Majumdar A. 2017. From molecular to continuum modelling of bistable liquid crystal devices. Liq. Cryst. 44, 2267–2284. ( 10.1080/02678292.2017.1290284) [DOI] [Google Scholar]
- 33.Smith CA, Yates CA. 2018. Spatially extended hybrid methods: a review. J. R. Soc. Interface 15, 20170931 ( 10.1098/rsif.2017.0931) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 34.Wagner G, Flekkøy EG. 2004. Hybrid computations with flux exchange. Phil. Trans. R. Soc. A 362, 1655–1666. ( 10.1098/rsta.2004.1405) [DOI] [PubMed] [Google Scholar]
- 35.Moro E. 2004. Hybrid method for simulating front propagation in reaction-diffusion systems. Phys. Rev. E 69, 060101 ( 10.1103/PhysRevE.69.060101) [DOI] [PubMed] [Google Scholar]
- 36.Harrison JU, Yates CA. 2016. A hybrid algorithm for coupling PDE and compartment-based dynamics. J. R. Soc. Interface 13, 20160335 ( 10.1098/rsif.2016.0335) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 37.Yates CA, Flegg MB. 2015. The pseudo-compartment method for coupling partial differential equation and compartment-based models of diffusion. J. R. Soc. Interface 12, 20150141 ( 10.1098/rsif.2015.0141) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 38.Flegg MB, Hellander S, Erban R. 2015. Convergence of methods for coupling of microscopic and mesoscopic reaction-diffusion simulations. J. Comput. Phys. 289, 1–17. ( 10.1016/j.jcp.2015.01.030) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 39.Flegg MB, Chapman SJ, Erban R. 2012. The two-regime method for optimizing stochastic reaction–diffusion simulations. J. R. Soc. Interface 9, 859–868. ( 10.1098/rsif.2011.0574) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 40.Flegg MB, Chapman SJ, Zheng L, Erban R. 2014. Analysis of the two-regime method on square meshes. (SIAM) J. Sci. Comput. 36, B561–B588. ( 10.1137/130915844) [DOI] [Google Scholar]
- 41.Franz B, Flegg MB, Chapman SJ, Erban R. 2013. Multiscale reaction-diffusion algorithms: PDE-assisted Brownian dynamics. SIAM J. Appl. Math. 73, 1224–1247. ( 10.1137/120882469) [DOI] [Google Scholar]
- 42.Alexander FJ, Garcia AL, Tartakovsky DM. 2002. Algorithm refinement for stochastic partial differential equations: I. Linear diffusion. J. Comput. Phys. 182, 47–66. ( 10.1006/jcph.2002.7149) [DOI] [Google Scholar]
- 43.Erban R, Chapman SJ. 2009. Stochastic modelling of reaction–diffusion processes: algorithms for bimolecular reactions. Phys. Biol. 6, 046001 ( 10.1088/1478-3975/6/4/046001) [DOI] [PubMed] [Google Scholar]
- 44.Lipková J, Zygalakis KC, Chapman SJ, Erban R. 2011. Analysis of brownian dynamics simulations of reversible bimolecular reactions. SIAM J. Appl. Math. 71, 714–730. ( 10.1137/100794213) [DOI] [Google Scholar]
- 45.Doi M. 1976. Stochastic theory of diffusion-controlled reaction. J. Phys. A.-Math. Gen. 9, 1479–1495. ( 10.1088/0305-4470/9/9/009) [DOI] [Google Scholar]
- 46.Goriely A, Tabor M. 2008. Mathematical modeling of hyphal tip growth. Fungal Biol. Rev. 22, 77–83. ( 10.1016/j.fbr.2008.05.001) [DOI] [Google Scholar]
- 47.Flekkøy EG, Feder J, Wagner G. 2001. Coupling particles and fields in a diffusive hybrid model. Phys. Rev. E 64, 066302 ( 10.1103/PhysRevE.64.066302) [DOI] [PubMed] [Google Scholar]
- 48.Flegg MB. 2016. Smoluchowski reaction kinetics for reactions of any order. SIAM J. Appl. Math. 76, 1403–1432. ( 10.1137/15M1030509) [DOI] [Google Scholar]
- 49.Hoffmann M, Schwarz US. 2014. Oscillations of min-proteins in micropatterned environments: a three-dimensional particle-based stochastic simulation approach. Soft Matter 10, 2388–2396. ( 10.1039/C3SM52251B) [DOI] [PubMed] [Google Scholar]
- 50.Gerisch G, Ecke M, Neujahr R, Prassler J, Stengl A, Hoffmann M, Schwarz US, Neumann E. 2013. Membrane and actin reorganization in electropulse-induced cell fusion. J. Cell Sci. 126, 2069–2078. ( 10.1242/jcs.124073) [DOI] [PubMed] [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Supplementary Materials
Data Availability Statement
The accompanying code has been uploaded as part of the electronic supplementary material.