Curvilinear coordinates functions