projection the global solution into local dofs corresponding to each patch