diff options
author | goodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2003-02-17 17:28:31 +0000 |
---|---|---|
committer | goodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2003-02-17 17:28:31 +0000 |
commit | 08dc979087660675bc153de2dedd93526dd3b786 (patch) | |
tree | 95c5ab5b6e5166c06bb249f8456b225c78ddcb3d /src/main/ScheduleInterface.c | |
parent | 79673464abf45b44c52656b55c9e5d50df61fd3a (diff) |
Now scheduling a group AS preserves the identity of the group, allowing
people to schedule in the real name and then schedule many aliases of the
group in the same schedule bin or parent group.
Note that you need to do a
make <config>-rebuild
on your configurations after updating with this change.
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3147 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/main/ScheduleInterface.c')
-rw-r--r-- | src/main/ScheduleInterface.c | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/src/main/ScheduleInterface.c b/src/main/ScheduleInterface.c index 90a3dd96..b7607dc2 100644 --- a/src/main/ScheduleInterface.c +++ b/src/main/ScheduleInterface.c @@ -289,7 +289,7 @@ int CCTK_CallFunction(void *function, @vio in @endvar @var name - @vdesc name of function to be scheduled + @vdesc working name of function to be scheduled @vtype const char * @vio in @endvar @@ -438,8 +438,13 @@ int CCTKi_ScheduleFunction(void *function, @enddesc @calls + @var realname + @vdesc real name of group to be scheduled + @vtype const char * + @vio in + @endvar @var name - @vdesc name of group to be scheduled + @vdesc working name of group to be scheduled @vtype const char * @vio in @endvar @@ -518,7 +523,8 @@ int CCTKi_ScheduleFunction(void *function, -1 - memory failure @endreturndesc @@*/ -int CCTKi_ScheduleGroup(const char *name, +int CCTKi_ScheduleGroup(const char *realname, + const char *name, const char *thorn, const char *implementation, const char *description, @@ -553,7 +559,7 @@ int CCTKi_ScheduleGroup(const char *name, if(attribute && (modifier || (n_before == 0 && n_after == 0 && n_while == 0))) { - retcode = CCTKi_DoScheduleGroup(where, name, modifier, (void *)attribute); + retcode = CCTKi_DoScheduleGroup(where, name, realname, modifier, (void *)attribute); #ifdef DEBUG fprintf(stderr, "Scheduled %s at %s\n", name, where); #endif |