diff options
author | schnetter <> | 2001-12-14 15:34:00 +0000 |
---|---|---|
committer | schnetter <> | 2001-12-14 15:34:00 +0000 |
commit | f864e9fa9dd0c443fe51c76ba8cfbd5692c111f2 (patch) | |
tree | e87f1990e75aaa20652c958184c3487bdfe4ee11 /Carpet/CarpetRegrid/interface.ccl | |
parent | 1c5e61bd1d33494d2a5197b44ad47a8806e0c0ae (diff) |
Pulled regridding out of the driver proper.
Pulled regridding out of the driver proper.
Added automatic refinement, aka AMR.
darcs-hash:20011214153438-07bb3-6f2c0edd77e1cfc8e93bbbcfcc95e11ea7ee17f1.gz
Diffstat (limited to 'Carpet/CarpetRegrid/interface.ccl')
-rw-r--r-- | Carpet/CarpetRegrid/interface.ccl | 72 |
1 files changed, 4 insertions, 68 deletions
diff --git a/Carpet/CarpetRegrid/interface.ccl b/Carpet/CarpetRegrid/interface.ccl index 052fffc73..e7cd4978a 100644 --- a/Carpet/CarpetRegrid/interface.ccl +++ b/Carpet/CarpetRegrid/interface.ccl @@ -1,72 +1,8 @@ # Interface definition for thorn CarpetRegrid -# $Header: /home/eschnett/C/carpet/Carpet/Carpet/CarpetRegrid/interface.ccl,v 1.17 2004/08/07 19:44:59 schnetter Exp $ +# $Header: /home/eschnett/C/carpet/Carpet/Carpet/CarpetRegrid/interface.ccl,v 1.1 2001/12/14 16:34:38 schnetter Exp $ -IMPLEMENTS: CarpetRegrid +implements: CarpetRegrid -uses include header: carpet.hh - -uses include header: defs.hh - -uses include header: bbox.hh -uses include header: bboxset.hh -uses include header: vect.hh - -uses include header: gf.hh -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 +inherits: CarpetLib driver -# Convert between boundaries types -CCTK_INT FUNCTION ConvertFromPhysicalBoundary \ - (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 ConvertFromPhysicalBoundary - - - -# 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_POINTER IN bbsss, \ - CCTK_POINTER IN obss, \ - CCTK_POINTER IN pss, \ - CCTK_INT IN force) -PROVIDES FUNCTION Carpet_Regrid WITH CarpetRegrid_Regrid LANGUAGE C - - - - -CCTK_INT FUNCTION RegridLevel (CCTK_POINTER_TO_CONST IN cctkGH, \ - CCTK_INT IN current_max_reflevel, \ - CCTK_INT IN max_reflevels) -USES FUNCTION RegridLevel +uses include header: carpet.hh |