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