diff options
author | goodale <goodale@b61c5cb5-eaca-4651-9a7a-d64986f99364> | 2000-03-31 08:41:22 +0000 |
---|---|---|
committer | goodale <goodale@b61c5cb5-eaca-4651-9a7a-d64986f99364> | 2000-03-31 08:41:22 +0000 |
commit | 39c59ca314108602de8128628d5d517327418375 (patch) | |
tree | 1d37c10f4b488e77d2e985e3b200731b4d58c2ce /src/Comm.c | |
parent | 570af8fc3f71b52bb8138d8c41d280aa05b543fb (diff) |
Finxing PUGH to sync nect timelevel, not current one. The current timelevel
should never be touched.
Tom
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@191 b61c5cb5-eaca-4651-9a7a-d64986f99364
Diffstat (limited to 'src/Comm.c')
-rw-r--r-- | src/Comm.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -98,6 +98,7 @@ int pugh_SyncGroup (cGH *GH, const char *groupname) /* get the group info from its index */ CCTK_GroupData (group,&pgroup); +#if 0 /* Compute the timelevel to synchronize */ if (pgroup.numtimelevels > 1) { @@ -107,6 +108,9 @@ int pugh_SyncGroup (cGH *GH, const char *groupname) { timelevel = pgroup.numtimelevels - 1; } +#endif + + timelevel = pgroup.numtimelevels - 1; /* branch to synchronization function according to group type */ switch (pgroup.grouptype) |