diff options
author | goodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2000-01-28 00:30:21 +0000 |
---|---|---|
committer | goodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2000-01-28 00:30:21 +0000 |
commit | f1f39cd45e7df297d61e9a9b70528b01de1d8e28 (patch) | |
tree | 4c499f3f25127956bf263da99c7fa6274adbfbc3 /src | |
parent | 9e7d1e7e41edf992a143e6c91638f71f170199b5 (diff) |
Now synchronises variable groups on exit from a schedule group.
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1323 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src')
-rw-r--r-- | src/main/ScheduleInterface.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main/ScheduleInterface.c b/src/main/ScheduleInterface.c index e5b960f5..c29d22aa 100644 --- a/src/main/ScheduleInterface.c +++ b/src/main/ScheduleInterface.c @@ -1190,6 +1190,12 @@ static int CCTKi_ScheduleCallExit(t_attribute *attribute, { if(!attribute->CommOnEntry[i]) CCTK_DisableGroupCommI(data->GH,attribute->comm_groups[i]); } + + /* Synchronise variable groups associated with this schedule group. */ + + CCTK_SyncGroupsI(data->GH, + attribute->FunctionData.n_SyncGroups, + attribute->FunctionData.SyncGroups); } return 1; |