Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
albert-de-montserrat committed Apr 23, 2024
1 parent 6a53e8b commit 7ddc4ac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/IO/VTK.jl
Original file line number Diff line number Diff line change
Expand Up @@ -89,4 +89,4 @@ function save_vtk(fname::String, xi, data::NamedTuple)
end

return nothing
end
end
4 changes: 2 additions & 2 deletions src/stokes/VelocityKernels.jl
Original file line number Diff line number Diff line change
Expand Up @@ -206,12 +206,12 @@ end
Vx[i + 1, j + 1, k + 1] += Rx_ijk * ηdτ / av_x(ητ)
end
if all((i, j, k) .< size(Vy) .- 1)
Ry_ijk =
Ry_ijk =
Ry[i, j, k] =
_dx * (τxy[i + 1, j + 1, k] - τxy[i, j + 1, k]) +
_dy * (τyy[i, j + 1, k] - τyy[i, j, k]) +
_dz * (τyz[i, j + 1, k + 1] - τyz[i, j + 1, k]) - d_ya(P) - av_y(fy)
Vy[i + 1, j + 1, k + 1] += Ry_ijk * ηdτ / av_y(ητ)
Vy[i + 1, j + 1, k + 1] += Ry_ijk * ηdτ / av_y(ητ)
end
if all((i, j, k) .< size(Vz) .- 1)
Rz_ijk =
Expand Down

0 comments on commit 7ddc4ac

Please sign in to comment.