File indexing completed on 2018-03-02 18:41:31 UTC
view on githubraw file Latest commit add29e06 on 2018-01-31 20:35:05 UTC
5da8ce63fa Dimi*0001 #include "ICEFRONT_OPTIONS.h"
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012 SUBROUTINE ICEFRONT_TENDENCY_APPLY_T(
73b1dccda0 Jean*0013 U gT_arr,
0014 I k, bi, bj, myTime, myIter, myThid )
5da8ce63fa Dimi*0015
0016
e5c5488a84 Dimi*0017
0018
5da8ce63fa Dimi*0019
0020
0021 IMPLICIT NONE
0022 #include "SIZE.h"
0023 #include "EEPARAMS.h"
73b1dccda0 Jean*0024
0025
5da8ce63fa Dimi*0026 #include "ICEFRONT.h"
0027
73b1dccda0 Jean*0028
0029
0030
0031
0032
0033
0034
0035 _RL gT_arr(1-OLx:sNx+OLx,1-OLy:sNy+OLy)
0036 INTEGER k, bi, bj
0037 _RL myTime
0038 INTEGER myIter
0039 INTEGER myThid
5da8ce63fa Dimi*0040
0041
0042
0043 INTEGER i, j
0044
8126484198 Dimi*0045 IF ( applyIcefrontTendT ) THEN
0046 DO j=1,sNy
0047 DO i=1,sNx
73b1dccda0 Jean*0048 IF ( k .LE. k_icefront(i,j,bi,bj) ) THEN
0049 gT_arr(i,j) = gT_arr(i,j)
8126484198 Dimi*0050 & + ICEFRONT_TendT(i,j,k,bi,bj)
0051 ENDIF
5da8ce63fa Dimi*0052 ENDDO
8126484198 Dimi*0053 ENDDO
5da8ce63fa Dimi*0054 ENDIF
0055
0056 RETURN
0057 END
0058
0059
0060
0061
0062
0063
0064 SUBROUTINE ICEFRONT_TENDENCY_APPLY_S(
73b1dccda0 Jean*0065 U gS_arr,
0066 I k, bi, bj, myTime, myIter, myThid )
5da8ce63fa Dimi*0067
0068
e5c5488a84 Dimi*0069
0070
5da8ce63fa Dimi*0071
0072
0073 IMPLICIT NONE
0074 #include "SIZE.h"
0075 #include "EEPARAMS.h"
73b1dccda0 Jean*0076
0077
5da8ce63fa Dimi*0078 #include "ICEFRONT.h"
0079
73b1dccda0 Jean*0080
0081
0082
0083
0084
0085
0086
0087 _RL gS_arr(1-OLx:sNx+OLx,1-OLy:sNy+OLy)
0088 INTEGER k, bi, bj
0089 _RL myTime
0090 INTEGER myIter
0091 INTEGER myThid
5da8ce63fa Dimi*0092
0093
0094
0095 INTEGER i, j
0096
8126484198 Dimi*0097 IF ( applyIcefrontTendS ) THEN
0098 DO j=1,sNy
0099 DO i=1,sNx
73b1dccda0 Jean*0100 IF ( k .LE. k_icefront(i,j,bi,bj) ) THEN
0101 gS_arr(i,j) = gS_arr(i,j)
8126484198 Dimi*0102 & + ICEFRONT_TendS(i,j,k,bi,bj)
0103 ENDIF
5da8ce63fa Dimi*0104 ENDDO
8126484198 Dimi*0105 ENDDO
5da8ce63fa Dimi*0106 ENDIF
0107
0108 RETURN
0109 END