// $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 #include #include "cctk.h" #include "gf.hh" #include "gh.hh" #include "carpet.hh" #include "regrid.h" namespace CarpetRegrid { using namespace std; using namespace Carpet; typedef vect ivect; typedef bbox ibbox; typedef vect,dim> bvect; typedef vect rvect; typedef bbox rbbox; int CarpetRegridRegrid (const cGH * const cctkGH, gh::rexts& bbsss, gh::rbnds& obss, gh::rprocs& pss); void MakeRegions_BaseLevel (const cGH* cctkGH, list& bbl, list& obl); void MakeRegions_RefineCentre (const cGH* cctkGH, const int reflevels, list& bbl, list& obl); void MakeRegions_AsSpecified (const cGH* cctkGH, const int reflevels, const vector lower, const vector upper, list& bbl, list& obl); void MakeRegions_AsSpecified (const cGH* cctkGH, const int reflevels, const vector lower, const vector upper, list& bbl, list& obl); void MakeRegions_AsSpecified (const cGH* cctkGH, const int reflevels, const vector > bbss, const vector > obss, list& bbl, list& obl); void MakeRegions_AsSpecified (const cGH* cctkGH, const int reflevels, const vector > bbss, const vector > obss, list& bbl, list& obl); void MakeRegions_Adaptively (const cGH* cctkGH, const int minwidth, const CCTK_REAL minfraction, const CCTK_REAL maxerror, const gf& error, list& bbl, list& obl); } // namespace CarpetRegrid #endif // !defined(CARPETREGRID_HH)