Changeset 4826
- Timestamp:
- Feb 16, 2024, 12:42:21 PM (11 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/trunk/libf/phylmd/alpale_th.F90
r4089 r4826 53 53 INTEGER :: i 54 54 LOGICAL, SAVE :: first = .TRUE. 55 LOGICAL, SAVE :: multiply_proba_notrig = .FALSE. 55 56 REAL, SAVE :: random_notrig_max=1. 56 57 REAL, SAVE :: cv_feed_area … … 59 60 REAL, DIMENSION(klon) :: tau_trig 60 61 ! 62 !$OMP THREADPRIVATE(multiply_proba_notrig) 61 63 !$OMP THREADPRIVATE(random_notrig_max) 62 64 !$OMP THREADPRIVATE(cv_feed_area) … … 65 67 REAL umexp ! expression of (1.-exp(-x))/x valid for all x, especially when x->0 66 68 REAL x 69 ! 67 70 CHARACTER (LEN=20) :: modname='alpale_th' 68 71 CHARACTER (LEN=80) :: abort_message … … 83 86 !+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 84 87 ! 88 89 IF (first) THEN 90 CALL getin_p('multiply_proba_notrig',multiply_proba_notrig) 91 IF (iflag_clos_bl .LT. 3) THEN 92 random_notrig_max=1. 93 CALL getin_p('random_notrig_max',random_notrig_max) 94 ELSEIF (iflag_clos_bl .EQ. 3) THEN ! (iflag_clos_bl .LT. 3) 95 cv_feed_area = 1.e10 ! m2 96 CALL getin_p('cv_feed_area', cv_feed_area) 97 ENDIF !! (iflag_clos_bl .LT. 3) 98 first=.FALSE. 99 ENDIF 100 85 101 !! 86 102 !! The following 3 lines should be commented if one wants to activate the … … 88 104 !! scheme. 89 105 !! 90 do i=1,klon 106 IF (.NOT.multiply_proba_notrig) THEN 107 DO i=1,klon 91 108 proba_notrig(i)=1. 92 enddo 109 ENDDO 110 ENDIF !! (.NOT.multiply_proba_notrig) 93 111 !! 94 112 !! … … 99 117 ! Original code (Nicolas Rochetin) 100 118 ! -------------------------------- 101 102 IF (first) THEN103 random_notrig_max=1.104 CALL getin_p('random_notrig_max',random_notrig_max)105 first=.FALSE.106 ENDIF107 119 !cc nrlmd le 10/04/2012 108 120 !-----------Stochastic triggering----------- … … 220 232 ! New code with Effective Lifting Power 221 233 ! ------------------------------------- 222 IF (first) THEN223 cv_feed_area = 1.e10 ! m2224 CALL getin_p('cv_feed_area', cv_feed_area)225 first=.FALSE.226 ENDIF227 234 228 235 !-----------Stochastic triggering-----------
Note: See TracChangeset
for help on using the changeset viewer.