aboutsummaryrefslogtreecommitdiff
path: root/Carpet/Carpet/interface.ccl
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@cct.lsu.edu>2006-08-04 13:38:00 +0000
committerErik Schnetter <schnetter@cct.lsu.edu>2006-08-04 13:38:00 +0000
commit2a8c17e260530685140d467d588202133c23b610 (patch)
tree42812c5e9c07ad175f23aa440a47bbf5d6f7d6a4 /Carpet/Carpet/interface.ccl
parent6e63864dd224cf9e6c03693e24ce33e579002dff (diff)
Carpet: Calculate processor distribution for all maps at once
Calculate processor distribution for all maps at once instead of for each map separately. This leads to more efficient distributions. darcs-hash:20060804133816-dae7b-b16a915db7764714debb4523b1f70b586b5d8719.gz
Diffstat (limited to 'Carpet/Carpet/interface.ccl')
-rw-r--r--Carpet/Carpet/interface.ccl21
1 files changed, 18 insertions, 3 deletions
diff --git a/Carpet/Carpet/interface.ccl b/Carpet/Carpet/interface.ccl
index 44f24150b..07e0b33d6 100644
--- a/Carpet/Carpet/interface.ccl
+++ b/Carpet/Carpet/interface.ccl
@@ -122,14 +122,29 @@ USES FUNCTION MultiPatch_GetDomainSpecification
# int Carpet_Regrid (const cGH * cctkGH,
# gh::mexts * bbsss,
# gh::rbnds * obss,
-# gh::rprocs * pss);
+# gh::rprocs * pss,
+# int force);
CCTK_INT FUNCTION Carpet_Regrid (CCTK_POINTER_TO_CONST IN cctkGH, \
CCTK_POINTER IN bbsss, \
CCTK_POINTER IN obss, \
- CCTK_POINTER IN pss, \
- CCTK_INT IN force)
+ CCTK_POINTER IN pss, \
+ CCTK_INT IN force)
USES FUNCTION Carpet_Regrid
+# The true prototype of the routine below:
+# int Carpet_Regrid (const cGH * cctkGH,
+# vector<gh::mexts> * bbssss,
+# vector<gh::rbnds> * obsss,
+# vector<gh::rprocs> * psss,
+# int force););
+CCTK_INT FUNCTION Carpet_RegridMaps (CCTK_POINTER_TO_CONST IN cctkGH, \
+ CCTK_POINTER IN bbssss, \
+ CCTK_POINTER IN obsss, \
+ CCTK_POINTER IN psss, \
+ CCTK_INT IN force)
+USES FUNCTION Carpet_RegridMaps
+
+
# function to check whether existing output files should be truncated or not
CCTK_INT FUNCTION IO_TruncateOutputFiles \