Ignore:
Timestamp:
May 31, 2012, 6:23:57 PM (13 years ago)
Author:
acolaitis
Message:

MMM/LES: bug correction following the restart commit. + added the possibility to use case 0 in newphys.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MESOSCALE/LMD_MM_MARS/SRC/WRFV2/phys/module_lmd_driver.F

    r678 r683  
    819819!--------------------------------!
    820820#ifdef NEWPHYS
    821 q_prof(:,1:nq) = SCALAR(i,kps:kpe,j,2:nq+1)  !! the names were set above !! one dummy tracer in WRF
     821IF (MARS_MODE .EQ. 0) THEN
     822    q_prof(:,1)=0.95
     823ELSE
     824    q_prof(:,1:nq) = SCALAR(i,kps:kpe,j,2:nq+1)  !! the names were set above !! one dummy tracer in WRF
     825ENDIF
    822826  !!! CAS DU CO2
    823827  DO iii=1,nq
     
    14541458MARS_TSOIL(i,:,j)=save_tsoil_restart(subs,:)
    14551459MARS_CICE(i,j)=save_co2ice_restart(subs)
    1456 MARS_Q2(i,:,j)=save_q2_restart(subs,:)
     1460MARS_Q2(i,kps:kpe+1,j)=save_q2_restart(subs,:)
    14571461SELECT CASE (MARS_MODE)
    14581462   CASE (1,11,12)
     
    14721476
    14731477SELECT CASE (MARS_MODE)
     1478CASE(0)
     1479        SCALAR(i,kps:kpe,j,:)=0.
    14741480CASE(20)
    14751481   !! Mars mode 20 : add a passive tracer with radioactive-like decay
Note: See TracChangeset for help on using the changeset viewer.