Skip to content

Commit c2b4fcd

Browse files
NoraLooseglwagner
andauthored
Fix location of streamfunction
Co-authored-by: Gregory L. Wagner <[email protected]>
1 parent 5b34320 commit c2b4fcd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_zstar_coordinate.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ function make_tripolar_test_model(arch; with_wind = false)
290290

291291
# Instead of initializing with random velocities, infer them from a random initial streamfunction
292292
# to ensure the velocity field is divergence-free at initialization.
293-
ψ = Field{Center, Center, Center}(grid)
293+
ψ = Field{Face, Face, Center}(grid)
294294
set!(ψ, rand(size(ψ)...))
295295
uᵢ = ∂y(ψ)
296296
vᵢ = -∂x(ψ)

0 commit comments

Comments
 (0)