Changeset 2126 for trunk/LMDZ.COMMON/libf/dyn3d/integrd.F
- Timestamp:
- Apr 26, 2019, 11:18:52 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.COMMON/libf/dyn3d/integrd.F
r1422 r2126 7 7 & ) 8 8 9 use control_mod, only : planet_type 9 use control_mod, only : planet_type,force_conserv_tracer 10 10 USE comvert_mod, ONLY: ap,bp 11 11 USE comconst_mod, ONLY: pi … … 66 66 REAL vscr( ip1jm ),uscr( ip1jmp1 ),hscr( ip1jmp1 ),pscr(ip1jmp1) 67 67 REAL massescr( ip1jmp1,llm ) 68 REAL :: massratio(ip1jmp1,llm) 68 69 ! REAL finvmasse(ip1jmp1,llm) 69 70 REAL p(ip1jmp1,llmp1) … … 242 243 243 244 endif ! of if (planet_type.eq."earth") 245 246 if (force_conserv_tracer) then 247 ! Ehouarn: try to keep total amont of tracers fixed 248 ! by acounting for mass change in each cell 249 massratio(1:ip1jmp1,1:llm)=massescr(1:ip1jmp1,1:llm) 250 & /masse(1:ip1jmp1,1:llm) 251 do iq=1,nq 252 q(1:ip1jmp1,1:llm,iq)=q(1:ip1jmp1,1:llm,iq) 253 & *massratio(1:ip1jmp1,1:llm) 254 enddo 255 endif ! of if (force_conserv_tracer) 244 256 c 245 257 c
Note: See TracChangeset
for help on using the changeset viewer.