diff options
author | Erik Schnetter <schnetter@aei.mpg.de> | 2005-01-01 18:22:00 +0000 |
---|---|---|
committer | Erik Schnetter <schnetter@aei.mpg.de> | 2005-01-01 18:22:00 +0000 |
commit | 22fe65eabb7dc09e656e1da4a67e66f01ea21e4e (patch) | |
tree | 1c5e763b0ffee9744ee708d6016bdbd36b8f8312 /Carpet/Carpet/interface.ccl | |
parent | 2d4bff44c3f4d613eccbd911910e3724718bce1e (diff) |
global: Turn CarpetLib templates into classes
Turn most of the templates in CarpetLib, which used to have the form
template<int D> class XXX
into classes, i.e., into something like
class XXX
by setting D to the new global integer constant dim, which in turn is set to 3.
The templates gf and data, which used to be of the form
template<typename T, int D> class XXX
are now of the form
template<typename T> class XXX
The templates vect, bbox, and bboxset remain templates.
This change simplifies the code somewhat.
darcs-hash:20050101182234-891bb-c3063528841f0d078b12cc506309ea27d8ce730d.gz
Diffstat (limited to 'Carpet/Carpet/interface.ccl')
-rw-r--r-- | Carpet/Carpet/interface.ccl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Carpet/Carpet/interface.ccl b/Carpet/Carpet/interface.ccl index 3f32a6bb0..414e43d0e 100644 --- a/Carpet/Carpet/interface.ccl +++ b/Carpet/Carpet/interface.ccl @@ -77,9 +77,9 @@ USES FUNCTION ConvertFromExteriorBoundary # The true prototype of the routine below: # int Carpet_Regrid (const cGH * cctkGH, -# gh<dim>::rexts * bbsss, -# gh<dim>::rbnds * obss, -# gh<dim>::rprocs * pss); +# gh::rexts * bbsss, +# gh::rbnds * obss, +# gh::rprocs * pss); CCTK_INT FUNCTION Carpet_Regrid (CCTK_POINTER_TO_CONST IN cctkGH, \ CCTK_POINTER IN bbsss, \ CCTK_POINTER IN obss, \ |