File tree Expand file tree Collapse file tree 1 file changed +5
-10
lines changed Expand file tree Collapse file tree 1 file changed +5
-10
lines changed Original file line number Diff line number Diff line change @@ -388,11 +388,9 @@ for op in (:transform, :project)
388388 $ op (
389389 ax:: CovariantAxis ,
390390 v:: ContravariantTensor ,
391- local_geometry:: LocalGeometry ,
392- ) = $ op (
393- ax,
394- local_geometry. gᵢⱼ * $ op (dual (axes (local_geometry.∂x∂ξ, 2 )), v),
395- )
391+ local_geometry:: LocalGeometry{I} ,
392+ ) where {I} =
393+ $ op (ax, local_geometry. gᵢⱼ * $ op (ContravariantAxis {I} (), v))
396394
397395 $ op (ato:: CovariantAxis , v:: CovariantTensor , :: LocalGeometry ) =
398396 $ op (ato, v)
407405transform (
408406 ax:: ContravariantAxis ,
409407 v:: CovariantTensor ,
410- local_geometry:: LocalGeometry ,
411- ) = project (
412- ax,
413- local_geometry. gⁱʲ * project (dual (axes (local_geometry.∂ξ∂x, 1 )), v),
414- )
408+ local_geometry:: LocalGeometry{I} ,
409+ ) where {I} = project (ax, local_geometry. gⁱʲ * project (CovariantAxis {I} (), v))
415410
416411@generated function project (
417412 ax:: ContravariantAxis{Ito} ,
You can’t perform that action at this time.
0 commit comments