Skip to content

Commit

Permalink
Forgot to read photon source creation time.
Browse files Browse the repository at this point in the history
--HG--
branch : week-of-code
  • Loading branch information
John Wise committed Oct 9, 2009
1 parent ad26b89 commit 9d1c097
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/enzo/ReadPhotonSources.C
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,9 @@ int ReadPhotonSources(FILE *fptr, FLOAT CurrentTime)
if (sscanf(line, "PhotonTestSourceLuminosity[%"ISYM"]", &source) > 0)
ret += sscanf(line, "PhotonTestSourceLuminosity[%"ISYM"] = %lf", &source,
&PhotonTestSourceLuminosity[source]);
if (sscanf(line, "PhotonTestSourceCreationTime[%"ISYM"]", &source) > 0)
ret += sscanf(line, "PhotonTestSourceCreationTime[%"ISYM"] = %"FSYM, &source,
&PhotonTestSourceCreationTime[source]);
if (sscanf(line, "PhotonTestSourceLifeTime[%"ISYM"]", &source) > 0)
ret += sscanf(line, "PhotonTestSourceLifeTime[%"ISYM"] = %"FSYM, &source,
&PhotonTestSourceLifeTime[source]);
Expand Down

0 comments on commit 9d1c097

Please sign in to comment.