Hello,
Hum, I do not know, it looks good now. Try to see if the problem is really in propag.f :
add DEBUGGER = 1 in your steering file.
You can also put prints :
IF(.NOT.ALREADY) THEN
open(97,file='F:\OpenTelemac\tanya\h.TXT',form='FORMATTED)
open(98,file='F:\OpenTelemac\tanya\u.TXT',form='FORMATTED)
open(99,file='F:\OpenTelemac\tanya\v.TXT',form='FORMATTED)
PRINT*,'FILES OPENED'
ALREADY=.TRUE.
ENDIF
! should not be more than 1861, declared size of tmp1,...
PRINT*,'NPOIN=',NPOIN
! this is not useful
! CALL OS( 'X=C ' , U , U , U , 0.D0 )
! CALL OS( 'X=C ' , V , V , V , 0.D0 )
! CALL OS( 'X=C ' , H , H , H , 0.D0 )
READ(97,*) (tmp1(KK),KK=1,NPOIN)
PRINT*,'READ(97,*) OK'
READ(98,*) (tmp2(KK),KK=1,NPOIN)
PRINT*,'READ(98,*) OK'
READ(99,*) (tmp3(KK),KK=1,NPOIN)
PRINT*,'READ(99,*) OK'
DO KK=1,NPOIN
H%R(KK)=tmp1(KK)
U%R(KK)=-tmp2(KK)
V%R(KK)=tmp3(KK)
ENDDO
You should also check what is done in condin.f, because propag happens a bit late in the time loop, and maybe you have to initialise H, U and V also in condin.f (in this case if you copy part of what is in propag.f, do not forget to close the 3 files 97,98,99 at the end of condin.f).
regards,
JMH