aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorschnetter <schnetter@20f44201-0f4f-0410-9130-e5fc2714a787>2005-05-10 08:40:52 +0000
committerschnetter <schnetter@20f44201-0f4f-0410-9130-e5fc2714a787>2005-05-10 08:40:52 +0000
commitb244ba5d56477476abe9015e1ef00766b9f96cd0 (patch)
treed91d084193a0a252dea9e6e27b1e4caef0a8e222 /src
parentcf42eef60ff3335c9d5915837ed270faf4466c54 (diff)
Some reformatting.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/RotatingSymmetry180/trunk@20 20f44201-0f4f-0410-9130-e5fc2714a787
Diffstat (limited to 'src')
-rw-r--r--src/rotatingsymmetry180.c8
-rw-r--r--src/rotatingsymmetry180.h1
2 files changed, 5 insertions, 4 deletions
diff --git a/src/rotatingsymmetry180.c b/src/rotatingsymmetry180.c
index e0140d1..d37ca5b 100644
--- a/src/rotatingsymmetry180.c
+++ b/src/rotatingsymmetry180.c
@@ -368,7 +368,7 @@ void Rot180_ApplyBC (CCTK_ARGUMENTS)
CCTK_INT * restrict faces;
CCTK_INT * restrict widths;
CCTK_INT * restrict tables;
- int i;
+ int var;
int ierr;
assert (cctkGH);
@@ -389,9 +389,9 @@ void Rot180_ApplyBC (CCTK_ARGUMENTS)
(cctkGH, nvars, indices, faces, widths, tables, 0);
assert (ierr == nvars);
- for (i=0; i<nvars; ++i) {
- assert (indices[i]>=0 && indices[i]<CCTK_NumVars());
- assert (widths[i] >= 0);
+ for (var=0; var<nvars; ++var) {
+ assert (indices[var]>=0 && indices[var]<CCTK_NumVars());
+ assert (widths[var] >= 0);
}
ierr = BndRot180VI (cctkGH, nvars, indices);
diff --git a/src/rotatingsymmetry180.h b/src/rotatingsymmetry180.h
index 9e01060..e33770a 100644
--- a/src/rotatingsymmetry180.h
+++ b/src/rotatingsymmetry180.h
@@ -11,6 +11,7 @@ void Rot180_RegisterSymmetry (CCTK_ARGUMENTS);
int BndRot180VI (cGH const * restrict const cctkGH,
int const nvars,
CCTK_INT const * restrict const vis);
+
void Rot180_ApplyBC (CCTK_ARGUMENTS);
CCTK_INT