Incorrect output from broadcast expression with conversion
Open
bug
Purely single column support
- Dominant language
- Julia
- Stars
- 117
- Forks
- 19
- Avg merge
- 3d 4h
- Merged PRs (30d)
- 41
Description
Reproducer:
```julia
using ClimaCore.CommonSpaces
using ClimaCore: Geometry, Fields
FT = Float64
space = ColumnSpace(FT;
z_elem = 10,
z_min = 0,
z_max = 10,
staggering = CellCenter()
)
const CTh = Geometry.Contravariant12Vector
ᶜuₕ = Fields.Field(Geometry.Covariant12Vector{FT}, space)
∂ᶜK_∂ᶜuₕ = Fields.Field(Geometry.Contravariant12Vector{FT}, space)
@. ∂ᶜK_∂ᶜuₕ = CTh(ᶜuₕ)
```
This is a reproducer that @dennisYatunin and I conjured up, which needs fixed for supporting FiniteDifferenceSpace simulations in ClimaAtmos.
cc @imreddyTeja
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.