Topological correspondence between magnetic space group representations and subdimensions