Skip to content

Commit

Permalink
Made rest of TopGrid print out go to stderr.
Browse files Browse the repository at this point in the history
--HG--
branch : week-of-code
  • Loading branch information
brittonsmith committed Feb 24, 2011
1 parent 0d1b882 commit 87de0e5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/enzo/EvolveHierarchy.C
Original file line number Diff line number Diff line change
Expand Up @@ -454,15 +454,15 @@ int EvolveHierarchy(HierarchyEntry &TopGrid, TopGridData &MetaData,
#endif

if (MyProcessorNumber == ROOT_PROCESSOR) {
fprintf(stderr,"TopGrid dt = %"ESYM" time = %"GOUTSYM" cycle = %"ISYM,
fprintf(stderr, "TopGrid dt = %"ESYM" time = %"GOUTSYM" cycle = %"ISYM,
dt, MetaData.Time, MetaData.CycleNumber);

if (ComovingCoordinates) {
FLOAT a, dadt;
CosmologyComputeExpansionFactor(MetaData.Time, &a, &dadt);
printf(" z = %"GOUTSYM, (1 + InitialRedshift)/a - 1);
fprintf(stderr, " z = %"GOUTSYM, (1 + InitialRedshift)/a - 1);
}
printf("\n");
fprintf(stderr, "\n");
}
//}

Expand Down

0 comments on commit 87de0e5

Please sign in to comment.