aboutsummaryrefslogtreecommitdiff
path: root/Carpet/Carpet/interface.ccl
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@gmail.com>2012-09-10 22:21:17 -0400
committerErik Schnetter <schnetter@gmail.com>2012-09-10 22:21:17 -0400
commite53fc5afa1b4fcec640698c00da602c87cf5dce8 (patch)
treef380f439cc28ab8079a432a998ca38cd46b12e91 /Carpet/Carpet/interface.ccl
parent437adfbc0a6ddfbe4b93615dc2a52b5331971fed (diff)
Carpet: Requirements: Correct function types
Correct types of Carpet_Requirements_CheckReads and Carpet_Requirements_NotifyWrites
Diffstat (limited to 'Carpet/Carpet/interface.ccl')
-rw-r--r--Carpet/Carpet/interface.ccl14
1 files changed, 8 insertions, 6 deletions
diff --git a/Carpet/Carpet/interface.ccl b/Carpet/Carpet/interface.ccl
index 12a9f1432..93953295a 100644
--- a/Carpet/Carpet/interface.ccl
+++ b/Carpet/Carpet/interface.ccl
@@ -319,29 +319,31 @@ PROVIDES FUNCTION VarDataPtrI \
LANGUAGE C
-# programmatically check a reads clause
+
+# 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)
+ CCTK_INT ARRAY IN varinds, \
+ CCTK_STRING IN reads_clause)
PROVIDES FUNCTION Requirements_CheckReads \
WITH Carpet_Requirements_CheckReads \
LANGUAGE C
-# programmatically record a writes clause
+# 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)
+ CCTK_INT ARRAY IN varinds, \
+ CCTK_STRING IN write_clause)
PROVIDES FUNCTION Requirements_NotifyWrites \
WITH Carpet_Requirements_NotifyWrites \
LANGUAGE C
+
# The true prototype of the routine below:
# int Carpet_Regrid (const cGH * cctkGH,
# gh::rregs * superregss,