Changeset 1959 for LMDZ5/trunk/libf/dyn3d_common
- Timestamp:
- Feb 7, 2014, 10:37:38 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/libf/dyn3d_common/disvert.F90
r1952 r1959 50 50 call getin('vert_sampling', vert_sampling) 51 51 print *, 'vert_sampling = ' // vert_sampling 52 if (llm==39 .and. vert_sampling=="strato") then 53 dsigmin=0.3 ! Vieille option par défaut pour CMIP5 54 else 55 dsigmin=1. 56 endif 57 call getin('dsigmin', dsigmin) 58 WRITE(LUNOUT,*) trim(modname), 'Discretisation verticale DSIGMIN=',dsigmin 59 52 60 53 61 select case (vert_sampling) … … 86 94 87 95 ap = pa * (sig - bp) 96 case("sigma") 97 DO l = 1, llm 98 x = 2*asin(1.) * (l - 0.5) / (llm + 1) 99 dsig(l) = dsigmin + 7.0 * SIN(x)**2 100 ENDDO 101 dsig = dsig / sum(dsig) 102 sig(llm+1) = 0. 103 DO l = llm, 1, -1 104 sig(l) = sig(l+1) + dsig(l) 105 ENDDO 106 107 bp(1)=1. 108 bp(2: llm) = sig(2:llm) 109 bp(llmp1) = 0. 110 ap(:)=0. 88 111 case("tropo") 89 112 DO l = 1, llm 90 113 x = 2*asin(1.) * (l - 0.5) / (llm + 1) 91 dsig(l) = 1.0+ 7.0 * SIN(x)**2114 dsig(l) = dsigmin + 7.0 * SIN(x)**2 92 115 ENDDO 93 116 dsig = dsig / sum(dsig) … … 104 127 ap(2: llm + 1) = pa * (sig(2: llm + 1) - bp(2: llm + 1)) 105 128 case("strato") 106 if (llm==39) then107 dsigmin=0.3108 else if (llm==50) then109 dsigmin=1.110 else111 write(lunout,*) trim(modname), ' ATTENTION discretisation z a ajuster'112 dsigmin=1.113 endif114 WRITE(LUNOUT,*) trim(modname), 'Discretisation verticale DSIGMIN=',dsigmin115 116 129 DO l = 1, llm 117 130 x = 2*asin(1.) * (l - 0.5) / (llm + 1)
Note: See TracChangeset
for help on using the changeset viewer.