Skip to content

Commit

Permalink
Update ShearBands.md
Browse files Browse the repository at this point in the history
  • Loading branch information
albert-de-montserrat authored Jul 16, 2024
1 parent 277b3ee commit f11a9a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/src/man/ShearBands.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,8 @@ where `(-Inf, Inf)` is the viscosity cutoff.
free_slip = (left = true, right = true, top = true, bot = true),
no_slip = (left = false, right = false, top = false, bot=false),
)
stokes.V.Vx .= PTArray([ x*εbg for x in xvi[1], _ in 1:ny+2])
stokes.V.Vy .= PTArray([-y*εbg for _ in 1:nx+2, y in xvi[2]])
stokes.V.Vx .= PTArray(backend_JR)([ x*εbg for x in xvi[1], _ in 1:ny+2])
stokes.V.Vy .= PTArray(backend_JR)([-y*εbg for _ in 1:nx+2, y in xvi[2]])
flow_bcs!(stokes, flow_bcs) # apply boundary conditions
update_halo!(@velocity(stokes)...)

Expand Down

0 comments on commit f11a9a2

Please sign in to comment.