Changeset 472 for trunk


Ignore:
Timestamp:
Dec 14, 2011, 8:47:53 AM (13 years ago)
Author:
emillour
Message:

Mars GCM:

fixed bug in callsedim.F: recomputation of rdust and rice should only be done

if the appropriate tracers and flags are set.

commented out call to uertst in ch.F (uertst crashes with gfortran and is

moreover puerly diagnostic messages).

In nltecool.F: Enforced using igcm_* indexes to identify tracers and not

hard coded fixed numbers (which would lead to a disaster in cases where the
order of tracers was changed).

EM

Location:
trunk/LMDZ.MARS
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/README

    r463 r472  
    13301330  with a change in arguments.
    13311331
    1332 
     1332== 14/12/2011 == EM
     1333>> fixed bug in callsedim.F: recomputation of rdust and rice should only be done
     1334   if the appropriate tracers and flags are set.
     1335>> commented out call to uertst in ch.F (uertst crashes with gfortran and is
     1336   moreover puerly diagnostic messages).
     1337>> In nltecool.F: Enforced using igcm_* indexes to identify tracers and not
     1338   hard coded fixed numbers (which would lead to a disaster in cases where the
     1339   order of tracers was changed).
     1340
  • trunk/LMDZ.MARS/libf/aeronomars/ch.F

    r38 r472  
    416416  220 dcadre = cadre                                                           
    417417 9000 continue                                                                 
    418       if (ier .ne. 0) call uertst (ier,6hdcadre)                               
     418!      if (ier .ne. 0) call uertst (ier,6hdcadre)                               
    419419 9005 return                                                                   
    420420      end     
  • trunk/LMDZ.MARS/libf/phymars/callsedim.F

    r420 r472  
    418418c     Update the dust particle size "rdust"
    419419c     -------------------------------------
    420       DO l = 1, nlay
     420      if (doubleq) then
     421       DO l = 1, nlay
    421422        DO ig=1,ngrid
    422423          rdust(ig,l)=
     
    425426          rdust(ig,l)=min(max(rdust(ig,l),1.e-10),500.e-6)
    426427        ENDDO
    427       ENDDO
     428       ENDDO
     429      endif !of if (doubleq)
    428430     
    429431c     Update the ice particle size "rice"
     
    449451        ENDDO
    450452      ELSE
     453       if (water) then
    451454        DO l = 1, nlay
    452455          DO ig=1,ngrid
     
    459462          ENDDO
    460463        ENDDO
    461       ENDIF
     464       endif ! of if (water)
     465      ENDIF ! of IF (scavenging)
    462466
    463467      RETURN
  • trunk/LMDZ.MARS/libf/phymars/nltecool.F

    r414 r472  
    179179               !Dynamic composition
    180180               if(nltemodel.eq.1) then
    181                   co2(i)=pq(j,i,1)*mmean(j,i)/mmol(1)
    182                   o3p(i)=pq(j,i,3)*mmean(j,i)/mmol(3)
    183                   n2co(i)=pq(j,i,2)*mmean(j,i)/mmol(2) +
    184      $                 pq(j,i,12)*mmean(j,i)/mmol(12)
     181                  co2(i)=pq(j,i,igcm_co2)*mmean(j,i)/mmol(igcm_co2)
     182                  o3p(i)=pq(j,i,igcm_o)*mmean(j,i)/mmol(igcm_o)
     183                  n2co(i)=pq(j,i,igcm_co)*mmean(j,i)/mmol(igcm_co) +
     184     $                 pq(j,i,igcm_n2)*mmean(j,i)/mmol(igcm_n2)
    185185               endif
    186186
Note: See TracChangeset for help on using the changeset viewer.