Ignore:
Timestamp:
Apr 8, 2020, 6:35:50 PM (5 years ago)
Author:
adelavois
Message:

Mars GCM:
Martian physics is now able to start without startfi.nc
Major update for phyetat0_mod and physiq_mod based on what have been done for the Generic physics

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/libf/phymars/tabfi.F

    r1543 r2281  
    4343c
    4444c=======================================================================
     45! to use  'getin_p'
     46      use ioipsl_getin_p_mod, only: getin_p
    4547
    4648      use comsoil_h, only: volcapa ! soil volumetric heat capacity
     
    8183      CHARACTER modif*20
    8284      LOGICAL :: found
     85      CHARACTER(len=5) :: modname="tabfi"
    8386
    8487      write(*,*)"tabfi: nid=",nid," tab0=",tab0," Lmodif=",Lmodif
     
    8891c-----------------------------------------------------------------------
    8992      IF (nid.eq.0) then
     93
     94      ! to avoid further issues with writing
     95      tab_cntrl(:)=0
     96      lmax=0
     97      day_ini=0
     98      time = 0
    9099 
    91100c Reference pressure
     
    150159       call get_var("controle",tab_cntrl,found)
    151160       if (.not.found) then
    152          write(*,*)"tabfi: Failed reading <controle> array"
    153          call abort
     161         call abort_physic(modname,
     162     &        "tabfi: Failed reading <controle> array",1)
    154163       else
    155164         write(*,*)'tabfi: tab_cntrl',tab_cntrl
Note: See TracChangeset for help on using the changeset viewer.