| 150 |
vIceNm1(I,J,bi,bj) = vIce(I,J,bi,bj) |
vIceNm1(I,J,bi,bj) = vIce(I,J,bi,bj) |
| 151 |
ENDDO |
ENDDO |
| 152 |
ENDDO |
ENDDO |
| 153 |
IF ( .NOT.SEAICEuseIMEX ) THEN |
C As long as IMEX is not properly implemented leave this commented out |
| 154 |
|
CML IF ( .NOT.SEAICEuseIMEX ) THEN |
| 155 |
C Compute things that do no change during the Newton iteration: |
C Compute things that do no change during the Newton iteration: |
| 156 |
C sea-surface tilt and wind stress: |
C sea-surface tilt and wind stress: |
| 157 |
C FORCEX/Y0 - mass*(abA*u/vIceNm1+abB*(u/vIceNm1-u/vIceNm2))/deltaT |
C FORCEX/Y0 - mass*(1.5*u/vIceNm1+0.5*(u/vIceNm1-u/vIceNm2))/deltaT |
| 158 |
DO J=1-OLy,sNy+OLy |
DO J=1-OLy,sNy+OLy |
| 159 |
DO I=1-OLx,sNx+OLx |
DO I=1-OLx,sNx+OLx |
| 160 |
FORCEX(I,J,bi,bj) = FORCEX0(I,J,bi,bj) |
FORCEX(I,J,bi,bj) = FORCEX0(I,J,bi,bj) |
| 163 |
& + seaiceMassV(I,J,bi,bj)*dvIcNm1(I,J,bi,bj)*recip_deltaT |
& + seaiceMassV(I,J,bi,bj)*dvIcNm1(I,J,bi,bj)*recip_deltaT |
| 164 |
ENDDO |
ENDDO |
| 165 |
ENDDO |
ENDDO |
| 166 |
ENDIF |
CML ENDIF |
| 167 |
ENDDO |
ENDDO |
| 168 |
ENDDO |
ENDDO |
| 169 |
C Start nonlinear Newton iteration: outer loop iteration |
C Start nonlinear Newton iteration: outer loop iteration |