diff options
author | Erik Schnetter <schnetter@cct.lsu.edu> | 2008-06-20 16:29:06 -0500 |
---|---|---|
committer | Erik Schnetter <schnetter@cct.lsu.edu> | 2008-06-20 16:29:06 -0500 |
commit | 4b16584382e52728dc658deed7b38ba78f41e865 (patch) | |
tree | 80ec1ec1a21dc870b50dfd0eb818160f6bc7ec81 /Carpet/Carpet/interface.ccl | |
parent | bdfdbc1b611cd9339fb693b92d12ae3becc68d37 (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/Carpet/interface.ccl')
-rw-r--r-- | Carpet/Carpet/interface.ccl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Carpet/Carpet/interface.ccl b/Carpet/Carpet/interface.ccl index 734020bae..cee9c1075 100644 --- a/Carpet/Carpet/interface.ccl +++ b/Carpet/Carpet/interface.ccl @@ -12,10 +12,12 @@ uses include header: dist.hh uses include header: bbox.hh uses include header: bboxset.hh +uses include header: fulltree.hh uses include header: region.hh uses include header: vect.hh uses include header: data.hh + uses include header: dh.hh uses include header: gf.hh uses include header: ggf.hh @@ -205,18 +207,22 @@ PROVIDES FUNCTION GetRefinementLevels \ # The true prototype of the routine below: # int Carpet_Regrid (const cGH * cctkGH, +# gh::rregs * superregss, # gh::mregs * regsss, # int force); CCTK_INT FUNCTION Carpet_Regrid (CCTK_POINTER_TO_CONST IN cctkGH, \ + CCTK_POINTER IN superregss, \ CCTK_POINTER IN regsss, \ CCTK_INT IN force) USES FUNCTION Carpet_Regrid # The true prototype of the routine below: # int Carpet_Regrid (const cGH * 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 superregsss, \ CCTK_POINTER IN regssss, \ CCTK_INT IN force) USES FUNCTION Carpet_RegridMaps |