====================== Spatial discretization ======================