Chaste Tutorials

Before you start

If you are viewing this on the Chaste wiki, the tutorials here are automatically updated to work with the latest development version of Chaste. They are not guaranteed to work with any release version, in fact they are unlikely to! If you are working with a release version of the code then this page is archived upon releases; the tutorials corresponding to each release version of Chaste can be found at https://chaste.github.io/releases/

The basics

These tutorials assume prior knowledge or understanding of various C++ language features and some libraries, including (at least): std::vectors, c_vectors, and object-oriented inheritance including abstract classes and virtual methods.

If you don't know anything about these we recommend a first course in C++, there are plenty online (here is one from cplusplus.com). There is also a Scientific Computing in C++ book by some of our team available too.

To run any of these tutorials, call

scons test_suite=<NAME_OF_TUTORIAL_FILE>

from the main chaste directory, e.g.

scons test_suite=ode/test/TestSolvingOdesTutorial.hpp

To do this, either call this from the command line, or create a new 'Make Target' in Eclipse, with the above command as the 'Build command'


Core functionality

Solving ODEs

Solving PDEs

Writing new PDE solvers (advanced)

Solid Mechanics


Cardiac Chaste

For executable users:

Source code users:

See also cardiac Chaste practical for details of a practical we have used to teach cardiac Chaste.


Cell-based Chaste

Where to start with cell-based simulations:

Running basic simulations:

Running crypt-specific simulations:

More advanced examples:

Adding new functionality:

See also cell-based Chaste practical for details of a practical we have used to teach cell-based Chaste.


Automatically generated alphabetical listing