comparison src/Grids/geometry.jl @ 2081:efdc4d9391ee feature/sbp_operators/laplace_curvilinear tip

Merge default
author Jonatan Werpers <jonatan@werpers.com>
date Wed, 25 Feb 2026 10:43:46 +0100
parents 6797a6cb1da7
children
comparison
equal deleted inserted replaced
2076:832580b6d548 2081:efdc4d9391ee
52 52
53 """ 53 """
54 LineSegment(a,b) 54 LineSegment(a,b)
55 55
56 A line segment, as a callable object, from `a` to `b`. 56 A line segment, as a callable object, from `a` to `b`.
57 The parametrization is ``l(s) = (1-s)a + s*b`` where ``s∈(0,1)``. 57 The parametrization is ``l(s) = (1-s)a + s*b``.
58 58
59 # Example 59 # Example
60 ```julia-repl 60 ```julia-repl
61 julia> l = Grids.LineSegment([1,1],[2,1]) 61 julia> l = Grids.LineSegment([1,1],[2,1])
62 Diffinitive.Grids.LineSegment{StaticArraysCore.SVector{2, Int64}}([1, 1], [2, 1]) 62 Diffinitive.Grids.LineSegment{StaticArraysCore.SVector{2, Int64}}([1, 1], [2, 1])