aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetRegrid/interface.ccl
diff options
context:
space:
mode:
Diffstat (limited to 'Carpet/CarpetRegrid/interface.ccl')
-rw-r--r--Carpet/CarpetRegrid/interface.ccl32
1 files changed, 24 insertions, 8 deletions
diff --git a/Carpet/CarpetRegrid/interface.ccl b/Carpet/CarpetRegrid/interface.ccl
index efc701a73..483ded51b 100644
--- a/Carpet/CarpetRegrid/interface.ccl
+++ b/Carpet/CarpetRegrid/interface.ccl
@@ -1,5 +1,5 @@
# Interface definition for thorn CarpetRegrid
-# $Header: /home/eschnett/C/carpet/Carpet/Carpet/CarpetRegrid/interface.ccl,v 1.6 2004/01/25 14:57:30 schnetter Exp $
+# $Header: /home/eschnett/C/carpet/Carpet/Carpet/CarpetRegrid/interface.ccl,v 1.7 2004/04/18 13:29:43 schnetter Exp $
implements: CarpetRegrid
@@ -16,19 +16,35 @@ uses include header: gh.hh
+# The location of the boundary points
+CCTK_INT FUNCTION GetBoundarySpecification \
+ (CCTK_INT IN size, \
+ CCTK_INT OUT ARRAY nboundaryzones, \
+ CCTK_INT OUT ARRAY is_internal, \
+ CCTK_INT OUT ARRAY is_staggered, \
+ CCTK_INT OUT ARRAY shiftout)
+USES FUNCTION GetBoundarySpecification
+
+# The overall size of the domain
+CCTK_INT FUNCTION GetDomainSpecification \
+ (CCTK_INT IN size, \
+ CCTK_REAL OUT ARRAY physical_min, \
+ CCTK_REAL OUT ARRAY physical_max, \
+ CCTK_REAL OUT ARRAY interior_min, \
+ CCTK_REAL OUT ARRAY interior_max, \
+ CCTK_REAL OUT ARRAY exterior_min, \
+ CCTK_REAL OUT ARRAY exterior_max, \
+ CCTK_REAL OUT ARRAY spacing)
+USES FUNCTION GetDomainSpecification
+
+
+
# 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);
CCTK_INT FUNCTION Carpet_Regrid (CCTK_POINTER_TO_CONST IN cctkGH, \
- CCTK_INT IN reflevel, \
- CCTK_INT IN map, \
- CCTK_INT IN size, \
- CCTK_INT IN ARRAY nboundaryzones, \
- CCTK_INT IN ARRAY is_internal, \
- CCTK_INT IN ARRAY is_staggered, \
- CCTK_INT IN ARRAY shiftout, \
CCTK_POINTER IN bsss, \
CCTK_POINTER IN obss, \
CCTK_POINTER IN pss)