- removed comment
provde aliased functions to query if a reflevel is due for update
Issue #1901
new
Carpet decides on whether a routine executes on a given reflevel at a given iteration by computing cctk_iteration%do_every
or (cctk_iteration-1)%do_every
depending on whether one is in EVOL or ANALYSIS. It would be good to provide helper functions for user thorns that do this computation taking the bin into account.
Keyword:
Comments (1)
-
- Log in to comment
It would also be good to have a function to see whether the POSTRESTRICT bin will be executed for the current level at the current iteration. Certain calculations are necessary in POSTRESTRICT, and could be skipped in the earlier POSTSTEP if POSTRESTRICT will be executed.
An example would be calculating a pointwise analysis quantity.