diff options
author | schnetter <schnetter@b61c5cb5-eaca-4651-9a7a-d64986f99364> | 2005-04-18 08:08:11 +0000 |
---|---|---|
committer | schnetter <schnetter@b61c5cb5-eaca-4651-9a7a-d64986f99364> | 2005-04-18 08:08:11 +0000 |
commit | fbff190c5ffd966aa60c32ad3444b56f0df37c51 (patch) | |
tree | 9fa7a04e4edc1a80f5284be2d8b8b95fbea8ee3e /src/SetupPGV.c | |
parent | 0e3f3eb04f91f42bbf2b4c4abfd442ee79a2bb4e (diff) |
Set cctk_bbox to zero for periodic boundaries.
This closes PR 483.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@465 b61c5cb5-eaca-4651-9a7a-d64986f99364
Diffstat (limited to 'src/SetupPGV.c')
-rw-r--r-- | src/SetupPGV.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/SetupPGV.c b/src/SetupPGV.c index 6e01908..8475475 100644 --- a/src/SetupPGV.c +++ b/src/SetupPGV.c @@ -934,6 +934,8 @@ static int PUGH_SetupPGExtrasOwnership(int dim, this->ownership[PUGH_VERTEXCTR][0][dir] = this->nghostzones[dir]; this->ownership[PUGH_VERTEXCTR][1][dir] = this->lnsize[dir] - this->nghostzones[dir]; + this->bbox[2*dir+0] = 0; + this->bbox[2*dir+1] = 0; /* sanity check for periodic BC */ if (this->ownership[PUGH_VERTEXCTR][1][dir] - |