diff options
Diffstat (limited to 'src/interpolate.c')
-rw-r--r-- | src/interpolate.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/interpolate.c b/src/interpolate.c index 50e3b70..3c73174 100644 --- a/src/interpolate.c +++ b/src/interpolate.c @@ -355,7 +355,10 @@ Rot90_CheckTensorTypes (CCTK_ARGUMENTS) { /* 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") @@ -718,7 +721,10 @@ Rot90_SymmetryInterpolate (CCTK_POINTER_TO_CONST const cctkGH_, basevar = firstvar + off; var = vi - basevar; } - } 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); tensortype = &tensor; |