The solution represented by TimeAveragingMCWF_Trajectory should be moved to Averageable trajectory to make it much more general. That is, Averageable should define a virtual returning an Array<double,1>, which it averages and displays at the end (within the logOnEnd function). The time averaging state can also be saved/loaded by Averageable, just like presently in TimeAveragingMCWF_Trajectory.
Then, this array can simply be provided by calling Average::average by trajectrories like MCWF, Master, EnsembleMCWF. (In fact, it can be the very same as is already calculated for display.)
Last edit: Vukics, András 2014-01-06
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
As of #266, a new class TimeAveragingMCWF_Trajectory provides this functionality for MCWF trajectories.
The solution represented by TimeAveragingMCWF_Trajectory should be moved to Averageable trajectory to make it much more general. That is, Averageable should define a virtual returning an Array<double,1>, which it averages and displays at the end (within the logOnEnd function). The time averaging state can also be saved/loaded by Averageable, just like presently in TimeAveragingMCWF_Trajectory.
Then, this array can simply be provided by calling Average::average by trajectrories like MCWF, Master, EnsembleMCWF. (In fact, it can be the very same as is already calculated for display.)
Last edit: Vukics, András 2014-01-06