// $Header: /home/eschnett/C/carpet/Carpet/Carpet/CarpetRegrid/src/regrid.hh,v 1.5 2002/03/23 20:20:57 schnetter Exp $ #ifndef REGRID_HH #define REGRID_HH #include #include "cctk.h" #include "Carpet/CarpetLib/src/gf.hh" #include "Carpet/CarpetLib/src/gh.hh" #include "carpet.hh" namespace CarpetRegrid { using namespace std; using namespace Carpet; // scheduled functions extern "C" { int CarpetRegridStartup (); } typedef vect ivect; typedef bbox ibbox; typedef vect,dim> bvect; 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_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(REGRID_HH)