Examples - cmyoo/cosmos GitHub Wiki

How to run an example

We explain how to run an example for the case of Evolution of a single mode perturbation.

1. Making Project Directory

The second step is to make your own project by utilizing the attached script "makecosmos.sh":

./makecosmos.sh

Then you see

Typing, e.g., sample_pert, /sample_pert directory is generated, and you are ready to run the sample code.

2. Compiling and Running the Code

The last step is to move to the /sample_pert directory as cd sample_pert, do make there, and run the executable output as ./cosmos. This starts the numerical relativity simulation for a single-mode perturbation described here.

Non-trivial examples