From dc86bc23dbff156de228cdf6b2f1e5835552b2ed Mon Sep 17 00:00:00 2001 From: James McClure Date: Sun, 4 Apr 2021 20:30:01 -0400 Subject: [PATCH] only write debug in development mode --- tests/lbpm_color_simulator.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/lbpm_color_simulator.cpp b/tests/lbpm_color_simulator.cpp index d62bef0f..ac76c3d6 100644 --- a/tests/lbpm_color_simulator.cpp +++ b/tests/lbpm_color_simulator.cpp @@ -84,12 +84,11 @@ int main( int argc, char **argv ) Adapt.MoveInterface(ColorModel); } + ColorModel.WriteDebug(); } //Analysis.WriteVis(LeeModel,LeeModel.db, timestep); else - ColorModel.Run(); - - ColorModel.WriteDebug(); + ColorModel.Run(); PROFILE_STOP( "Main" ); auto file = db->getWithDefault( "TimerFile", "lbpm_color_simulator" );