Skip to content

Commit

Permalink
fixed rk3
Browse files Browse the repository at this point in the history
  • Loading branch information
jagoosw committed Aug 29, 2023
1 parent b10a4ec commit 3479ba8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Boundaries/Sediments/coupled_timesteppers.jl
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ end
# blocking step for implicit free surface, non blocking for explicit
ab2_step_free_surface!(model.free_surface, model, Δt, χ)

sediment = model.biogeochemistry.sediment_model
sediment = model.biogeochemistry.sediment
arch = model.architecture

for (i, field) in enumerate(sediment_fields(sediment))
Expand Down Expand Up @@ -97,7 +97,7 @@ function rk3_substep!(model::NonhydrostaticModel{<:Any, <:Any, <:Any, <:Any, <:A
stage_Δt(Δt, γⁿ, ζⁿ))
end

sediment = model.biogeochemistry.sediment_model
sediment = model.biogeochemistry.sediment

for (i, field) in enumerate(sediment_fields(sediment))
launch!(arch, model.grid, :xy, rk3_step_flat_field!,
Expand Down

0 comments on commit 3479ba8

Please sign in to comment.