diff options
author | schnetter <schnetter@c3c03602-0f4f-0410-b3fa-d2c81c8a7dc5> | 2006-10-28 17:52:50 +0000 |
---|---|---|
committer | schnetter <schnetter@c3c03602-0f4f-0410-b3fa-d2c81c8a7dc5> | 2006-10-28 17:52:50 +0000 |
commit | 7506881ae75508bf75576e3986260824424905a2 (patch) | |
tree | 7f070c6f2cfa7653d917cd69c10835e9651409ba | |
parent | b076bc5274bea9cebcb5c6b4161fd46bde32b4ce (diff) |
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
-rw-r--r-- | src/rotatingsymmetry90.c | 9 |
1 files changed, 8 insertions, 1 deletions
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<ndirs; ++q) { |