Commits

Greg Bryan committed 16f3c7f

Correct comparison in comment

Comments (0)

Files changed (1)

src/enzo/Grid_DepositParticlePositions.C

       }
 
       /* Deposit sink particles (only) to field using CIC or NGP. 
-         (only use NGP if cellsize < cloudsize - i.e. source is subgrid) */
+         (only use NGP if cellsize > cloudsize - i.e. source is subgrid) */
 
       if (ParticleSubgridDepositMode == NGP_DEPOSIT && CellSize > 1.5*CloudSize) {
 	PFORTRAN_NAME(ngp_deposit)(
       //  fprintf(stderr, "------DP Call Fortran cic_deposit with CellSize = %"GSYM"\n", CellSize);
  
       /* Deposit sink particles (only) to field using CIC or NGP. 
-         (only use NGP if cellsize < cloudsize - i.e. source is subgrid) */
+         (only use NGP if cellsize > cloudsize - i.e. source is subgrid) */
 
       if (ParticleSubgridDepositMode == NGP_DEPOSIT && CellSize > 1.5*CloudSize) {
 	PFORTRAN_NAME(ngp_deposit)