Things like this that are specific to odes or pdes should stay in their respective files.