elems_to_exclude holds dof_id_types.