Skip to content

Commit c419f8e

Browse files
committed
no Tcomm across solid boundaries
1 parent 68ca9de commit c419f8e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/GhostPoints.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,8 @@ function ghost_points_η_periodic!(::Type{Tcomm},η::Array{T,2}) where {Tcomm,T}
116116
@views @inbounds η[1,:] .= T.(Tcomm.(η[end-1,:]))
117117
@views @inbounds η[end,:] .= T.(Tcomm.(η[2,:]))
118118

119-
@views @inbounds η[:,1] .= T.(Tcomm.(η[:,2]))
120-
@views @inbounds η[:,end] .= T.(Tcomm.(η[:,end-1]))
119+
@views @inbounds η[:,1] .= η[:,2]
120+
@views @inbounds η[:,end] .= η[:,end-1]
121121
end
122122

123123
""" Copy ghost points for η from inside to the halo in the nonperiodic case. """

0 commit comments

Comments
 (0)