Adaptive grids and grids on surfaces