Ignore:
Timestamp:
Nov 14, 2013, 12:00:25 PM (11 years ago)
Author:
tnavarro
Message:

bug with freedust mode

File:
1 edited

Legend:

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

    r1088 r1103  
    266266      ENDIF
    267267
     268      IF (dustmult .gt. 0) tauref(:) = tauref(:)*dustmult
     269
    268270c -----------------------------------------------------------------
    269271c Computing the opacity in each layer
     
    470472
    471473      IF (freedust) THEN
    472         ! tauref has been initialized to 0 before.
     474       ! tauref has been initialized to 0 before.
     475       DO iaer=1,naerdust
    473476        DO l=1,nlayer
    474           DO ig=1,ngrid
    475             tauref(ig) = tauref(ig) +
     477         DO ig=1,ngrid
     478          tauref(ig) = tauref(ig) +
    476479     &                aerosol(ig,l,iaerdust(iaer))
    477480          ENDDO
    478481        ENDDO
     482       ENDDO
    479483      ENDIF
    480484     
Note: See TracChangeset for help on using the changeset viewer.