Utility class that helps in the transformation between dofs in the combined space and its enclosed spaces