Hi,
I am trying to iterate through the boundary nodes in the telemac2d function Q for the variable HN, to check for minimum water depth at previous time step.
However it is required that the array NBOR is passed to the function. Currently Q has only IFRLIQ variable is passed to it.
How can I iterate through the boundary HN values without using NBOR.
I thought of doing the following way, which of course requires NBOR.
HMIN = -1;
DO K=1,NPTFR
IF(NUMLIQ(K).EQ.I) THEN
if( HN%R(NBOR(K)) .LT. HTRESH(I) ) THEN
IF( HN%R(NBOR(K)) < HMIN) then
HMIN = HN%R(NBOR(K))
ENDIF
ENDIF
ENDIF
ENDDO
Is there any other method.
Thanks and regards,
Gourish
File Attachment:
File Name:
qmodf.fFile Size: 5 KB