Skip to content

Commit

Permalink
remove some debugging printf's
Browse files Browse the repository at this point in the history
--HG--
branch : week-of-code
  • Loading branch information
tabel committed Oct 11, 2009
1 parent 5f10ffe commit 64be9f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/enzo/Grid_DepositBaryons.C
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ int grid::DepositBaryons(grid *TargetGrid, FLOAT DepositTime)
input_density = av_dens;
}

printf("DepositBaryons, %i\n", RK2SecondStepBaryonDeposit);
// printf("DepositBaryons, %i\n", RK2SecondStepBaryonDeposit);

FORTRAN_NAME(dep_grid_cic)(input_density, dens_field, vel_field,
input_velx, input_vely, input_velz,
Expand Down
3 changes: 1 addition & 2 deletions src/enzo/hydro_rk/EvolveLevel_RK2.C
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,6 @@ int EvolveLevel_RK2(TopGridData *MetaData, LevelHierarchyEntry *LevelArray[],
RadiativeTransferPrepare(LevelArray, level, MetaData, AllStars, dtLevelAbove);
#endif /* TRANSFER */


/* For each grid, compute the number of it's subgrids. */

for (grid1 = 0; grid1 < NumberOfGrids; grid1++) {
Expand Down Expand Up @@ -444,7 +443,7 @@ int EvolveLevel_RK2(TopGridData *MetaData, LevelHierarchyEntry *LevelArray[],
// this also does the particles again at the moment so could be made more efficient.

RK2SecondStepBaryonDeposit = 0; // set this to (0/1) to (not use/use) this extra step
printf("SECOND STEP\n");
// printf("SECOND STEP\n");
if (RK2SecondStepBaryonDeposit & SelfGravity && UseHydro) {
When = 0.5;
#ifdef FAST_SIB
Expand Down

0 comments on commit 64be9f1

Please sign in to comment.