aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetRegrid2/interface.ccl
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@cct.lsu.edu>2008-06-20 16:29:06 -0500
committerErik Schnetter <schnetter@cct.lsu.edu>2008-06-20 16:29:06 -0500
commit4b16584382e52728dc658deed7b38ba78f41e865 (patch)
tree80ec1ec1a21dc870b50dfd0eb818160f6bc7ec81 /Carpet/CarpetRegrid2/interface.ccl
parentbdfdbc1b611cd9339fb693b92d12ae3becc68d37 (diff)
Introduce a tree data structure to speed up domain decomposition
Introduce a tree data structure "fulltree", which decomposes a single, rectangular region into a tree of non-overlapping, rectangular sub-regions. Move the processor decomposition from the regridding thorns into Carpet. Create such trees during processor decomposition. Store these trees with the grid hierarchy.
Diffstat (limited to 'Carpet/CarpetRegrid2/interface.ccl')
-rw-r--r--Carpet/CarpetRegrid2/interface.ccl16
1 files changed, 10 insertions, 6 deletions
diff --git a/Carpet/CarpetRegrid2/interface.ccl b/Carpet/CarpetRegrid2/interface.ccl
index aa6f799da..6eb913280 100644
--- a/Carpet/CarpetRegrid2/interface.ccl
+++ b/Carpet/CarpetRegrid2/interface.ccl
@@ -87,21 +87,25 @@ USES FUNCTION MultiPatch_ConvertFromPhysicalBoundary
# The true prototype of the routine below:
# int Carpet_Regrid (cGH const * cctkGH,
+# gh::rregs * superregss,
# gh::mregs * regsss,
# int force);
-CCTK_INT FUNCTION Carpet_Regrid \
- (CCTK_POINTER_TO_CONST IN cctkGH, \
- CCTK_POINTER IN regsss, \
+CCTK_INT FUNCTION Carpet_Regrid \
+ (CCTK_POINTER_TO_CONST IN cctkGH, \
+ CCTK_POINTER IN superregss, \
+ CCTK_POINTER IN regsss, \
CCTK_INT IN force)
PROVIDES FUNCTION Carpet_Regrid WITH CarpetRegrid2_Regrid LANGUAGE C
# The true prototype of the routine below:
# int Carpet_Regrid (cGH const * cctkGH,
+# vector <gh::rregs> * superregsss,
# vector <gh::mregs> * regssss,
# int force)
-CCTK_INT FUNCTION Carpet_RegridMaps \
- (CCTK_POINTER_TO_CONST IN cctkGH, \
- CCTK_POINTER IN regssss, \
+CCTK_INT FUNCTION Carpet_RegridMaps \
+ (CCTK_POINTER_TO_CONST IN cctkGH, \
+ CCTK_POINTER IN superregsss, \
+ CCTK_POINTER IN regssss, \
CCTK_INT IN force)
PROVIDES FUNCTION Carpet_RegridMaps WITH CarpetRegrid2_RegridMaps LANGUAGE C