Changeset 1251 for palm


Ignore:
Timestamp:
Nov 7, 2013 8:14:30 AM (11 years ago)
Author:
heinze
Message:

bugfix: calculate dtm and dtp also in vector version

File:
1 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SOURCE/nudging.f90

    r1250 r1251  
    2020! Current revisions:
    2121! ------------------
    22 !
     22! bugfix: calculate dtm and dtp also in vector version
    2323!
    2424! Former revisions:
     
    198198
    199199
     200       t = 1
     201       DO WHILE ( time > timenudge(t) )
     202         t = t+1
     203       ENDDO
     204       IF ( time /= timenudge(1) ) THEN
     205         t = t-1
     206       ENDIF
     207
     208       dtm = ( time - timenudge(t) ) / ( timenudge(t+1) - timenudge(t) )
     209       dtp = ( timenudge(t+1) - time ) / ( timenudge(t+1) - timenudge(t) )
     210
    200211       SELECT CASE ( prog_var )
    201212
Note: See TracChangeset for help on using the changeset viewer.