Commits

yl2501 committed 603205d Merge

merge heads

Comments (0)

Files changed (1)

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