Grain Boundary Mobility Tensor And Topological Phase Transitions