Skip to content

Commit

Permalink
Change formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
utkinis committed Oct 18, 2023
1 parent 8f888ae commit bb2a5d1
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions scripts_future_API/benchmark_diffusion_3D.jl
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,8 @@ function diffusion_3D(ka_backend=CPU())
end
# time loop
for it in 1:nt
launch!(arch, grid, update_qC! => (qC, C, dc, Δ);
location=Vertex(), hide_boundaries, boundary_conditions=bc_q, outer_width)
launch!(arch, grid, update_C! => (C, qC, dt, Δ);
location=Center(), hide_boundaries, boundary_conditions=bc_c, outer_width)
launch!(arch, grid, update_qC! => (qC, C, dc, Δ); location=Vertex(), hide_boundaries, boundary_conditions=bc_q, outer_width)
launch!(arch, grid, update_C! => (C, qC, dt, Δ); location=Center(), hide_boundaries, boundary_conditions=bc_c, outer_width)
Architectures.synchronize(arch)
end

Expand Down

0 comments on commit bb2a5d1

Please sign in to comment.