diff options
author | goodale <goodale@906471b6-c639-44d1-9ea0-3e3d6879f074> | 2004-05-17 12:28:55 +0000 |
---|---|---|
committer | goodale <goodale@906471b6-c639-44d1-9ea0-3e3d6879f074> | 2004-05-17 12:28:55 +0000 |
commit | 60001eb784ef6957f08679c612ee81c78186579b (patch) | |
tree | e7ae63415c1183a4f1bec17e85830b1d617c5623 /src/Faces.c | |
parent | afcdf54deec997ae477fedcb0c845f851f4fe71b (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/SymBase/trunk@9 906471b6-c639-44d1-9ea0-3e3d6879f074
Diffstat (limited to 'src/Faces.c')
-rw-r--r-- | src/Faces.c | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/src/Faces.c b/src/Faces.c index 7965429..c1a668f 100644 --- a/src/Faces.c +++ b/src/Faces.c @@ -69,10 +69,10 @@ CCTK_FILEVERSION (CactusBase_SymBase_Faces_c); CCTK_INT SymBase_SymmetryRegisterFaces (CCTK_INT const sym_table, - CCTK_INT const group_dim, - CCTK_INT const sym_handle, - CCTK_INT const *const which_faces, - CCTK_INT const *const new_symmetry_zone_width) + CCTK_INT const group_dim, + CCTK_INT const sym_handle, + CCTK_INT const *const which_faces, + CCTK_INT const *const new_symmetry_zone_width) { CCTK_INT symmetry_handle[100]; CCTK_INT symmetry_zone_width[100]; @@ -82,23 +82,23 @@ SymBase_SymmetryRegisterFaces (CCTK_INT const sym_table, /* Check arguments */ if (sym_table < 0) { - return -1; /* illegal argument */ + return -1; /* illegal argument */ } if (group_dim < 0) { - return -9; /* illegal argument */ + return -9; /* illegal argument */ } if (sym_handle < 0 || sym_handle >= SymBase_num_symmetries) { - return -2; /* illegal argument */ + return -2; /* illegal argument */ } if (!which_faces) { - return -3; /* illegal argument */ + return -3; /* illegal argument */ } if (!symmetry_zone_width) { - return -4; /* illegal argument */ + return -4; /* illegal argument */ } /* Get table entries */ @@ -126,7 +126,7 @@ SymBase_SymmetryRegisterFaces (CCTK_INT const sym_table, { if (symmetry_handle[face] != -1) { - return -5; /* The face is already taken */ + return -5; /* The face is already taken */ } symmetry_handle[face] = sym_handle; symmetry_zone_width[face] = new_symmetry_zone_width[face]; @@ -189,9 +189,9 @@ SymBase_SymmetryRegisterFaces (CCTK_INT const sym_table, CCTK_INT SymBase_SymmetryRegisterGrid (CCTK_POINTER const cctkGH_, - CCTK_INT const sym_handle, - CCTK_INT const *const which_faces, - CCTK_INT const *const new_symmetry_zone_width) + CCTK_INT const sym_handle, + CCTK_INT const *const which_faces, + CCTK_INT const *const new_symmetry_zone_width) { cGH const *const cctkGH = cctkGH_; struct SymBase const *symdata; @@ -259,10 +259,10 @@ SymBase_SymmetryRegisterGrid (CCTK_POINTER const cctkGH_, CCTK_INT SymBase_SymmetryRegisterGI (CCTK_POINTER const cctkGH_, - CCTK_INT const sym_handle, - CCTK_INT const *const which_faces, - CCTK_INT const *const new_symmetry_zone_width, - CCTK_INT const group_index) + CCTK_INT const sym_handle, + CCTK_INT const *const which_faces, + CCTK_INT const *const new_symmetry_zone_width, + CCTK_INT const group_index) { cGH const *const cctkGH = cctkGH_; struct SymBase const *symdata; @@ -280,13 +280,13 @@ SymBase_SymmetryRegisterGI (CCTK_POINTER const cctkGH_, if (group_index < 0 || group_index >= CCTK_NumGroups ()) { - return -6; /* illegal argument */ + return -6; /* illegal argument */ } switch (CCTK_GroupTypeI (group_index)) { case CCTK_GF: - return -7; /* illegal group type */ + return -7; /* illegal group type */ case CCTK_SCALAR: case CCTK_ARRAY: return SymBase_SymmetryRegisterFaces @@ -296,7 +296,7 @@ SymBase_SymmetryRegisterGI (CCTK_POINTER const cctkGH_, CCTK_WARN (0, "internal error"); } - return -8; /* internal error */ + return -8; /* internal error */ } @@ -344,17 +344,17 @@ SymBase_SymmetryRegisterGI (CCTK_POINTER const cctkGH_, CCTK_INT SymBase_SymmetryRegisterGN (CCTK_POINTER const cctkGH_, - CCTK_INT const sym_handle, - CCTK_INT const *const which_faces, - CCTK_INT const *const new_symmetry_zone_width, - CCTK_STRING const group_name) + CCTK_INT const sym_handle, + CCTK_INT const *const which_faces, + CCTK_INT const *const new_symmetry_zone_width, + CCTK_STRING const group_name) { int group_index; group_index = CCTK_GroupIndex (group_name); if (group_index < 0) { - return group_index; /* illegal argument */ + return group_index; /* illegal argument */ } return SymBase_SymmetryRegisterGI |