provde aliased functions to query if a reflevel is due for update

Create issue
Issue #1901 new
Roland Haas created an issue

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)

  1. Erik Schnetter
    • removed 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.

  2. Log in to comment