#2418: have DECLARE_CCTK_ARGUMENTS_CHECKED hide cctkGH members that do not exist in LEVEL mode etc.
| Reporter: | Roland Haas |
| Status: | new |
| Milestone: | |
| Version: | |
| Type: | enhancement |
| Priority: | minor |
| Component: |
Certain cctkGH members (eg nghostzones) do not contain useful values in all modes, eg not in LEVEL mode. This causes problems every once in a while, eg: #2288.
Using the CHECKED macros we can actually avoid defining C / Fortran variables for those members when a scheduled functions is scheduled only in a given mode and turn a runtime error into a compile time error.
--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2418/have-declare_cctk_arguments_checked-hide