From 7506881ae75508bf75576e3986260824424905a2 Mon Sep 17 00:00:00 2001 From: schnetter Date: Sat, 28 Oct 2006 17:52:50 +0000 Subject: Use information from ghost zones when applying the symmetry. This is necessary at edges and corners with mesh refinement boundaries. This in turn requires that grid functions be synchronised _before_ this symmetry is applied. git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/RotatingSymmetry90/trunk@40 c3c03602-0f4f-0410-b3fa-d2c81c8a7dc5 --- src/rotatingsymmetry90.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/rotatingsymmetry90.c b/src/rotatingsymmetry90.c index 5099169..ba0a360 100644 --- a/src/rotatingsymmetry90.c +++ b/src/rotatingsymmetry90.c @@ -94,6 +94,7 @@ int BndRot90VI (cGH const * restrict const cctkGH, int offset[DIM]; /* offset 0..1 due to avoid_origin */ struct xferinfo * restrict xferinfo; + int options; int have_global_bbox, have_local_bbox; @@ -494,11 +495,17 @@ int BndRot90VI (cGH const * restrict const cctkGH, assert (0); } + options = Util_TableCreateFromString ("useghosts=1"); + assert (options>=0); + ierr = Slab_MultiTransfer - (cctkGH, group.dim, xferinfo, -1, + (cctkGH, group.dim, xferinfo, options, nvars, vartypes, srcptrs, vartypes, varptrs); assert (!ierr); + ierr = Util_TableDestroy (options); + assert (!ierr); + /* take parity into account */ have_local_bbox = 1; for (q=0; q