diff options
author | Erik Schnetter <schnetter@cct.lsu.edu> | 2007-01-12 19:29:00 +0000 |
---|---|---|
committer | Erik Schnetter <schnetter@cct.lsu.edu> | 2007-01-12 19:29:00 +0000 |
commit | f65b896e853a5f2f0b43cb9e44cf373a71de0000 (patch) | |
tree | 3cdb7a5d3e880ab01e139dc7f69dd0f3e9f26f1c /CarpetDev/CarpetAdaptiveRegrid/src/CAR.hh | |
parent | 767df0e51be71df7c5437a88fa6741b6752c793d (diff) |
CarpetAdaptiveRegrid: Add refinement descriptor to regridding API
Adapt to recent change in Carpet's regridding API: In addition to the
bounding boxes, outer boundary descriptors, and processor numbers,
also a refinement boundary descriptor needs to be filled in.
darcs-hash:20070112192953-dae7b-24a0a3252ef78755e2e2714f54482f116be86f98.gz
Diffstat (limited to 'CarpetDev/CarpetAdaptiveRegrid/src/CAR.hh')
-rw-r--r-- | CarpetDev/CarpetAdaptiveRegrid/src/CAR.hh | 23 |
1 files changed, 10 insertions, 13 deletions
diff --git a/CarpetDev/CarpetAdaptiveRegrid/src/CAR.hh b/CarpetDev/CarpetAdaptiveRegrid/src/CAR.hh index dd63b7f02..80946cd97 100644 --- a/CarpetDev/CarpetAdaptiveRegrid/src/CAR.hh +++ b/CarpetDev/CarpetAdaptiveRegrid/src/CAR.hh @@ -30,23 +30,16 @@ namespace CarpetAdaptiveRegrid { /* Aliased functions */ // CCTK_INT CarpetAdaptiveRegrid_Regrid (const cGH * const cctkGH, -// gh<dim>::rexts * bbsss, -// gh<dim>::rbnds * obss, -// gh<dim>::rprocs * pss); +// gh<dim>::rregs * regsss); CCTK_INT CarpetAdaptiveRegrid_Regrid (CCTK_POINTER_TO_CONST const cctkGH_, - CCTK_POINTER const bbsss_, - CCTK_POINTER const obss_, - CCTK_POINTER const pss_, + CCTK_POINTER const regsss_, CCTK_INT force); } int ManualCoordinateList (cGH const * const cctkGH, gh const & hh, - gh::mexts & bbsss, - gh::rbnds & obss, - gh::rprocs & pss, - gh::mexts & local_bbsss, - gh::rbnds & local_obss); + gh::mregs & regsss, + gh::mregs & local_regsss); void ManualCoordinates_OneLevel (const cGH * const cctkGH, @@ -56,8 +49,10 @@ namespace CarpetAdaptiveRegrid { const rvect lower, const rvect upper, const bbvect obound, + const bbvect rbound, vector<ibbox> & bbs, - vector<bbvect> & obs); + vector<bbvect> & obs, + vector<bbvect> & rbs); void ManualGridpoints_OneLevel (const cGH * const cctkGH, const gh & hh, @@ -66,8 +61,10 @@ namespace CarpetAdaptiveRegrid { const ivect ilower, const ivect iupper, const bbvect obound, + const bbvect rbound, vector<ibbox> & bbs, - vector<bbvect> & obs); + vector<bbvect> & obs, + vector<bbvect> & rbs); rvect int2pos (const cGH* const cctkGH, const gh& hh, const ivect & ipos, const int rl); |