Changeset 1228 for trunk/MESOSCALE


Ignore:
Timestamp:
Apr 17, 2014, 1:33:48 PM (11 years ago)
Author:
aslmd
Message:

MESOSCALE. changed the way Titus cap is prescribed. this is done by titus.def to allow for old callphys.def to be still valid

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MESOSCALE/LMD_MM_MARS/SRC/WRFV2/mars_lmd/libf/phymars/inifis.F

    r1202 r1228  
    504504         endif
    505505
    506          READ(99,*)
    507          READ(99,*)
    508 
    509          !! prescribed crocus line for caps
    510          READ(99,fmt='(a)') ch1
    511          READ(99,*,iostat=ierr) tituscap
    512          if (ierr.ne.0) then
    513            write(*,*) 'no titus cap requested. set it to false'
    514            tituscap = .false.
    515          endif
    516          WRITE(*,8000) ch1,tituscap
    517 
    518506         PRINT*,'--------------------------------------------'
    519507         PRINT*
     
    525513      ENDIF
    526514      CLOSE(99)
     515
     516      !!-----------------------------------------
     517      !! titus cap
     518      OPEN(99,file='titus.def',status='old',form='formatted'
     519     .     ,iostat=ierr)
     520      IF(ierr.EQ.0) THEN
     521         READ(99,*,iostat=ierr) tituscap
     522      ELSE
     523         write(*,*) 'no titus.def files. assuming no Titus cap.'
     524         tituscap = .false.
     525      ENDIF
     526      write(*,*) 'Titus cap is: ',tituscap
     527      CLOSE(99)
     528      !!-----------------------------------------
     529
    527530
    5285318000  FORMAT(t5,a12,l8)
Note: See TracChangeset for help on using the changeset viewer.