From 70dadec2bd54459ea30e3a4c9e09d3ca40a92b23 Mon Sep 17 00:00:00 2001 From: Mukul Dave Date: Fri, 9 Feb 2024 11:21:44 -0800 Subject: [PATCH] remove plot/checkfile writing at the end of Evolve_MB that creates extraneous files --- Source/ERF.cpp | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/Source/ERF.cpp b/Source/ERF.cpp index 86e622f3c..25b53aeca 100644 --- a/Source/ERF.cpp +++ b/Source/ERF.cpp @@ -1734,27 +1734,5 @@ ERF::Evolve_MB (int MBstep, int max_block_step) if (cur_time >= stop_time - 1.e-6*dt[0]) break; } -/* I don't think we need these for the multiblock Evolve -** Results in extraneous plot/checkpoint files - - if (plot_int_1 > 0 && istep[0] > last_plot_file_step_1) { - WritePlotFile(1,plot_var_names_1); - } - if (plot_int_2 > 0 && istep[0] > last_plot_file_step_2) { - WritePlotFile(2,plot_var_names_2); - } - - if (check_int > 0 && istep[0] > last_check_file_step) { -#ifdef ERF_USE_NETCDF - if (check_type == "netcdf") { - WriteNCCheckpointFile(); - } -#endif - if (check_type == "native") { - WriteCheckpointFile(); - } - } -*/ - } #endif