aboutsummaryrefslogtreecommitdiff
path: root/interface.ccl
diff options
context:
space:
mode:
authorbaiotti <baiotti@54511f98-0e4f-0410-826e-eb8b393f5a1e>2005-10-12 15:39:42 +0000
committerbaiotti <baiotti@54511f98-0e4f-0410-826e-eb8b393f5a1e>2005-10-12 15:39:42 +0000
commita770662a2f1becd61ab39302aa5636b7a9771427 (patch)
tree4e451bd62dce2d1e3d1f1cc611e162b45e112933 /interface.ccl
parentbd0fc470a7c3c64f5a14dc021b2d39fbd431a45d (diff)
- make results independent from the number of processors (not yet finished)
- change some parameter names, so that, to me, they are more clear (debatable) - add another way of setting the integration surface position - move constant divisions out of the loops - modify info messages git-svn-id: http://svn.aei.mpg.de/numrel/AEIThorns/ADMMass/trunk@4 54511f98-0e4f-0410-826e-eb8b393f5a1e
Diffstat (limited to 'interface.ccl')
-rw-r--r--interface.ccl25
1 files changed, 23 insertions, 2 deletions
diff --git a/interface.ccl b/interface.ccl
index bb2660d..05bed81 100644
--- a/interface.ccl
+++ b/interface.ccl
@@ -6,19 +6,30 @@ inherits: ADMBase ADMMacros StaticConformal SpaceMask
USES INCLUDE: SpaceMask.h
+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)
+REQUIRES FUNCTION GetDomainSpecification
+
CCTK_INT ADMMass_LoopCounterG type = SCALAR
{
ADMMass_LoopCounter
} "ADMMass LoopCounter"
-CCTK_REAL ADMMass_Masses[ADMMass_number] type = SCALAR
+CCTK_REAL ADMMass_Masses[ADMMass_number] type = SCALAR tags='checkpoint="no"'
{
ADMMass_SurfaceMass
ADMMass_SurfaceMass_Lapse
ADMMass_VolumeMass
} "ADMMass Scalars"
-CCTK_REAL ADMMass_GFs type = GF Timelevels = 1 tags='Prolongation="none" tensortypealias="Scalar"'
+CCTK_REAL ADMMass_GFs type = GF Timelevels = 1 tags='Prolongation="none" tensortypealias="Scalar" checkpoint="no"'
{
ADMMass_SurfaceMass_GF
ADMMass_VolumeMass_pot_x
@@ -26,3 +37,13 @@ CCTK_REAL ADMMass_GFs type = GF Timelevels = 1 tags='Prolongation="none" tensort
ADMMass_VolumeMass_pot_z
ADMMass_VolumeMass_GF
} "ADMMass gridfunctions"
+
+CCTK_REAL ADMMass_box type = scalar tags='checkpoint="no"'
+{
+ ADMMass_box_x_min
+ ADMMass_box_x_max
+ ADMMass_box_y_min
+ ADMMass_box_y_max
+ ADMMass_box_z_min
+ ADMMass_box_z_max
+} "Physical coordinates of the surface on which the integral is computed"