Uses cmake to compile. To compile/build the project:
- Create build directory in project root
mkdir build
- Generate build system
cmake -S . -B build
- Build / compile
cmake --build build
- Then to run the simulation
./build/src/main default.param
- add parameter to the
parameters
struct in common/common.h. - add entry to the
p_list
array inparameters_to_read()
in common/read_parameter_file.cpp - add parameter to parameter file.