From a55d304b547b2ca408d0e9e11cedc0b7e3f47659 Mon Sep 17 00:00:00 2001 From: schnetter Date: Fri, 26 Aug 2005 11:21:32 +0000 Subject: Support tensor type uu_sym. git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/ReflectionSymmetry/trunk@10 082bdb00-0f4f-0410-b49e-b1835e5f2039 --- src/apply.c | 3 ++- src/interpolate.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/apply.c b/src/apply.c index be20dee..1d90697 100644 --- a/src/apply.c +++ b/src/apply.c @@ -269,7 +269,8 @@ BndReflectVI (cGH const * restrict const cctkGH, assert (numvars == 3); ttype = VECTOR; tcomponent = vi - firstvar; - } else if (CCTK_EQUALS (tensortypealias, "dd_sym")) { + } else if (CCTK_EQUALS (tensortypealias, "uu_sym") + || CCTK_EQUALS (tensortypealias, "dd_sym")) { /* symmetric tensor */ assert (numvars == 6); ttype = TENSOR; diff --git a/src/interpolate.c b/src/interpolate.c index 684dc1f..e1fe564 100644 --- a/src/interpolate.c +++ b/src/interpolate.c @@ -241,7 +241,8 @@ ReflectionSymmetry_Interpolate (CCTK_POINTER_TO_CONST restrict const cctkGH_, assert (numvars == 3); ttype = VECTOR; tcomponent = vi - firstvar; - } else if (CCTK_EQUALS (tensortypealias, "dd_sym")) { + } else if (CCTK_EQUALS (tensortypealias, "uu_sym") + || CCTK_EQUALS (tensortypealias, "dd_sym")) { /* symmetric tensor */ assert (numvars == 6); ttype = TENSOR; -- cgit v1.2.3