diff options
Diffstat (limited to 'src/rotatingsymmetry90.c')
-rw-r--r-- | src/rotatingsymmetry90.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/rotatingsymmetry90.c b/src/rotatingsymmetry90.c index cd59d46..2e4d8ad 100644 --- a/src/rotatingsymmetry90.c +++ b/src/rotatingsymmetry90.c @@ -293,7 +293,10 @@ int BndRot90VI (cGH const * restrict const cctkGH, || CCTK_EQUALS (tensortypealias, "4d")) { /* 4-vector */ assert (numvars == DIM+1); - } else if (CCTK_EQUALS (tensortypealias, "du")) { + } else if (CCTK_EQUALS (tensortypealias, "uu") + || CCTK_EQUALS (tensortypealias, "ud") + || CCTK_EQUALS (tensortypealias, "du") + || CCTK_EQUALS (tensortypealias, "dd")) { /* tensor */ assert (numvars == DIM*DIM); } else if (CCTK_EQUALS (tensortypealias, "uu_sym") @@ -351,7 +354,10 @@ int BndRot90VI (cGH const * restrict const cctkGH, = off + convert_index (step, index-off, alldirs, &parities[var]); srcvi = firstvar + srcindex; } - } else if (CCTK_EQUALS (tensortypealias, "du")) { + } else if (CCTK_EQUALS (tensortypealias, "uu") + || CCTK_EQUALS (tensortypealias, "ud") + || CCTK_EQUALS (tensortypealias, "du") + || CCTK_EQUALS (tensortypealias, "dd")) { /* tensor */ assert (numvars == DIM*DIM); int index1, index2; |