Commits

Nathan Goldbaum committed edf483c

Turning on subgrid angular momentum limiting.

  • Participants
  • Parent commits f7122c4

Comments (0)

Files changed (1)

File src/enzo/grid/particles/Grid_AccreteOntoAccretingParticle.C

 	     NDIV^2 subcells and estimate the reduction assuming
 	     ballistic orbits. See the discussion near Eqn 15. */
 	  
-	  /*	  excluded = 0;
+	  excluded = 0;
 	  for (ksub = 0; ksub < NDIV-1; ksub++) {
 	    zdist = CellLeftEdge[2][k] + CellWidth[2][k]*(float(ksub)+0.5)/NDIV - ParticlePosition[2];
 	    for (jsub = 0; jsub < NDIV-1; jsub++) {
 	  // Scale down maccrete
 	  maccreted = maccreted/POW(NDIV,3) *
 	    (POW(NDIV,3)-excluded);
-	    
-	  */  // Commenting this block out for debugging purposes.
 
 	  /* Don't worry about conserving angular momentum if we're
 	     accreting no mass from the cell or if we are accreting