xavierdechamps / Shallow_water_FV

Solve the 2D shallow water equations with a finite volume method based on a Q-scheme
10 stars 1 forks source link

Make the Gnuplot window optional #4

Closed xavierdechamps closed 2 years ago

xavierdechamps commented 2 years ago

Make the Gnuplot window optional in the CMake configuration file. If the user does not have Gnuplot, then he deactivate it in the configuration file and the computation will only print the errors in the terminal.

xavierdechamps commented 2 years ago

This has been implemented in commit 7f2a2c4040f12178af7d87355ab8e19871780836. The user can specify whether he has Gnuplot installed or not by modifying the following lines in CMake.config: set ( Have_Gnuplot ON CACHE BOOL "Do you have Gnuplot?" ) The executable gnuplot must be directly callable from the terminal (and thus available in the environment variable PATH).