#217: Improve handling of nonexistent schedule groups --------------------------+------------------------------------------------- Reporter: hinder | Owner: Type: enhancement | Status: new Priority: minor | Milestone: Component: Cactus | Version: Resolution: | Keywords: CST --------------------------+-------------------------------------------------
Comment (by hinder):
The reason this came up was because a user had not updated MoL to a version which included the MoL_PseudoEvolution group, and was using other thorns which critically scheduled functions in that group. So MethodOfLines was being inherited, indicating that the thorn is required, but the group itself did not exist.
My proposal is to make the default that when a function is scheduled in a given group, that group must exist. If a user wants to allow the group not to exist and Cactus to still run, they should specify this explicitly in the schedule.ccl file with some syntax (e.g. "optional").
It seems to me that this is a good way to help the code be more robust and catch user errors automatically at build time.