Chaste: Incorporating a Novel Multiscale Spatial and Temporal Algorithm into a Large Scale Open Source Library
M.O. Bernabeu‚ R. Bordas‚ P. Pathmanathan‚ J. Pitt−Francis‚ J. Cooper‚ A. Garny‚ D.J. Gavaghan‚ B. Rodriguez‚ J.A. Southern and J.P. Whiteley
Abstract
Recent work has described the software engineering and computational infrastructure that has been set up as part of the Cancer, Heart and Soft Tissue Environment (Chaste) project. Chaste is an open source software package that currently has heart and cancer modelling functionality. This software has been written using a programming paradigm imported from the commercial sector and has resulted in a code that has been subject to a far more rigorous testing procedure than that is usual in this field. In this paper, we explain how new functionality may be incorporated into Chaste. Whiteley has developed a numerical algorithm for solving the bidomain equations that uses the multi-scale (MS) nature of the physiology modelled to enhance computational efficiency. Using a simple geometry in two dimensions and a purpose-built code, this algorithm was reported to give an increase in computational efficiency of more than two orders of magnitude. In this paper, we begin by reviewing numerical methods currently in use for solving the bidomain equations, explaining how these methods may be developed to use the MS algorithm discussed above. We then demonstrate the use of this algorithm within the Chaste framework for solving the monodomain and bidomain equations in a three-dimensional realistic heart geometry. Finally, we discuss how Chaste may be developed to include new physiological functionality—such as modelling a beating heart and fluid flow in the heart—and how new algorithms aimed at increasing the efficiency of the code may be incorporated.