ChasteGuides/StructureOfCellBasedSimulations

Structure of cell-based simulations in Chaste

This wiki page is intended for new cell-based Chaste users/developers and was written as part of the 2012 Chaste cell-based modelling workshop to summarize the structure of cell-based simulations in Chaste. For information, see the technical Chaste papers (details available at the Chaste public  website).

Initialization

In order to set up a simulation object, we first need to do the following:

The Solve() method

The actual simulation of a cell-based model is implemented by calling the method Solve() on a subclass of AbstractCellBasedSimulation. This method comprises a number of steps, which we summarize below:

Initialization: begin by setting up the simulation via the following steps:

Main time loop: while not yet at the end time, and as long as no stopping event has occurred, simulate the cell population via the following steps.

Post-processing: after leaving the main time loop, tidy up via the following steps.

Further details on how to visualize the results of cell-based simulations are available here.

File format information is given in the file docs/FileFormats.html, supplied with the release. (The latest version of this file may also be viewed here - click on the 'download in original format' link at the bottom of the page).