diff options
author | goodale <goodale@c78560ca-4b45-4335-b268-5f3340f3cb52> | 2004-05-17 12:28:55 +0000 |
---|---|---|
committer | goodale <goodale@c78560ca-4b45-4335-b268-5f3340f3cb52> | 2004-05-17 12:28:55 +0000 |
commit | 703e3a02858aad19477488f4eee3ea43af100c18 (patch) | |
tree | dcf02801262c366b253414c94364c067b31417bc /src/DecodeSymParameters.c | |
parent | 3a5e32521aede5bd5b3b591465b61900b113281b (diff) |
Untabified. Please try to adhere to the Cactus coding guidelines when
modifying or adding files.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@205 c78560ca-4b45-4335-b268-5f3340f3cb52
Diffstat (limited to 'src/DecodeSymParameters.c')
-rw-r--r-- | src/DecodeSymParameters.c | 18 |
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")) |