1. The Enzo Project
  2. Untitled project
  3. enzo-dev

Commits

yl2501  committed 4adbc97

change DetermineSubgridSizeExtrema.C back to merge

  • Participants
  • Parent commits c38b44e
  • Branches week-of-code

Comments (0)

Files changed (1)

File src/enzo/DetermineSubgridSizeExtrema.C

View file
  • Ignore whitespace
 #include "LevelHierarchy.h"
 #include "CommunicationUtilities.h"
 
-#define MINIMUM_EDGE 4
-#define MINIMUM_SIZE 2000
+//Minimum values to be used:
+
+#define MINIMUM_EDGE 2
+#define MINIMUM_SIZE 64
 
 // Default values to be used, if no good estimate is availabke:
 
 
   /* Now determine subgrid size parameters */
 
-  int grids_per_proc = (level > MaximumStaticSubgridLevel) ?
-    OptimalSubgridsPerProcessor : 8;
+  int grids_per_proc = OptimalSubgridsPerProcessor;
 
   MaximumSubgridSize = NumberOfCells / 
     (NumberOfProcessors * grids_per_proc);