aboutsummaryrefslogtreecommitdiff
path: root/Carpet/Carpet/interface.ccl
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@aei.mpg.de>2005-08-26 14:45:00 +0000
committerErik Schnetter <schnetter@aei.mpg.de>2005-08-26 14:45:00 +0000
commit091cf4178cb7aaf475cb6dbaf6d02092b1868f6f (patch)
treed6eacfd3c6c156b24e4878bab65940986e99cd0d /Carpet/Carpet/interface.ccl
parent6f1ffd0ee0a624af34aade89fca0a4767089e119 (diff)
Carpet: Pass MPI communicators as pointers instead of ints
Pass MPI communicators as pointers instead of ints because they may not be implemented as ints. Use MPI_COMM_NULL instead of -1 as illegal communicator. darcs-hash:20050826144511-891bb-324a5d22efcbbd53cac35899e30559b06cfdfdb6.gz
Diffstat (limited to 'Carpet/Carpet/interface.ccl')
-rw-r--r--Carpet/Carpet/interface.ccl6
1 files changed, 4 insertions, 2 deletions
diff --git a/Carpet/Carpet/interface.ccl b/Carpet/Carpet/interface.ccl
index fa16cefcc..b5839262d 100644
--- a/Carpet/Carpet/interface.ccl
+++ b/Carpet/Carpet/interface.ccl
@@ -26,10 +26,12 @@ INCLUDE HEADER: typecase in carpet_typecase.hh
# Get access to communicators
-CCTK_INT FUNCTION GetMPICommUniverse (CCTK_POINTER_TO_CONST IN cctkGH)
+CCTK_POINTER_TO_CONST \
+FUNCTION GetMPICommUniverse (CCTK_POINTER_TO_CONST IN cctkGH)
PROVIDES FUNCTION GetMPICommUniverse WITH Carpet_GetMPICommUniverse LANGUAGE C
-CCTK_INT FUNCTION GetMPICommWorld (CCTK_POINTER_TO_CONST IN cctkGH)
+CCTK_POINTER_TO_CONST \
+FUNCTION GetMPICommWorld (CCTK_POINTER_TO_CONST IN cctkGH)
PROVIDES FUNCTION GetMPICommWorld WITH Carpet_GetMPICommWorld LANGUAGE C