Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/advance.f90

    r36 r29  
    11!**********************************************************************
    2 ! Copyright 1998-2015                                                 *
     2! Copyright 1998,1999,2000,2001,2002,2005,2007,2008,2009,2010         *
    33! Andreas Stohl, Petra Seibert, A. Frank, Gerhard Wotawa,             *
    44! Caroline Forster, Sabine Eckhardt, John Burkhart, Harald Sodemann   *
     
    6161  !  8 April 2000: Deep convection parameterization                            *
    6262  !                                                                            *
    63   !  May 2002: Petterssen scheme introduced 
    64   !  PS, 2/2015: fix mixture of real and dp in call to funtion mod
     63  !  May 2002: Petterssen scheme introduced                                    *
    6564  !                                                                            *
    6665  !*****************************************************************************
     
    708707
    709708  if ( yt.lt.0. ) then
    710     xt=mod(xt+180._dp,360._dp)
     709    xt=mod(xt+180.,360.)
    711710    yt=-yt
    712711  else if ( yt.gt.real(nymin1) ) then
    713     xt=mod(xt+180._dp,360._dp)
     712    xt=mod(xt+180.,360.)
    714713    yt=2*real(nymin1)-yt
    715714  endif
     
    878877
    879878  if ( yt.lt.0. ) then
    880     xt=mod(xt+180._dp,360._dp)
     879    xt=mod(xt+180.,360.)
    881880    yt=-yt
    882881  else if ( yt.gt.real(nymin1) ) then
    883     xt=mod(xt+180._dp,360._dp)
     882    xt=mod(xt+180.,360.)
    884883    yt=2*real(nymin1)-yt
    885884  endif
Note: See TracChangeset for help on using the changeset viewer.
hosted by ZAMG