Ignore:
Timestamp:
Feb 28, 2026, 6:36:58 PM (6 weeks ago)
Author:
emillour
Message:

Venus PCM:
Code cleanup: remove "hedin.h" and make variables included there be module
variables of compo_hedin_mod2.F90. Turn "nirdat.h" into module nirdata.F90
and incroporate initialization routine nir_leedat.F in it.
EM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.VENUS/libf/phyvenus/compo_hedin_mod2.F90

    r3884 r4092  
    22  !!05/2013 Laura Salmi
    33  !!03/2014 revision Gabriella Gilli
    4   !!Calcul des vmr pour CO2, CO, O, N et N2 en s'appuyant sur les tables donnees dans l'article Hedin (1983)
     4  !!Compute vmr for CO2, CO, O, N and N2 based on tables from Hedin (1983) paper
    55 
    66  implicit none     
     7
     8  integer, parameter :: zsize=23  ! for z from 100 to 210 km
     9  integer, parameter :: musize=10 ! for sza ranging from -1 to 1
     10 
     11  real, save, protected :: co2_hedin(musize,zsize)
     12  real, save, protected :: co_hedin(musize,zsize)
     13  real, save, protected :: n2_hedin(musize,zsize)
     14  real, save, protected :: o_hedin(musize,zsize)
     15  real, save, protected :: n_hedin(musize,zsize)
     16 
     17  real, save, protected :: pres_hedin(musize,zsize)
     18  real, save, protected :: mu_hedin(musize)
     19 
    720  contains
    821
    922        subroutine compo_hedin83_init2
    10         use YOMCST_mod
     23        use YOMCST_mod, only: RKBOL
    1124        implicit none
    12 !#include "YOMCST.h"
    13 #include "hedin.h"
    1425
    1526        REAL :: alpha
     
    133144!!Interpolation des profils de Hedin (1983) sur la grille du modele
    134145
    135         use dimphy
     146        use dimphy, only: klon, klev
    136147        implicit none
    137         include 'hedin.h'
     148
    138149        REAL, intent(in) :: pression(klon,klev), mu0(klon)
    139150        integer :: i,k,iz,jmu,jz,z_ok, mu_ok
Note: See TracChangeset for help on using the changeset viewer.