Fix README.md usage instructions

This commit is contained in:
Andreas Tsouchlos 2025-02-26 00:32:59 +01:00
parent 9880cf6655
commit d50bf46b22

View File

@ -17,7 +17,7 @@ are dedicated examples.
```bash
$ python python/examples/toy_homotopy.py -o temp.csv
$ python scripts/plot_solution_curve.py -i temp.csv
$ python scripts/plot_solution_curve.py -i temp.csv -p 3d
```
## Use C++ Code
@ -27,8 +27,8 @@ $ python scripts/plot_solution_curve.py -i temp.csv
```bash
$ cmake -B build -S cpp
$ cmake --build build
$ ./build/toy_example_cpp/toy_example -o temp.csv
$ python scripts/plot_solution_curve.py -i temp.csv
$ ./build/examples/toy_homotopy/toy_homotopy -o temp.csv
$ python scripts/plot_solution_curve.py -i temp.csv -p 3d
```
#### In Docker Container
@ -37,6 +37,6 @@ $ python scripts/plot_solution_curve.py -i temp.csv
$ docker build . -t hccd
$ docker run --rm -it -u `id -u`:`id -g` -v $PWD:$PWD -w $PWD hccd cmake -B build -S cpp
$ docker run --rm -it -u `id -u`:`id -g` -v $PWD:$PWD -w $PWD hccd cmake --build build
$ docker run --rm -it -u `id -u`:`id -g` -v $PWD:$PWD -w $PWD hccd ./build/toy_example_cpp/toy_example -o temp.csv
$ python scripts/plot_solution_curve.py -i temp.csv
$ docker run --rm -it -u `id -u`:`id -g` -v $PWD:$PWD -w $PWD hccd ./build/examples/toy_homotopy/toy_homotopy -o temp.csv
$ python scripts/plot_solution_curve.py -i temp.csv -p 3d
```