diff options
author | schnetter <> | 2003-11-13 15:04:00 +0000 |
---|---|---|
committer | schnetter <> | 2003-11-13 15:04:00 +0000 |
commit | 107d6001cede350fb5a40ea4a7458ee40fd6eab5 (patch) | |
tree | 95fabc53c70655ba76ed71d6f1da35f242d13929 /Carpet/CarpetRegrid/src/regrid.hh | |
parent | 4acb869d0acc7ad83517f9253de7babe8b0e215b (diff) |
Implement specifying refined boxes by coordinates instead of by grid
Implement specifying refined boxes by coordinates instead of by grid
point numbers.
darcs-hash:20031113150437-07bb3-3889e9e5e4f97233034f57ab4f968b1476bd515f.gz
Diffstat (limited to 'Carpet/CarpetRegrid/src/regrid.hh')
-rw-r--r-- | Carpet/CarpetRegrid/src/regrid.hh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Carpet/CarpetRegrid/src/regrid.hh b/Carpet/CarpetRegrid/src/regrid.hh index 05fcfc402..45a390a97 100644 --- a/Carpet/CarpetRegrid/src/regrid.hh +++ b/Carpet/CarpetRegrid/src/regrid.hh @@ -1,4 +1,4 @@ -// $Header: /home/eschnett/C/carpet/Carpet/Carpet/CarpetRegrid/src/regrid.hh,v 1.9 2003/06/18 18:28:07 schnetter Exp $ +// $Header: /home/eschnett/C/carpet/Carpet/Carpet/CarpetRegrid/src/regrid.hh,v 1.10 2003/11/13 16:04:37 schnetter Exp $ #ifndef CARPETREGRID_HH #define CARPETREGRID_HH @@ -29,6 +29,7 @@ namespace CarpetRegrid { typedef vect<vect<bool,2>,dim> bvect; typedef vect<CCTK_REAL,dim> rvect; + typedef bbox<CCTK_REAL,dim> rbbox; @@ -58,6 +59,10 @@ namespace CarpetRegrid { const vector<vector<ibbox> > bbss, const vector<vector<bvect> > obss, list<ibbox>& bbl, list<bvect>& obl); + void MakeRegions_AsSpecified (const cGH* cctkGH, const int reflevels, + const vector<vector<rbbox> > bbss, + const vector<vector<bvect> > obss, + list<ibbox>& bbl, list<bvect>& obl); void MakeRegions_Adaptively (const cGH* cctkGH, const int minwidth, |