From a770662a2f1becd61ab39302aa5636b7a9771427 Mon Sep 17 00:00:00 2001 From: baiotti Date: Wed, 12 Oct 2005 15:39:42 +0000 Subject: - 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 --- interface.ccl | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) (limited to 'interface.ccl') 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" -- cgit v1.2.3