101 |
& .OR. myIter .EQ. nIter0 |
& .OR. myIter .EQ. nIter0 |
102 |
& ) THEN |
& ) THEN |
103 |
|
|
104 |
|
_BARRIER |
105 |
_BEGIN_MASTER(myThid) |
_BEGIN_MASTER(myThid) |
106 |
|
|
107 |
C If the above condition is met then we need to read in |
C If the above condition is met then we need to read in |
280 |
C slices and they are not planned, either, so the approriate fields |
C slices and they are not planned, either, so the approriate fields |
281 |
C are exchanged after the open boundary conditions have been |
C are exchanged after the open boundary conditions have been |
282 |
C applied. (in DYNAMICS and DO_FIELDS_BLOCKING_EXCHANGES) |
C applied. (in DYNAMICS and DO_FIELDS_BLOCKING_EXCHANGES) |
283 |
C |
_BARRIER |
284 |
C time to read new data? |
|
285 |
|
C end if time to read new data |
286 |
ENDIF |
ENDIF |
287 |
|
|
288 |
C if not periodicForcing |
C if not periodicForcing |
291 |
bWght = 1. _d 0 |
bWght = 1. _d 0 |
292 |
C read boundary values once and for all |
C read boundary values once and for all |
293 |
IF ( myIter .EQ. nIter0 ) THEN |
IF ( myIter .EQ. nIter0 ) THEN |
294 |
|
_BARRIER |
295 |
_BEGIN_MASTER(myThid) |
_BEGIN_MASTER(myThid) |
296 |
C Read constant boundary conditions only for myIter = nIter0 |
C Read constant boundary conditions only for myIter = nIter0 |
297 |
WRITE(msgBuf,'(1X,A,I10,1P1E20.12)') |
WRITE(msgBuf,'(1X,A,I10,1P1E20.12)') |
298 |
& 'OBCS_EXTERNAL_FIELDS_LOAD: Reading new data:', |
& 'OBCS_EXTERNAL_FIELDS_LOAD: Reading initial data:', |
299 |
& myIter, myTime |
& myIter, myTime |
300 |
CALL PRINT_MESSAGE(msgBuf,standardMessageUnit, |
CALL PRINT_MESSAGE(msgBuf,standardMessageUnit, |
301 |
& SQUEEZE_RIGHT,myThid) |
& SQUEEZE_RIGHT,myThid) |
418 |
ENDIF |
ENDIF |
419 |
#endif /* ALLOW_PTRACERS */ |
#endif /* ALLOW_PTRACERS */ |
420 |
_END_MASTER(myThid) |
_END_MASTER(myThid) |
421 |
|
_BARRIER |
422 |
C endif myIter .EQ. nIter0 |
C endif myIter .EQ. nIter0 |
423 |
ENDIF |
ENDIF |
424 |
C endif for periodicForcing |
C endif for periodicForcing |
555 |
ENDDO |
ENDDO |
556 |
ENDDO |
ENDDO |
557 |
ENDDO |
ENDDO |
558 |
ENDDO |
ENDDO |
559 |
|
|
560 |
RETURN |
RETURN |
561 |
END |
END |