make realspace_grid_types independet from input_section_types