comparison src/Grids/geometry.jl @ 1983:730c9848ad0b feature/grids/geometry_functions

Update docstring for check_transfiniteinterpolation
author Jonatan Werpers <jonatan@werpers.com>
date Wed, 26 Feb 2025 22:50:52 +0100
parents 486b3c6f919e
children d0b6c63c506e
comparison
equal deleted inserted replaced
1982:486b3c6f919e 1983:730c9848ad0b
194 throw(ArgumentError("The end of each curve in the transfinite interpolation should be the same as the beginning of the next curve.")) 194 throw(ArgumentError("The end of each curve in the transfinite interpolation should be the same as the beginning of the next curve."))
195 end 195 end
196 end 196 end
197 197
198 """ 198 """
199 check_transfiniteinterpolation(::Type{Bool}, s::TransfiniteInterpolationSurface) 199 check_transfiniteinterpolation(Bool, s::TransfiniteInterpolationSurface)
200 200
201 Return true if the ends of the curves in the transfinite interpolation match. 201 Return true if the ends of the curves in the transfinite interpolation match.
202 """ 202 """
203 function check_transfiniteinterpolation(::Type{Bool}, s::TransfiniteInterpolationSurface) 203 function check_transfiniteinterpolation(::Type{Bool}, s::TransfiniteInterpolationSurface)
204 if !isapprox(s.c₁(1), s.c₂(0)) 204 if !isapprox(s.c₁(1), s.c₂(0))