9.1
general documentation
atincl Module Reference

Data Types

interface  cs_air_glob_properties_get_pointers
 
interface  cs_f_atmo_arrays_get_pointers
 Return pointers to atmo arrays. More...
 
interface  cs_f_atmo_arrays_get_radiative_model_1d
 
interface  cs_f_atmo_get_pointers
 Return pointers to atmo includes. More...
 
interface  cs_f_atmo_get_radiative_model_1d
 
interface  cs_f_atmo_get_soil_zone
 
interface  cs_rad_transfer_get_pointers
 

Functions/Subroutines

subroutine atmo_get_soil_zone (n_faces, n_soil_cat, face_ids_p)
 
subroutine atmo_init
 Map Fortran to C variables. More...
 
subroutine allocate_map_atmo ()
 Allocate and map to C meteo data. More...
 

Variables

double precision, dimension(:), pointer tmmet
 time (in sec) of the meteo profile More...
 
double precision, dimension(:), pointer ztmet
 altitudes of the temperature profile (read in the input meteo file) More...
 
double precision, dimension(:,:), pointer umet
 meteo u profiles (read in the input meteo file) More...
 
double precision, dimension(:,:), pointer vmet
 meteo v profiles (read in the input meteo file) More...
 
double precision, dimension(:,:), pointer wmet
 meteo w profiles - unused More...
 
double precision, dimension(:,:), pointer ekmet
 meteo turbulent kinetic energy profile (read in the input meteo file) More...
 
double precision, dimension(:,:), pointer epmet
 meteo turbulent dissipation profile (read in the input meteo file) More...
 
double precision, dimension(:,:), pointer ttmet
 meteo temperature (Celsius) profile (read in the input meteo file) More...
 
double precision, dimension(:,:), pointer qvmet
 meteo specific humidity profile (read in the input meteo file) More...
 
double precision, dimension(:,:), pointer ncmet
 meteo specific droplet number profile (read in the input meteo file) More...
 
double precision, dimension(:,:), pointer xyp_met
 X, Y coordinates and sea level pressure of the meteo profile (read in the input meteo file) More...
 
double precision, dimension(:,:), pointer rmet
 density profile More...
 
double precision, dimension(:,:), pointer tpmet
 potential temperature profile More...
 
double precision, dimension(:,:), pointer phmet
 hydrostatic pressure from Laplace integration More...
 
integer(c_int), pointer, save imeteo
 flag for reading the meteo input file More...
 
integer(c_int), pointer, save nbmetd
 numbers of altitudes for the dynamics More...
 
integer(c_int), pointer, save nbmett
 numbers of altitudes for the temperature and specific humidity More...
 
integer(c_int), pointer, save nbmetm
 numbers of time steps for the meteo profiles More...
 
integer(c_int), pointer, save iatmst
 add a momentum source term based on the meteo profile for automatic open boundaries More...
 
integer(c_int), pointer, save theo_interp
 flag for meteo velocity field interpolation More...
 
real(c_double), pointer, save ps
 reference pressure (to compute potential temp: 1.0d+5) More...
 
integer(c_int), pointer, save syear
 starting year More...
 
integer(c_int), pointer, save squant
 starting quantile More...
 
integer(c_int), pointer, save shour
 starting hour More...
 
integer(c_int), pointer, save smin
 starting min More...
 
real(c_double), pointer, save ssec
 starting second More...
 
real(c_double), pointer, save xlon
 longitude of the domain origin More...
 
real(c_double), pointer, save xlat
 latitude of the domain origin More...
 
integer(c_int), pointer, save nbmaxt
 Number of vertical levels (cf. 1-D radiative scheme) More...
 
integer(c_int), pointer, save ihpm
 flag to compute the hydrostatic pressure by Laplace integration in the meteo profiles = 0 : bottom to top Laplace integration, based on P(sea level) (default) = 1 : top to bottom Laplace integration based on P computed for the standard atmosphere at z(nbmaxt) More...
 
integer(c_int), pointer, save nvert
 number of vertical arrays More...
 
integer(c_int), pointer, save kvert
 number of levels (up to the top of the domain) More...
 
integer(c_int), pointer, save kmx
 Number of levels (up to 11000 m if 1-D radiative transfer used) (automatically computed) More...
 
integer(c_int), pointer, save iatra1
 flag for the use of the 1-D atmo radiative model More...
 
integer(c_int), pointer, save nfatr1
 1D radiative model pass frequency More...
 
integer(c_int), pointer, save idrayi
 pointer for 1D infrared profile More...
 
integer(c_int), pointer, save idrayst
 pointer for 1D solar profile More...
 
integer(c_int), pointer, save igrid
 grid formed by 1D profiles More...
 
double precision, dimension(:,:), pointer xyvert
 horizontal coordinates of the vertical grid More...
 
double precision, dimension(:), pointer zray
 vertical grid for 1D radiative scheme initialize in cs_user_atmospheric_model.f90 More...
 
