Changeset 3660


Ignore:
Timestamp:
Feb 27, 2025, 2:53:10 PM (4 months ago)
Author:
emoisan
Message:

Titan physics:
For debug: initialize optical variables for the first atmospheric layer.
EMo

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.TITAN/libf/phytitan/optci.F90

    r3497 r3660  
    173173   end do ! L_LEVELS
    174174
     175   ! initialize k=1 level (to avoid NaN values and error in debug mode)
     176   DIAG_OPTT(1,:,1) = 0.0 ! dtau
     177   DIAG_OPTT(1,:,2) = 1.0  ! wbar
     178   DIAG_OPTT(1,:,3) = 1.0  ! gbar
     179   DIAG_OPTT(1,:,4) = 0.d0
     180   DIAG_OPTT(1,:,5) = 0.d0
     181
    175182   do NW=1,L_NSPECTI
    176183      ! We ignore K=1...
     
    336343               DIAG_OPTT(k,nw,3) = 1.0  ! gbar
    337344            ENDIF
    338            
     345
    339346         ! Optics and microphysics no coupled :
    340347         ELSE
Note: See TracChangeset for help on using the changeset viewer.