Inhomogeneous Magnetization# In this tutorial we will show how to deal with inhomogeneous magnetization with discretization.