Curvilinear grid