aboutsummaryrefslogtreecommitdiff
path: root/src/DecodeSymParameters.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/DecodeSymParameters.c')
-rw-r--r--src/DecodeSymParameters.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/DecodeSymParameters.c b/src/DecodeSymParameters.c
index ab86c10..3a46e4b 100644
--- a/src/DecodeSymParameters.c
+++ b/src/DecodeSymParameters.c
@@ -69,21 +69,21 @@ void DecodeSymParameters3D(int sym[6])
if (CCTK_Equals(bitant_plane, "xy"))
{
if (CCTK_Equals(rotation_axis, "y"))
- sym[4] = GFSYM_ROTATION_Y;
+ sym[4] = GFSYM_ROTATION_Y;
else if (CCTK_Equals(rotation_axis, "x"))
sym[4] = GFSYM_ROTATION_X;
}
else if (CCTK_Equals(bitant_plane, "xz"))
{
if (CCTK_Equals(rotation_axis, "x"))
- sym[2] = GFSYM_ROTATION_X;
+ sym[2] = GFSYM_ROTATION_X;
else if (CCTK_Equals(rotation_axis, "z"))
sym[2] = GFSYM_ROTATION_Z;
}
else if (CCTK_Equals(bitant_plane, "yz"))
{
if (CCTK_Equals(rotation_axis, "y"))
- sym[0] = GFSYM_ROTATION_Y;
+ sym[0] = GFSYM_ROTATION_Y;
else if (CCTK_Equals(rotation_axis, "z"))
sym[0] = GFSYM_ROTATION_Z;
}
@@ -113,25 +113,25 @@ void DecodeSymParameters3D(int sym[6])
if (CCTK_Equals(rotation_axis, "y"))
{
sym[2] = GFSYM_REFLECTION;
- sym[4] = GFSYM_ROTATION_Y;
+ sym[4] = GFSYM_ROTATION_Y;
}
else if (CCTK_Equals(rotation_axis, "z"))
{
sym[2] = GFSYM_ROTATION_Z;
- sym[4] = GFSYM_REFLECTION;
+ sym[4] = GFSYM_REFLECTION;
}
}
else if (CCTK_Equals(quadrant_direction, "y"))
{
if (CCTK_Equals(rotation_axis, "x"))
{
- sym[0] = GFSYM_REFLECTION;
- sym[4] = GFSYM_ROTATION_X;
+ sym[0] = GFSYM_REFLECTION;
+ sym[4] = GFSYM_ROTATION_X;
}
if (CCTK_Equals(rotation_axis, "z"))
{
- sym[0] = GFSYM_ROTATION_Z;
- sym[4] = GFSYM_REFLECTION;
+ sym[0] = GFSYM_ROTATION_Z;
+ sym[4] = GFSYM_REFLECTION;
}
}
else if (CCTK_Equals(quadrant_direction, "z"))