aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetRegrid/interface.ccl
diff options
context:
space:
mode:
authorschnetter <>2004-04-18 11:29:00 +0000
committerschnetter <>2004-04-18 11:29:00 +0000
commit0bbc471d8c5ccfaa55a6ef68073a1a66e35d5a23 (patch)
tree601f8a3509c6af7fb2720bfc4a95f87726dd69b7 /Carpet/CarpetRegrid/interface.ccl
parentdff0758214da7a2ca77e25695c5ed3e5395eff55 (diff)
Remove the parameters Carpet::prolongate_initial_data; this is now
Remove the parameters Carpet::prolongate_initial_data; this is now always done. Remove arguments initialise_from and do_prolongate from Regrid(). Regridding is now done in level mode instead of meta mode. Furthermore, CarpetRegrid is called in singlemape mode. darcs-hash:20040418112943-07bb3-2e392df1737ab75f3f0d553bb53bde2ed41f8773.gz
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)