Pātuhitia tēnei: Geometric adaptive functionals for structured grid generation