In ana_psource.f, the location of the river fluxes is defined with the following code:
Code: Select all
!
!-----------------------------------------------------------------------
! If initialization, set point Sources and/or Sinks locations.
!-----------------------------------------------------------------------
!
IF (iic(ng).eq.ntstart(ng)) THEN
!
Code: Select all
SOURCES(ng)%Qshape(is,k)=cff* &
& (z_w(i,j-1,k )- &
& z_w(i,j-1,k-1 )+ &
...
To fix this, we can change the test for initialization in ana_psource.h to
Code: Select all
!
!-----------------------------------------------------------------------
! If initialization, set point Sources and/or Sinks locations.
!-----------------------------------------------------------------------
!
IF ((iic(ng).eq.ntstart(ng)).or.(iic(ng).eq.0)) THEN
Cheers,
Jamie