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)
388
388
$ op (
389
389
ax:: CovariantAxis ,
390
390
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))
396
394
397
395
$ op (ato:: CovariantAxis , v:: CovariantTensor , :: LocalGeometry ) =
398
396
$ op (ato, v)
407
405
transform (
408
406
ax:: ContravariantAxis ,
409
407
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))
415
410
416
411
@generated function project (
417
412
ax:: ContravariantAxis{Ito} ,
You can’t perform that action at this time.
0 commit comments