awslabs / palace

3D finite element solver for computational electromagnetics
https://awslabs.github.io/palace/dev
Apache License 2.0
224 stars 50 forks source link

Record timing for each stage of AMR #212

Closed hughcars closed 3 months ago

hughcars commented 3 months ago

AMR users often want to know how long a simulation takes not only for the whole, but also for each iteration. This is particularly helpful when running AMR simulations that might terminate due to running out of memory etc. where the final timing data will not be reported. This PR adds timing printing to the log, and recording of the meta data file, to each AMR loop in addition to the final print.