diff options
author | rhaas <rhaas@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2012-07-16 19:12:39 +0000 |
---|---|---|
committer | rhaas <rhaas@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2012-07-16 19:12:39 +0000 |
commit | e85e80bdb8bf5a32c017c2c89eebaea96b25980b (patch) | |
tree | b0a57474d1ce1834a59692db3726f7f7bb5f2853 /src/schedule/Schedule.h | |
parent | 8c217ff59b154985a8321420968d9803601ee06a (diff) |
add parameters to reverse un-enforced Cactus schedule ordering
This patch adds two new parameters to the flesh:
* schedule_sort_mode - which affects the order of schedule items before
enforcing BEFORE/AFTER
* schedule_sort_warnings - which outputs warnings if a schedule item refers
to a non-existing item in its BEFORE/AFTER modifiers
Neither one is intended to be used in production runs but they are useful for
debugging a schedule.
schedule_sort_warnings is intended to catch typos in dependency names and when
one tries to order with respect to items hidden within a group. It will find a
number of false positives for items that are only scheduled based on parameter
settings. Eg. MoL's RHS NaN checker.
schedule_sort_mode can be used to ensure that the schedule order does not
depend on the (semi-random) order that Cactus generates for non-enforced
ordering.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4845 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/schedule/Schedule.h')
-rw-r--r-- | src/schedule/Schedule.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/schedule/Schedule.h b/src/schedule/Schedule.h index bea93775..1dd8f7b8 100644 --- a/src/schedule/Schedule.h +++ b/src/schedule/Schedule.h @@ -44,6 +44,8 @@ cHandledData *CCTKi_DoScheduleGetGroups(void); typedef enum {sched_item_none, sched_group, sched_function} t_sched_item_type; +typedef enum {sort_order_none, sort_order_ascending, sort_order_descending} t_sort_order; + typedef struct { char *name; |