Ignore:
Timestamp:
Jun 5, 2012, 1:41:39 PM (12 years ago)
Author:
acolaitis
Message:

GCM: modifications to allow for nesting compilation. Transparent to GCM user. MESOSCALE: handling of functions and modules for nesting compilation. Full nested configuration with new physics is now fully compiling.

File:
1 edited

Legend:

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

    r690 r695  
    155155                                                           
    156156c vibr. temp of the bending mode :             
    157       if (isot.eq.1) call interdp ( tvtbs,zyd,nzy, v626t1,zld,nl, 1
    158       if (isot.eq.2) call interdp ( tvtbs,zyd,nzy, v628t1,zld,nl, 1
    159       if (isot.eq.3) call interdp ( tvtbs,zyd,nzy, v636t1,zld,nl, 1
    160       if (isot.eq.4) call interdp ( tvtbs,zyd,nzy, v627t1,zld,nl, 1
     157      if (isot.eq.1) call interdp (tvtbs,zyd,nzy,v626t1,zld,nl,1
     158      if (isot.eq.2) call interdp (tvtbs,zyd,nzy,v628t1,zld,nl,1
     159      if (isot.eq.3) call interdp (tvtbs,zyd,nzy,v636t1,zld,nl,1
     160      if (isot.eq.4) call interdp (tvtbs,zyd,nzy,v627t1,zld,nl,1
    161161     
    162162c 2nd: correccion a la n10(i) (cantidad de absorbente en el lower state)
     
    683683c***********************************************************************
    684684                                                           
    685       call mzescape (ig,taustar21,tauinf210,tauii210,1,2,irw_mztf,imu)
    686       call mzescape (ig,taustar31,tauinf310,tauii310,1,3,irw_mztf,imu)
    687       call mzescape (ig,taustar41,tauinf410,tauii410,1,4,irw_mztf,imu)
     685      call mzescape (ig,taustar21,tauinf210,tauii210,1,2
     686     & ,irw_mztf,imu)
     687      call mzescape (ig,taustar31,tauinf310,tauii310,1,3
     688     & ,irw_mztf,imu)
     689      call mzescape (ig,taustar41,tauinf410,tauii410,1,4
     690     & ,irw_mztf,imu)
    688691                                                           
    689692      istyle = 2                                     
     
    915918      enddo     
    916919c vibr. temp of the bending mode : 
    917       if (isot.eq.1) call interdp ( tvtbs,zyd,nzy, v626t1,zld,nl, 1
    918       if (isot.eq.2) call interdp ( tvtbs,zyd,nzy, v628t1,zld,nl, 1
    919       if (isot.eq.3) call interdp ( tvtbs,zyd,nzy, v636t1,zld,nl, 1
    920       if (isot.eq.4) call interdp ( tvtbs,zyd,nzy, v627t1,zld,nl, 1
     920      if (isot.eq.1) call interdp(tvtbs,zyd,nzy, v626t1,zld,nl,1
     921      if (isot.eq.2) call interdp(tvtbs,zyd,nzy, v628t1,zld,nl,1
     922      if (isot.eq.3) call interdp(tvtbs,zyd,nzy, v636t1,zld,nl,1
     923      if (isot.eq.4) call interdp(tvtbs,zyd,nzy, v627t1,zld,nl,1
    921924        !if (isot.eq.5) call interdp ( tvtbs,zxd,nz, vcot1,zld,nl, 1 ) 
    922925       
     
    20372040           
    20382041c vibr. temp of the bending mode : 
    2039       if (isot.eq.1) call interdp ( tvtbs,zyd,nzy, v626t1,zld,nl, 1
    2040       if (isot.eq.2) call interdp ( tvtbs,zyd,nzy, v628t1,zld,nl, 1
    2041       if (isot.eq.3) call interdp ( tvtbs,zyd,nzy, v636t1,zld,nl, 1
    2042       if (isot.eq.4) call interdp ( tvtbs,zyd,nzy, v627t1,zld,nl, 1
     2042      if (isot.eq.1) call interdp(tvtbs,zyd,nzy, v626t1,zld,nl,1
     2043      if (isot.eq.2) call interdp(tvtbs,zyd,nzy, v628t1,zld,nl,1
     2044      if (isot.eq.3) call interdp(tvtbs,zyd,nzy, v636t1,zld,nl,1
     2045      if (isot.eq.4) call interdp(tvtbs,zyd,nzy, v627t1,zld,nl,1
    20432046        !if (isot.eq.5) call interdp ( tvtbs,zxd,nz, vcot1,zld,nl, 1 ) 
    20442047           
     
    25332536                                               
    25342537! tvtbs is the bending mode of the molecule. used in xqv.   
    2535       if (isot.eq.1) call interdp (tvtbs,zyd,nzy, v626t1,zld,nl, 1
    2536       if (isot.eq.2) call interdp (tvtbs,zyd,nzy, v628t1,zld,nl, 1
    2537       if (isot.eq.3) call interdp (tvtbs,zyd,nzy, v636t1,zld,nl, 1
    2538       if (isot.eq.4) call interdp (tvtbs,zyd,nzy, v627t1,zld,nl, 1
    2539       if (isot.eq.5) call interdp (tvtbs,zyd,nzy, vcot1,zld,nl, 1 )   
     2538      if (isot.eq.1) call interdp (tvtbs,zyd,nzy,v626t1,zld,nl,1
     2539      if (isot.eq.2) call interdp (tvtbs,zyd,nzy,v628t1,zld,nl,1
     2540      if (isot.eq.3) call interdp (tvtbs,zyd,nzy,v636t1,zld,nl,1
     2541      if (isot.eq.4) call interdp (tvtbs,zyd,nzy,v627t1,zld,nl,1
     2542      if (isot.eq.5) call interdp (tvtbs,zyd,nzy,vcot1,zld,nl,1)   
    25402543     
    25412544! tvt0 is the lower level of the transition. used in xlower.           
    25422545      if (ib.eq.2 .or. ib.eq.3 .or. ib.eq.4 .or. ib.eq.15) then 
    2543          if (isot.eq.1) call interdp (tvt0,zyd,nzy, v626t1,zld,nl, 1 )
    2544          if (isot.eq.2) call interdp (tvt0,zyd,nzy, v628t1,zld,nl, 1 )
    2545          if (isot.eq.3) call interdp (tvt0,zyd,nzy, v636t1,zld,nl, 1 )
    2546          if (isot.eq.4) call interdp (tvt0,zyd,nzy, v627t1,zld,nl, 1 )
     2546         if (isot.eq.1) call interdp(tvt0,zyd,nzy,v626t1,zld,nl,1)
     2547         if (isot.eq.2) call interdp(tvt0,zyd,nzy,v628t1,zld,nl,1)
     2548         if (isot.eq.3) call interdp(tvt0,zyd,nzy,v636t1,zld,nl,1)
     2549         if (isot.eq.4) call interdp(tvt0,zyd,nzy,v627t1,zld,nl,1)
    25472550      elseif (ib.eq.6 .or. ib.eq.8 .or. ib.eq.10     
    25482551     @        .or. ib.eq.13 .or. ib.eq.14                 
    25492552     @        .or. ib.eq.17 .or. ib.eq.19 .or. ib.eq.20) then         
    2550          if (isot.eq.1) call interdp ( tvt0,zyd,nzy, v626t2,zld,nl, 1 )
    2551          if (isot.eq.2) call interdp ( tvt0,zyd,nzy, v628t2,zld,nl, 1 )
    2552          if (isot.eq.3) call interdp ( tvt0,zyd,nzy, v636t2,zld,nl, 1 )
     2553         if (isot.eq.1) call interdp(tvt0,zyd,nzy,v626t2,zld,nl,1)
     2554         if (isot.eq.2) call interdp(tvt0,zyd,nzy,v628t2,zld,nl,1)
     2555         if (isot.eq.3) call interdp(tvt0,zyd,nzy,v636t2,zld,nl,1)
    25532556         if (isot.eq.4) then 
    25542557            call interdp ( tvt0,zyd,nzy, v627t2,zld,nl, 1 )
     
    25662569c tvt1 is the upper level of the transition.   
    25672570      if (ib.eq.13 .or. ib.eq.14) then
    2568          if (isot.eq.1) call interdp ( tvt1,zyd,nzy, v626t4,zld,nl, 1 )
    2569          if (isot.eq.2) call interdp ( tvt1,zyd,nzy, v628t4,zld,nl, 1 )
    2570          if (isot.eq.3) call interdp ( tvt1,zyd,nzy, v636t4,zld,nl, 1 )
    2571          if (isot.eq.4) call interdp ( tvt1,zyd,nzy, v627t4,zld,nl, 1 )
     2571         if (isot.eq.1) call interdp(tvt1,zyd,nzy,v626t4,zld,nl,1)
     2572         if (isot.eq.2) call interdp(tvt1,zyd,nzy,v628t4,zld,nl,1)
     2573         if (isot.eq.3) call interdp(tvt1,zyd,nzy,v636t4,zld,nl,1)
     2574         if (isot.eq.4) call interdp(tvt1,zyd,nzy,v627t4,zld,nl,1)
    25722575      end if
    25732576     
     
    25862589
    25872590            !!! vt of the 3 levels in (020)  (see pag. 36a-sn1 for this)       
    2588             xalfa = 1.d0/2.d0* exp( dble(-ee*(nu12_1000-nu(1,2))/ty(i)) )     
    2589             xbeta = 1.d0/2.d0* exp( dble(-ee*(nu12_0200-nu(1,2))/ty(i)) )     
     2591            xalfa = 1.d0/2.d0*exp(dble(-ee*(nu12_1000-nu(1,2))/ty(i)))     
     2592            xbeta = 1.d0/2.d0*exp(dble(-ee*(nu12_0200-nu(1,2))/ty(i)))     
    25902593            xtv0200 = dble( - ee * nu12_0200 ) /       
    25912594     @           ( log( xbeta/(1.d0+xalfa+xbeta) ) -
     
    26032606     @           ( log(2./(1.d0+xalfa+xbeta)) - ee*nu(1,2)/tvt0(i) ) )     
    26042607            xtv1000 = dble( - ee * nu12_1000 /       
    2605      @           ( log(4.*xalfa/(1.d0+xalfa+xbeta))-ee*nu(1,2)/tvt0(i)))
     2608     @           (log(4.*xalfa/(1.d0+xalfa+xbeta))-ee*nu(1,2)/tvt0(i)))
    26062609
    26072610!            if ( icurt_pop.eq.30 ) then
     
    40134016            !write (*,*)  ' cm15um_hb/11 '                                 
    40144017            !write (*,*)  ' ib, ist, irw, imu =', ib, ist, irw_mztf, imu     
    4015                call mztf ( ig,cax1,cax2,cax3,v1,v2, ib,ist,irw_mztf,imu,     
     4018               call mztf(ig,cax1,cax2,cax3,v1,v2,ib,ist,irw_mztf,imu,
    40164019     @              itauout,icfout,itableout)                   
    40174020!         else                                         
Note: See TracChangeset for help on using the changeset viewer.