Ignore:
Timestamp:
Aug 3, 2014, 7:36:52 PM (10 years ago)
Author:
aslmd
Message:

LMDZ.GENERIC. newstart. set p_omeg to 2pi/daylength if equal to -9999. set patm to preff if equal to -9999. useful for simple runs where consistency is needed (e.g. teaching).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.GENERIC/libf/phystd/newstart.F

    r1315 r1320  
    425425      mugaz = p_mugaz
    426426      daysec = p_daysec
     427
     428      if (p_omeg .eq. -9999.) then
     429        p_omeg = 8.*atan(1.)/p_daysec
     430        print*,"new value of omega",p_omeg
     431      endif
    427432
    428433      kappa = 8.314*1000./(p_mugaz*p_cpp) ! added by RDW
     
    639644 201       read(*,*,iostat=ierr) patm
    640645            if(ierr.ne.0) goto 201
     646            write(*,*) patm
     647            if (patm.eq.-9999.) then
     648              patm = preff
     649              write(*,*) "we set patm = preff", preff
     650            endif
    641651             write(*,*)
    642652             write(*,*) ' new ps everywhere (Pa) = ', patm
Note: See TracChangeset for help on using the changeset viewer.