[refinement] added namelist parameters to control automatic (de)refinement
sketched automaticrefinement routines