diff options
author | schnetter <> | 2001-12-14 15:39:00 +0000 |
---|---|---|
committer | schnetter <> | 2001-12-14 15:39:00 +0000 |
commit | 326f9f5e459037c9c35d845ba699e7cfaacf65a5 (patch) | |
tree | 5989b5a69eca8755fc327375ee7b641c68e06c29 /Carpet/Carpet/src/carpet_public.hh | |
parent | f864e9fa9dd0c443fe51c76ba8cfbd5692c111f2 (diff) |
Pulled regridding out of the driver proper.
Pulled regridding out of the driver proper.
Without the new regridding thorn, Carpet will now default to a single
level, i.e. the base level only. Use the thorn CarpetRegrid and set
the parameter CarpetRegrid::refinement_levels to get refinement.
darcs-hash:20011214153904-07bb3-b765f596812c0321ab0f898f93a9fbd192c49c09.gz
Diffstat (limited to 'Carpet/Carpet/src/carpet_public.hh')
-rw-r--r-- | Carpet/Carpet/src/carpet_public.hh | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/Carpet/Carpet/src/carpet_public.hh b/Carpet/Carpet/src/carpet_public.hh index fd0aa7a7a..bcb483926 100644 --- a/Carpet/Carpet/src/carpet_public.hh +++ b/Carpet/Carpet/src/carpet_public.hh @@ -1,16 +1,20 @@ -// $Header: /home/eschnett/C/carpet/Carpet/Carpet/Carpet/src/carpet_public.hh,v 1.8 2001/12/09 16:41:53 schnetter Exp $ +// $Header: /home/eschnett/C/carpet/Carpet/Carpet/Carpet/src/carpet_public.hh,v 1.9 2001/12/14 16:39:09 schnetter Exp $ // It is assumed that the number of components of all arrays is equal // to the number of components of the grid functions, and that their // distribution onto the processors is the same, and that all // processors own the same number of components. +#ifndef CARPET_PUBLIC_HH +#define CARPET_PUBLIC_HH + #include <vector> #include "cctk.h" #include "cctk_Schedule.h" #include "Carpet/CarpetLib/src/dh.hh" +#include "Carpet/CarpetLib/src/gf.hh" #include "Carpet/CarpetLib/src/ggf.hh" #include "Carpet/CarpetLib/src/gh.hh" #include "Carpet/CarpetLib/src/th.hh" @@ -121,14 +125,10 @@ namespace Carpet { void RegisterRecomposeRegions (const gh<dim>::rexts& bbsss, const gh<dim>::rprocs& pss); - void MakeRegions_RefineCentre (const cGH* cgh, int reflevels, - gh<dim>::rexts& bbsss); - void MakeRegions_AsSpecified (const cGH* cgh, int reflevels, - gh<dim>::rexts& bbsss); - void SplitRegions_AlongZ (const cGH* cgh, gh<dim>::rexts& bbsss); - void SplitRegions_AsSpecified (const cGH* cgh, gh<dim>::rexts& bbsss); - void MakeProcessors_RoundRobin (const cGH* cgh, const gh<dim>::rexts& bbsss, - gh<dim>::rprocs& pss); + void SplitRegions (const cGH* cgh, gh<dim>::cexts& bbss); + + void MakeProcessors (const cGH* cgh, const gh<dim>::rexts& bbsss, + gh<dim>::rprocs& pss); @@ -200,3 +200,5 @@ namespace Carpet { } while (0) } // namespace Carpet + +#endif // ! defined(CARPET_PUBLIC_HH) |