WarpX icon indicating copy to clipboard operation
WarpX copied to clipboard

Diagnostics: Time-Averaged Fields

Open ax3l opened this issue 1 year ago • 3 comments

For LPI simulations, we would like a diagnostics that time-averages (over N subsequent steps) the output fields.

This is relatively easy to implement if we enforce the assumption that the output period P is greater than the averaging period N. For many simulations, that is sufficient and true.

ax3l avatar Aug 22 '24 21:08 ax3l

@ax3l why would we need to enforce this assumption? I would think we could do it more generally?

RevathiJambunathan avatar Aug 27 '24 20:08 RevathiJambunathan

@RevathiJambunathan because otherwise we will have run-away memory consumption (and more book keeping).

As an update, we clarified in the last meetings (AMP and KISMET) with the current sciences cases in our projects that this assumption works very well for everyone that requested this feature.

ax3l avatar Aug 29 '24 20:08 ax3l

But we can have a running average being written out often - it will not consume more memory. We can chat during the hackathon

RevathiJambunathan avatar Sep 12 '24 18:09 RevathiJambunathan