A variational method for generating multidimensional adaptive grids | lit.salon