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)=0. |
69 |
|
OBSeta(I,bi,bj)=0. |
70 |
|
ENDDO |
71 |
|
DO J=1-Oly,sNy+Oly |
72 |
|
OBEeta(J,bi,bj)=0. |
73 |
|
OBWeta(J,bi,bj)=0. |
74 |
|
ENDDO |
75 |
|
#endif /* NONLIN_FRSURF */ |
76 |
|
|
77 |
#ifdef ALLOW_ORLANSKI |
#ifdef ALLOW_ORLANSKI |
78 |
IF (useOrlanskiNorth.OR.useOrlanskiSouth.OR. |
IF (useOrlanskiNorth.OR.useOrlanskiSouth.OR. |
79 |
& useOrlanskiEast.OR.useOrlanskiWest) THEN |
& useOrlanskiEast.OR.useOrlanskiWest) THEN |
87 |
C-- Apply OBCS values to initial conditions for consistancy |
C-- Apply OBCS values to initial conditions for consistancy |
88 |
DO bj = myByLo(myThid), myByHi(myThid) |
DO bj = myByLo(myThid), myByHi(myThid) |
89 |
DO bi = myBxLo(myThid), myBxHi(myThid) |
DO bi = myBxLo(myThid), myBxHi(myThid) |
90 |
CALL OBCS_CALC( bi, bj, startTime, |
CALL OBCS_CALC( bi, bj, startTime, nIter0, |
91 |
& uVel, vVel, wVel, theta, salt, myThid ) |
& uVel, vVel, wVel, theta, salt, myThid ) |
92 |
DO K=1,Nr |
DO K=1,Nr |
93 |
CALL OBCS_APPLY_UV( bi, bj, k, uVel, vVel, myThid ) |
CALL OBCS_APPLY_UV( bi, bj, k, uVel, vVel, myThid ) |