aboutsummaryrefslogtreecommitdiff
path: root/src/Faces.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/Faces.c')
-rw-r--r--src/Faces.c50
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