Skip to content

Commit

Permalink
refactor(xt3d): accumulate flowja instead of set (#306)
Browse files Browse the repository at this point in the history
This change is required for transport, which accumulates terms in flowja
  • Loading branch information
langevin-usgs authored Feb 12, 2020
1 parent ef46069 commit 0f2a497
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Model/ModelUtilities/Xt3dInterface.f90
Original file line number Diff line number Diff line change
Expand Up @@ -870,8 +870,8 @@ subroutine xt3d_flowja(this, hnew, flowja)
call this%xt3d_qnbrs(nodes, m, n, nnbr1, inbr1, chat1j, hnew, qnbrs)
qnm = qnm - qnbrs
ipos = ii01
flowja(ipos) = qnm
flowja(this%dis%con%isym(ipos)) = -qnm
flowja(ipos) = flowja(ipos) + qnm
flowja(this%dis%con%isym(ipos)) = flowja(this%dis%con%isym(ipos)) - qnm
enddo
enddo
!
Expand Down

0 comments on commit 0f2a497

Please sign in to comment.