diff options
author | Erik Schnetter <schnetter@cct.lsu.edu> | 2008-10-07 12:25:09 -0500 |
---|---|---|
committer | Erik Schnetter <schnetter@cct.lsu.edu> | 2008-10-07 12:25:09 -0500 |
commit | 7dd9186991d1d90532e0e86e6d1dd583820efeac (patch) | |
tree | ec56271b58fd0005f0cfb5c8f64f869e010a1389 /Carpet/Carpet/interface.ccl | |
parent | d6e4a84facdcb14cc95c8690660579ab72c925fa (diff) |
Carpet: Pass more arguments to schedule wrapper functions
Diffstat (limited to 'Carpet/Carpet/interface.ccl')
-rw-r--r-- | Carpet/Carpet/interface.ccl | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/Carpet/Carpet/interface.ccl b/Carpet/Carpet/interface.ccl index cee9c1075..87c44e941 100644 --- a/Carpet/Carpet/interface.ccl +++ b/Carpet/Carpet/interface.ccl @@ -45,12 +45,24 @@ PROVIDES FUNCTION GetMPICommWorld WITH Carpet_GetMPICommWorld LANGUAGE C # every scheduled routine CCTK_INT \ FUNCTION RegisterScheduleWrapper \ - (CCTK_INT IN CCTK_FPOINTER func_before (CCTK_POINTER_TO_CONST IN cctkGH), \ - CCTK_INT IN CCTK_FPOINTER func_after (CCTK_POINTER_TO_CONST IN cctkGH)) + (CCTK_INT IN CCTK_FPOINTER func_before (CCTK_POINTER_TO_CONST IN cctkGH, \ + CCTK_POINTER IN function, \ + CCTK_POINTER IN attribute, \ + CCTK_POINTER IN data), \ + CCTK_INT IN CCTK_FPOINTER func_after (CCTK_POINTER_TO_CONST IN cctkGH, \ + CCTK_POINTER IN function, \ + CCTK_POINTER IN attribute, \ + CCTK_POINTER IN data)) CCTK_INT \ FUNCTION UnRegisterScheduleWrapper \ - (CCTK_INT IN CCTK_FPOINTER func_before (CCTK_POINTER_TO_CONST IN cctkGH), \ - CCTK_INT IN CCTK_FPOINTER func_after (CCTK_POINTER_TO_CONST IN cctkGH)) + (CCTK_INT IN CCTK_FPOINTER func_before (CCTK_POINTER_TO_CONST IN cctkGH, \ + CCTK_POINTER IN function, \ + CCTK_POINTER IN attribute, \ + CCTK_POINTER IN data), \ + CCTK_INT IN CCTK_FPOINTER func_after (CCTK_POINTER_TO_CONST IN cctkGH, \ + CCTK_POINTER IN function, \ + CCTK_POINTER IN attribute, \ + CCTK_POINTER IN data)) PROVIDES FUNCTION RegisterScheduleWrapper \ WITH Carpet_RegisterScheduleWrapper \ LANGUAGE C |