octue / es-flow

Atmospheric and marine flow characterisation tools.
Other
3 stars 0 forks source link

Only create check plots in debug mode #62

Open thclark opened 5 years ago

thclark commented 5 years ago

Lots of check plots are created at each step. The disk i/o massively slows everything down. We don't want to throw away the check code, as it's extremely useful for debugging, but we don't want it in our final executable. Add IFDEFs around all the check plot code so that it gets compiled out except where explicitly required.