Ignore:
Timestamp:
Apr 18, 2023, 10:41:16 AM (19 months ago)
Author:
llange
Message:

PEM
Introduce module 'constants_marspem': Constants that are used are now put in this module, and load in each subroutine.
LL

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.COMMON/libf/evolution/read_data_GCM.F90

    r2937 r2944  
    1111      use comsoil_h, only: nsoilmx
    1212      USE comsoil_h_PEM, ONLY: soil_pem
    13 
     13      use constants_marspem_mod,only: m_co2,m_noco2
    1414      IMPLICIT NONE
    1515
     
    5555
    5656  INTEGER :: edges(4),corner(4)
    57   INTEGER :: i,j,l,t                                                     ! loop variables
    58   real,save :: m_co2, m_noco2, A , B, mmean                            ! Molar Mass of co2 and no co2, A;B intermediate variables to compute the mean molar mass of the layer
     57  INTEGER :: i,j,l,t                                                   ! loop variables
     58  real  ::  A , B, mmean                                           ! Molar Mass of co2 and no co2, A;B intermediate variables to compute the mean molar mass of the layer
    5959
    6060  INTEGER :: islope                                                    ! loop for variables
     
    8080  modname="read_data_gcm"
    8181
    82       m_co2 = 44.01E-3  ! CO2 molecular mass (kg/mol)   
    83       m_noco2 = 33.37E-3  ! Non condensible mol mass (kg/mol)   
    8482      A =(1/m_co2 - 1/m_noco2)
    8583      B=1/m_noco2
Note: See TracChangeset for help on using the changeset viewer.