Stav dette: Geometric adaptive functionals for structured grid generation