From orch
Jump to: navigation, search

The repertory "tools" contains the definition of generic useful functions in the tools file :

- give_random_number_from_0_to_1, uses the rand function to return a random number between 0 and 1.

- compare_numbers compares two given numbers in input, returns 0 if the numbers are equal, 1 if the first one is higher, -1 otherwise.

- print_to_screen_with_newline is used to control what is displayed during the runs regarding the level of debug.

It also contains the gnuplot file for the definition of the automated generating graph function gnuplot. This function generates at each step the makeTest.gnu and the associated graphs (in .eps) of reference compared to reduced trajectories of the species the user wants to plot (defined in the condition.cpp),