diff options
Diffstat (limited to 'Carpet/Carpet/interface.ccl')
-rw-r--r-- | Carpet/Carpet/interface.ccl | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Carpet/Carpet/interface.ccl b/Carpet/Carpet/interface.ccl index d2f7f5643..8ae894985 100644 --- a/Carpet/Carpet/interface.ccl +++ b/Carpet/Carpet/interface.ccl @@ -319,6 +319,28 @@ PROVIDES FUNCTION VarDataPtrI \ LANGUAGE C +# programmatically check a reads clause +void FUNCTION \ + Requirements_CheckReads \ + (CCTK_POINTER_TO_CONST IN cctkGH, \ + CCTK_INT IN numvars, \ + CCTK_INT ARRAY IN varidx, \ + CCTK_STRING IN reads) +PROVIDES FUNCTION Requirements_CheckReads \ + WITH Carpet_Requirements_CheckReads \ + LANGUAGE C + +# programmatically record a writes clause +void FUNCTION \ + Requirements_NotifyWrites \ + (CCTK_POINTER_TO_CONST IN cctkGH, \ + CCTK_INT IN numvars, \ + CCTK_INT ARRAY IN varidx, \ + CCTK_STRING IN reads) +PROVIDES FUNCTION Requirements_NotifyWrites \ + WITH Carpet_Requirements_NotifyWrites \ + LANGUAGE C + # The true prototype of the routine below: # int Carpet_Regrid (const cGH * cctkGH, |