Ignore:
Timestamp:
Apr 14, 2023, 11:36:06 AM (20 months ago)
Author:
llange
Message:

PEM
Fixing bug when reading the mass adsorded written in startfi_PEM (only the mass for islope = 1 was read)
I've cleaned some print * I've introduced in my last commit
LL

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.COMMON/libf/evolution/pemetat0.F90

    r2937 r2939  
    9090
    9191write(*,*)'Is start PEM?',startpem_file
    92 startpem_file = .true.
    9392
    9493!1. Run
     
    275274
    276275!4. CO2 & H2O Adsorption
     276
    277277 if(adsorption_pem) then
    278278  DO islope=1,nslope
     
    281281    if((.not.found)) then
    282282       m_co2_regolith_phys(:,:,:) = 0.
     283       exit
    283284    endif
    284     exit
     285   
    285286  ENDDO
    286287
    287288  DO islope=1,nslope
    288289   write(num,fmt='(i2.2)') islope
    289    call get_field("mh2o_reg_ads_slope"//num,m_co2_regolith_phys(:,:,islope),found2)
     290   call get_field("mh2o_reg_ads_slope"//num,m_h2o_regolith_phys(:,:,islope),found2)
    290291    if((.not.found2)) then
    291292       m_h2o_regolith_phys(:,:,:) = 0.
     293      exit
    292294    endif
    293     exit
     295   
    294296  ENDDO
    295297
Note: See TracChangeset for help on using the changeset viewer.