Move all parameters related to spatial discretization into the initialize routines and save them in the param typedef.