#1901: provde aliased functions to query if a reflevel is due for update -------------------------+-------------------------------------------------- Reporter: rhaas | Owner: eschnett Type: enhancement | Status: new Priority: optional | Milestone: Component: Carpet | Version: development version Keywords: | -------------------------+-------------------------------------------------- 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.
#1901: provde aliased functions to query if a reflevel is due for update --------------------------+------------------------------------------------- Reporter: rhaas | Owner: eschnett Type: enhancement | Status: new Priority: optional | Milestone: Component: Carpet | Version: development version Resolution: | Keywords: --------------------------+-------------------------------------------------
Comment (by eschnett):
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.
trac@lists.einsteintoolkit.org