aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/FlatBoundary.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/FlatBoundary.c b/src/FlatBoundary.c
index 5681754..4c2ba00 100644
--- a/src/FlatBoundary.c
+++ b/src/FlatBoundary.c
@@ -1,9 +1,9 @@
/*@@
- @file FlatBoundaryWrappers.c
+ @file FlatBoundary.c
@date Mon Mar 15 15:09:00 1999
- @author Gerd Lanfermann
+ @author Gerd Lanfermann, Gabrielle Allen
@desc
- Flat boundary conditions for a given group or GF
+ Flat boundary conditions for a given GF group or single GF
@enddesc
@@*/
@@ -163,9 +163,9 @@ void ApplyFlat3D(cGH *GH,int *doBC,int *lsh,int *stencil_size,CCTK_REAL *var)
printf("Applying flat boundary for lower x\n");
#endif
- for (k=0;k=lsh[2];k++)
+ for (k=0;k<lsh[2];k++)
{
- for (j=0;j=lsh[1];j++)
+ for (j=0;j<lsh[1];j++)
{
for (sw=0;sw<stencil_size[0];sw++)
{