Copy an existing example folder to the same directory.
Rename the name of the folder
Rename the Fortran file in src folder
Note that the examples are able to be nested. In order to do this, in Linux, you need to add an EXAMPLE_PATH in the Makefile e.g., EXAMPLE_PATH=Bioelectrics/ for the Monodomain example. For the Visual Studio files it is best to edit the Fortran.vfproj files to ensure the library paths and object paths are correct.
Change the source code for the new example
Documenting the example
Add a Doxygen entry into the example source file using an example tag and including the path from examples directory.
Add an entry into the example source file using an htmlinclude tag to include the file generated when testing the example, e.g.