diff options
author | schnetter <schnetter@20f44201-0f4f-0410-9130-e5fc2714a787> | 2005-05-04 15:10:10 +0000 |
---|---|---|
committer | schnetter <schnetter@20f44201-0f4f-0410-9130-e5fc2714a787> | 2005-05-04 15:10:10 +0000 |
commit | 9c0c79442fcc16921165c2479144b30b5fef4e47 (patch) | |
tree | 62e2e7a5b00926d398a5405b8261bddfced18b99 /src/interpolate.c | |
parent | e8f37263341ef6c014695e6069ad40121c615883 (diff) |
Handle the tensor type alias "d".
git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/RotatingSymmetry180/trunk@18 20f44201-0f4f-0410-9130-e5fc2714a787
Diffstat (limited to 'src/interpolate.c')
-rw-r--r-- | src/interpolate.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/interpolate.c b/src/interpolate.c index fac3409..edec57c 100644 --- a/src/interpolate.c +++ b/src/interpolate.c @@ -66,7 +66,9 @@ Rot180_CheckTensorTypes (CCTK_ARGUMENTS) groupname); free (groupname); } - } else if (CCTK_EQUALS (tensortypealias, "u")) { + } else if (CCTK_EQUALS (tensortypealias, "u") + || CCTK_EQUALS (tensortypealias, "d")) + { /* vector */ assert (numvars == 3); } else if (CCTK_EQUALS (tensortypealias, "dd_sym")) { @@ -273,7 +275,9 @@ Rot180_SymmetryInterpolate (CCTK_POINTER_TO_CONST const cctkGH_, free (groupname); } parities[0] = parities[1] = parities[2] = +1; - } else if (CCTK_EQUALS (tensortypealias, "u")) { + } else if (CCTK_EQUALS (tensortypealias, "u") + || CCTK_EQUALS (tensortypealias, "d")) + { assert (numvars == 3); parities[0] = parities[1] = parities[2] = +1; parities[index] = -1; |