comparison src/Grids/manifolds.jl @ 1964:3fb5b03162ee feature/grids/manifolds

Implement an error hint for MethodError with Grids.jacobian
author Jonatan Werpers <jonatan@werpers.com>
date Tue, 11 Feb 2025 15:46:29 +0100
parents dd77b45ee1ac
children ebe883807b62
comparison
equal deleted inserted replaced
1963:624e19c20c19 1964:3fb5b03162ee
29 jacobian(c::typeof(c),ξ) = f′(ξ) 29 jacobian(c::typeof(c),ξ) = f′(ξ)
30 ``` 30 ```
31 which will both allow calling `jacobian(c,ξ)`. 31 which will both allow calling `jacobian(c,ξ)`.
32 """ 32 """
33 jacobian(c::Chart, ξ) = jacobian(c.mapping, ξ) 33 jacobian(c::Chart, ξ) = jacobian(c.mapping, ξ)
34 # TBD: Can we register a error hint for when jacobian is called with a function that doesn't have a registered jacobian?
35 34
36 boundary_identifiers(c::Chart) = boundary_identifiers(parameterspace(c)) 35 boundary_identifiers(c::Chart) = boundary_identifiers(parameterspace(c))
37 36
38 37
39 """ 38 """