diff options
author | rhaas <rhaas@6a38eb6e-646e-4a02-a296-d141613ad6c4> | 2014-04-29 00:57:01 +0000 |
---|---|---|
committer | rhaas <rhaas@6a38eb6e-646e-4a02-a296-d141613ad6c4> | 2014-04-29 00:57:01 +0000 |
commit | bddf82bdb58b23522e76bfbd3eea602d7fb20316 (patch) | |
tree | 3e50702b28e74763251342d1d67b8be927d2c77f | |
parent | d0f68338ef003543b406a48b231bcf19bb45a338 (diff) |
correct 1d, 2d boundary handlingsvn
since rev 309 1d and 2d evolutions would not apply the boundary condition
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@327 6a38eb6e-646e-4a02-a296-d141613ad6c4
-rw-r--r-- | src/CopyBoundary.c | 4 | ||||
-rw-r--r-- | src/FlatBoundary.c | 4 | ||||
-rw-r--r-- | src/ScalarBoundary.c | 4 | ||||
-rw-r--r-- | src/StaticBoundary.c | 4 |
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 */ |