aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/CopyBoundary.c4
-rw-r--r--src/FlatBoundary.c4
-rw-r--r--src/ScalarBoundary.c4
-rw-r--r--src/StaticBoundary.c4
4 files changed, 8 insertions, 8 deletions
diff --git a/src/CopyBoundary.c b/src/CopyBoundary.c
index ec00d40..a4b9c06 100644
--- a/src/CopyBoundary.c
+++ b/src/CopyBoundary.c
@@ -1149,8 +1149,8 @@ static int ApplyBndCopy (const cGH *GH,
so that we can use the INDEX_3D macro later on */
for (i = gdim; i < MAXDIM; i++)
{
- ash[i] = 0;
- lsh[i] = 0;
+ ash[i] = 1;
+ lsh[i] = 1;
}
/* get the current timelevel */
diff --git a/src/FlatBoundary.c b/src/FlatBoundary.c
index 15ee474..8229103 100644
--- a/src/FlatBoundary.c
+++ b/src/FlatBoundary.c
@@ -975,8 +975,8 @@ static int ApplyBndFlat (const cGH *GH,
so that we can use the INDEX_3D macro later on */
for (i = gdim; i < MAXDIM; i++)
{
- ash[i] = 0;
- lsh[i] = 0;
+ ash[i] = 1;
+ lsh[i] = 1;
}
/* get the current timelevel */
diff --git a/src/ScalarBoundary.c b/src/ScalarBoundary.c
index ea83742..270f782 100644
--- a/src/ScalarBoundary.c
+++ b/src/ScalarBoundary.c
@@ -1114,8 +1114,8 @@ static int ApplyBndScalar (const cGH *GH,
so that we can use the INDEX_3D macro later on */
for (i = gdim; i < MAXDIM; i++)
{
- ash[i] = 0;
- lsh[i] = 0;
+ ash[i] = 1;
+ lsh[i] = 1;
}
/* get the current timelevel */
diff --git a/src/StaticBoundary.c b/src/StaticBoundary.c
index 4ac2879..58a0a28 100644
--- a/src/StaticBoundary.c
+++ b/src/StaticBoundary.c
@@ -994,8 +994,8 @@ static int ApplyBndStatic (const cGH *GH,
so that we can use the INDEX_3D macro later on */
for (i = gdim; i < MAXDIM; i++)
{
- ash[i] = 0;
- lsh[i] = 0;
+ ash[i] = 1;
+ lsh[i] = 1;
}
/* get the current timelevel */