Commits

Anonymous committed f5542e0

Write Output when dt is too short.

  • Participants
  • Parent commits 76a77b6

Comments (0)

Files changed (1)

File src/enzo/OutputFromEvolveLevel.C

       ExitEnzo = TRUE;
       WriteOutput = TRUE;
     }
+    /* If dt is too short, write an output. */
+
+    if (LevelArray[level]->GridData->ReturnTimeStep() <= 1.0e-10) {
+      printf("dt is too short!");
+      ExitEnzo = TRUE;
+      WriteOutput = TRUE;
+    }
+
 
   }//Finest Level