diff options
author | schnetter <schnetter@c78560ca-4b45-4335-b268-5f3340f3cb52> | 2008-02-20 00:26:48 +0000 |
---|---|---|
committer | schnetter <schnetter@c78560ca-4b45-4335-b268-5f3340f3cb52> | 2008-02-20 00:26:48 +0000 |
commit | 1d8c13a277d8632a0eccac4b3152696b33bad208 (patch) | |
tree | 0468c45e80c93afff0c90eea0830dc2ef2ee8757 /interface.ccl | |
parent | a93464603129a2dc4bde0a4dd1c7a670077255ed (diff) |
When type="multipatch", and when the aliased function
MultiPatch_ConvertFromPhysicalBoundary is available, then call this
function instead of ConvertFromPhysicalBoundary. This is necessary to
set up the coordinate extent correctly when different patches have
different boundary sizes.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@236 c78560ca-4b45-4335-b268-5f3340f3cb52
Diffstat (limited to 'interface.ccl')
-rw-r--r-- | interface.ccl | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/interface.ccl b/interface.ccl index e19dcab..f494d3a 100644 --- a/interface.ccl +++ b/interface.ccl @@ -32,6 +32,11 @@ 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, \ @@ -45,10 +50,18 @@ CCTK_INT FUNCTION \ CCTK_REAL OUT ARRAY spacing) USES FUNCTION MultiPatch_GetDomainSpecification -CCTK_INT FUNCTION \ - MultiPatch_GetMap \ - (CCTK_POINTER_TO_CONST IN cctkGH) -USES FUNCTION MultiPatch_GetMap +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 |