diff options
Diffstat (limited to 'interface.ccl')
-rw-r--r-- | interface.ccl | 49 |
1 files changed, 6 insertions, 43 deletions
diff --git a/interface.ccl b/interface.ccl index f494d3a..655fa55 100644 --- a/interface.ccl +++ b/interface.ccl @@ -1,10 +1,10 @@ -# Interface definition for thorn CartGrid3D +# Interface definition for thorn CartGrid2D # $Header$ implements: grid inherits: coordbase -INCLUDE HEADER: Symmetry.h in Symmetry.h +#INCLUDE HEADER: Symmetry.h in Symmetry.h uses include header: CoordBase.h # The overall size of the domain @@ -30,41 +30,6 @@ CCTK_INT FUNCTION ConvertFromPhysicalBoundary \ CCTK_REAL IN ARRAY spacing) USES FUNCTION ConvertFromPhysicalBoundary - - -CCTK_INT FUNCTION \ - MultiPatch_GetMap \ - (CCTK_POINTER_TO_CONST IN cctkGH) -USES FUNCTION MultiPatch_GetMap - -CCTK_INT FUNCTION \ - MultiPatch_GetDomainSpecification \ - (CCTK_INT IN map, \ - 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 MultiPatch_GetDomainSpecification - -CCTK_INT FUNCTION \ - MultiPatch_ConvertFromPhysicalBoundary \ - (CCTK_INT IN map, \ - CCTK_INT IN size, \ - CCTK_REAL IN ARRAY physical_min, \ - CCTK_REAL IN 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 IN ARRAY spacing) -USES FUNCTION MultiPatch_ConvertFromPhysicalBoundary - - - # Register the symmetry boundaries CCTK_INT FUNCTION SymmetryRegister (CCTK_STRING IN sym_name) USES FUNCTION SymmetryRegister @@ -96,12 +61,10 @@ public: REAL gridspacings type=SCALAR tags='Checkpoint="no"' { - coarse_dx, coarse_dy, coarse_dz -} "3D Cartesian grid spacings" + coarse_dx, coarse_dy +} "2D Cartesian grid spacings" REAL coordinates type=GF tags='Prolongation="None" Checkpoint="no"' { - x, y, z, r -# will become: -# coord_x, coord_y, coord_z -} "3D Cartesian grid coordinates" + x, y, r +} "2D Cartesian grid coordinates" |