diff src/Grids/grid.jl @ 1501:553111a15506 feature/grids/curvilinear

Add some TBDs and TODOs
author Jonatan Werpers <jonatan@werpers.com>
date Fri, 16 Feb 2024 10:28:02 +0100
parents 62f9d0387a2a
children 4df668d00d03
line wrap: on
line diff
--- a/src/Grids/grid.jl	Fri Dec 01 15:01:44 2023 +0100
+++ b/src/Grids/grid.jl	Fri Feb 16 10:28:02 2024 +0100
@@ -132,6 +132,7 @@
     if hasmethod(f, (Any,))
         return LazyTensors.LazyFunctionArray((I...)->f(g[I...]), size(g))
     else
+        # TBD This branch can be removed if we accept the trade off that we define f with the syntax f((x,y)) instead if we don't want to handle the vector in the body of f. (Add an example in the docs)
         return LazyTensors.LazyFunctionArray((I...)->f(g[I...]...), size(g))
     end
 end