Changeset 2126 for trunk/LMDZ.COMMON/libf/dyn3dpar/integrd_p.F
- Timestamp:
- Apr 26, 2019, 11:18:52 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.COMMON/libf/dyn3dpar/integrd_p.F
r1959 r2126 7 7 USE parallel_lmdz, ONLY: ij_begin, ij_end, pole_nord, pole_sud, 8 8 & omp_chunk 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 … … 65 65 REAL vscr( ip1jm ),uscr( ip1jmp1 ),hscr( ip1jmp1 ),pscr(ip1jmp1) 66 66 REAL massescr( ip1jmp1,llm ) 67 REAL :: massratio(ip1jmp1,llm) 67 68 ! REAL finvmasse(ip1jmp1,llm) 68 69 REAL,SAVE :: p(ip1jmp1,llmp1) … … 361 362 endif ! of if (planet_type.eq."earth") 362 363 364 365 if (force_conserv_tracer) then 366 ! Ehouarn: try to keep total amont of tracers fixed 367 ! by acounting for mass change in each cell 368 massratio(ijb:ije,1:llm)=massescr(ijb:ije,1:llm) 369 & /masse(ijb:ije,1:llm) 370 do iq=1,nq 371 q(ijb:ije,1:llm,iq)=q(ijb:ije,1:llm,iq) 372 & *massratio(ijb:ije,1:llm) 373 enddo 374 endif ! of if (force_conserv_tracer) 363 375 c 364 376 c
Note: See TracChangeset
for help on using the changeset viewer.