double precision, dimension(:), pointer acinfe
 absorption for CO2 + 03 More...
 
double precision, dimension(:), pointer dacinfe
 differential absorption for CO2 + 03 More...
 
double precision, dimension(:,:), pointer aco2
 absorption for CO2 only More...
 
double precision, dimension(:,:), pointer aco2s
 
double precision, dimension(:,:), pointer daco2
 differential absorption for CO2 only More...
 
double precision, dimension(:,:), pointer daco2s
 
double precision, dimension(:), pointer acsup
 idem acinfe, flux descendant More...
 
double precision, dimension(:), pointer acsups
 
double precision, dimension(:), pointer dacsup
 internal variable for 1D radiative model More...
 
double precision, dimension(:), pointer dacsups
 
double precision, dimension(:), pointer tauzq
 internal variable for 1D radiative model More...
 
double precision, dimension(:), pointer tauz
 internal variable for 1D radiative model More...
 
double precision, dimension(:), pointer zq
 internal variable for 1D radiative model More...
 
double precision, dimension(:), pointer soil_albedo
 Defines the soil constants and variables of the vertical arrays used for the 1D radiative model soil albedo. More...
 
double precision, dimension(:), pointer soil_emissi
 emissivity More...
 
double precision, dimension(:), pointer soil_ttsoil
 soil thermo temperature More...
 
double precision, dimension(:), pointer soil_tpsoil
 soil potential temperature More...
 
double precision, dimension(:), pointer soil_totwat
 total water content More...
 
double precision, dimension(:), pointer soil_pressure
 surface pressure More...
 
double precision, dimension(:), pointer soil_density
 density More...
 
double precision, save tausup
 internal variable for 1D radiative model More...
 
double precision, dimension(:,:), pointer rayi
 internal variable for 1D radiative model More...
 
double precision, dimension(:,:), pointer rayst
 
double precision, dimension(:,:), pointer iru
 Upward and downward radiative fluxes (infrared, solar) along each vertical. More...
 
double precision, dimension(:,:), pointer ird
 
double precision, dimension(:,:), pointer solu
 
double precision, dimension(:,:), pointer sold
 
integer(c_int), pointer, save iatsoil
 Option for soil model. More...
 
logical(c_bool), pointer, save compute_z_ground
 Do we compute z ground every where? More...
 
integer(c_int), pointer, save moddis
 Option for liquid water content distribution models. More...
 
real(c_double), pointer, save sigc
 logaritmic standard deviation of the log-normal law of the droplet spectrum adimensional: sigc=0.53 other referenced values are 0.28, 0.15 More...
 
real(c_double), pointer, save aod_o3_tot
 Aerosol optical properties. More...
 
real(c_double), pointer, save aod_h2o_tot
 adimensional : aod_h2o_tot=0.10 other referenced values are 0.06, 0.08 More...
 
double precision, save aod_ir = 0.1d0
 total aerosol optical depth in the IR domain for thermal radiation deduced from aeronet data More...
 
double precision, save conco2 = 3.5d-2*44.d0/29.d0
 CO2 concentration in cm NTP with correction to the ratio of molar masses for Mco2 and Mair default is 350ppm. More...
 
double precision, save gaero_o3 = 0.66d0
 Asymmetry factor for O3 (non-dimensional) climatic value gaero_o3=0.66. More...
 
double precision, save gaero_h2o = 0.64d0
 Asymmetry factor for H2O (non-dimensional) climatic value gaero_h2o=0.64. More...
 
double precision, save piaero_o3 = 0.84d0
 Single scattering albedo for O3 (non-dimensional) climatic value piaero_o3=0.84, other referenced values are 0.963. More...
 
double precision, save piaero_h2o = 0.84d0
 Single scattering albedo for H2O (non-dimensional) climatic value piaero_h2o=0.84, other referenced values are 0.964. More...
 
double precision, save black_carbon_frac = 0.d0
 Fraction of Black carbon (non-dimensional): black_carbon_frac=1.d-8 for no BC. More...
 
double precision, save zaero = 6000d0
 Maximal height for aerosol distribution on the vertical important should be <= zqq(kmray-1); in meters : referenced value: zaero=6000. More...
 
real(c_double), pointer, save cp_a
 Cp of dry air. More...
 
real(c_double), pointer, save cp_v
 Cp of water vapor. More...
 
integer(c_int), pointer, save rad_atmo_model
 Atmospheric radiation model: More...
 

Function/Subroutine Documentation

◆ allocate_map_atmo()

subroutine allocate_map_atmo

Allocate and map to C meteo data.

◆ atmo_get_soil_zone()

subroutine atmo_get_soil_zone ( integer(c_int), intent(out)  n_faces,
integer(c_int), intent(out)  n_soil_cat,
integer, dimension(:), intent(out), pointer  face_ids_p 
)

◆ atmo_init()

subroutine atmo_init

Map Fortran to C variables.