diff src/Grids/geometry.jl @ 1974:3ed7ca1f60c4 feature/grids/geometry_functions

Implement Grids.jacobian for Line
author Jonatan Werpers <jonatan@werpers.com>
date Tue, 25 Feb 2025 22:39:28 +0100
parents 8e9575b518a1
children 79adad4a15d6
line wrap: on
line diff
--- a/src/Grids/geometry.jl	Fri Feb 14 22:19:06 2025 +0100
+++ b/src/Grids/geometry.jl	Tue Feb 25 22:39:28 2025 +0100
@@ -15,6 +15,7 @@
 
 (c::Line)(s) = c.p + s*c.tangent
 
+Grids.jacobian(l::Line, t) = l.tangent
 
 struct LineSegment{PT}
     a::PT