Skip to content

Commit

Permalink
Move TS number print (#2228)
Browse files Browse the repository at this point in the history
Purpose : moving the code that prints the TS numbers on disk : due to
recent changes it was moved after the loop through MC years. So, we have
to wait until simulation ends to know which TS numbers where drawn. So
we move that code back.
  • Loading branch information
guilpier-code authored Jul 3, 2024
1 parent df49f62 commit 977b48e
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,9 @@ void ISimulation<ImplementationType>::run()
}
else
{
// Export ts-numbers into output
TimeSeriesNumbers::StoreTimeSeriesNumbersIntoOuput(study, pResultWriter);

if (not ImplementationType::simulationBegin())
{
return;
Expand Down Expand Up @@ -349,9 +352,6 @@ void ISimulation<ImplementationType>::run()

ImplementationType::variables.simulationEnd();

// Export ts-numbers into output
TimeSeriesNumbers::StoreTimeSeriesNumbersIntoOuput(study, pResultWriter);

// Spatial clusters
// Notifying all variables to perform the final spatial clusters.
// This must be done only when all variables have finished to compute their
Expand Down

0 comments on commit 977b48e

Please sign in to comment.