The first one is a typo in line 826
Code: Select all
DO i=IstrUm2,IstrUm2
Code: Select all
DO i=IstrUm2,Iendp2i
Code: Select all
# ifdef SPLINES_VDIFF
IF (.not.((Hadvection(itrc,ng)%MPDATA).and. &
& (Vadvection(itrc,ng)%MPDATA))) THEN
...
ELSE
# endif
!
! Compute off-diagonal coefficients FC [lambda*dt*Akt/Hz] for the
! implicit vertical diffusion terms at future time step, located
! at horizontal RHO-points and vertical W-points.
! Also set FC at the top and bottom levels.
!
cff=-dt(ng)*lambda
...
DO k=N(ng)-1,1,-1
DO i=Istr,Iend
# ifdef DIAGNOSTICS_TS
cff1=t(i,j,k,nnew,itrc)*oHz(i,j,k)
# endif
DC(i,k)=DC(i,k)-CF(i,k)*DC(i,k+1)
t(i,j,k,nnew,itrc)=DC(i,k)
# ifdef DIAGNOSTICS_TS
DiaTwrk(i,j,k,itrc,iTvdif)=DiaTwrk(i,j,k,itrc,iTvdif)+ &
& t(i,j,k,nnew,itrc)-cff1
# endif
END DO
END DO
# ifdef SPLINES_VDIFF
END IF
# endif