To build the project in release mode, run the following commands:
./build.shThis script will create a build directory, run CMake with the Release build type, and build the project.
The precision could be set with -DPRECISION=float, or simply use the shell script
./build_float.shThis script will create a build_float directory, run CMake with the Release build type, and build the project.
To build the project in debug mode, run the following commands:
./build_debug.shThis script will create a build_debug directory, run CMake with the Debug build type, and build the project.
To run the tests, follow these steps:
- Build the project (either in release or debug mode).
- Navigate to the
build/testsdirectory. - Run the test executable
./testsor with ctest:
ctest --output-on-failureThe tests will be executed, and the results will be displayed in the terminal.
The parameter file examples are stored in examples/, it should be self-explanatory.
The string function is parsed with C++ Mathematical Expression Toolkit Library exprtk.
This project uses the following dependencies:
The dependencies are automatically fetched and built using CMake.
This project is licensed under the MIT License. See the LICENSE file for details.