Skip to content

Commit

Permalink
Update langmuir_turbulence.jl
Browse files Browse the repository at this point in the history
Resolves #1004 

Thanks @BrodiePearson!
  • Loading branch information
glwagner authored Sep 30, 2020
1 parent 125a2a1 commit 87ec091
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/langmuir_turbulence.jl
Original file line number Diff line number Diff line change
Expand Up @@ -273,9 +273,9 @@ anim = @animate for (i, iter) in enumerate(iterations)

@info "Drawing frame $i from iteration $iter \n"

## Load 3D fields from file, omitting halo regions
w = file["timeseries/w/$iter"][2:end-1, 2:end-1, 2:end-1]
u = file["timeseries/u/$iter"][2:end-1, 2:end-1, 2:end-1]
## Load 3D fields from file
w = file["timeseries/w/$iter"]
u = file["timeseries/u/$iter"]

## Extract slices
wxy = w[:, :, k]
Expand Down

0 comments on commit 87ec091

Please sign in to comment.