Skip to content

Commit

Permalink
more format
Browse files Browse the repository at this point in the history
  • Loading branch information
albert-de-montserrat committed Nov 27, 2024
1 parent dbd7ecc commit 3c24dc7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/stokes/Stokes2D.jl
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ function _solve!(

@parallel (@idx ni .+ 1) multi_copy!(@tensor(stokes.τ_o), @tensor(stokes.τ))
@parallel (@idx ni) multi_copy!(@tensor_center(stokes.τ_o), @tensor_center(stokes.τ))

return (
iter=iter,
err_evo1=err_evo1,
Expand Down Expand Up @@ -258,7 +258,7 @@ function _solve!(
println("Pseudo-transient iterations converged in $iter iterations")
end
end

@parallel (@idx ni .+ 1) multi_copy!(@tensor(stokes.τ_o), @tensor(stokes.τ))
@parallel (@idx ni) multi_copy!(@tensor_center(stokes.τ_o), @tensor_center(stokes.τ))

Expand Down
2 changes: 1 addition & 1 deletion src/stokes/Stokes3D.jl
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ function _solve!(

@parallel (@idx ni .+ 1) multi_copy!(@tensor(stokes.τ_o), @tensor(stokes.τ))
@parallel (@idx ni) multi_copy!(@tensor_center(stokes.τ_o), @tensor_center(stokes.τ))

return (
iter=iter,
err_evo1=err_evo1,
Expand Down

0 comments on commit 3c24dc7

Please sign in to comment.