9.0
general documentation
Loading...
Searching...
No Matches
atincl Module Reference

Data Types

interface  cs_air_yw_sat
 Calculation of the air water mass fraction at saturation for a given temperature. More...
interface  cs_atmo_compute_meteo_profiles
 Compute meteo profiles if no meteo file is given. More...
interface  cs_f_atmo_arrays_get_pointers
 Return pointers to atmo arrays. More...
interface  cs_f_atmo_get_meteo_file_name
interface  cs_f_atmo_get_pointers
 Return pointers to atmo includes. More...
interface  cs_f_atmo_get_soil_zone

Functions/Subroutines

subroutine atmo_get_soil_zone (n_faces, n_soil_cat, face_ids_p)
subroutine atmo_get_meteo_file_name (name)
 Return meteo file name.
subroutine atmo_init
 Map Fortran to C variables.
subroutine allocate_map_atmo ()
 Allocate and map to C meteo data.
subroutine init_meteo ()
 Initialisation of meteo data.
subroutine finalize_meteo ()
 Final step for deallocation.

Variables

double precision, dimension(:), pointer tmmet
 time (in sec) of the meteo profile
double precision, dimension(:), pointer zdmet
 altitudes of the dynamic profiles (read in the input meteo file)
double precision, dimension(:), pointer dpdt_met
 Pressure drop integrated over a time step (used for automatic open boundaries)
double precision, dimension(:,:), pointer mom_met
 Momentum for each level (used for automatic open boundaries)
double precision, dimension(:,:), pointer mom
double precision, dimension(:), pointer ztmet
 altitudes of the temperature profile (read in the input meteo file)
double precision, dimension(:,:), pointer umet
 meteo u profiles (read in the input meteo file)
double precision, dimension(:,:), pointer vmet
 meteo v profiles (read in the input meteo file)
double precision, dimension(:,:), pointer wmet
 meteo w profiles - unused
double precision, dimension(:,:), pointer ekmet
 meteo turbulent kinetic energy profile (read in the input meteo file)
double precision, dimension(:,:), pointer epmet
 meteo turbulent dissipation profile (read in the input meteo file)
double precision, dimension(:,:), pointer ttmet
 meteo temperature (Celsius) profile (read in the input meteo file)
double precision, dimension(:,:), pointer qvmet
 meteo specific humidity profile (read in the input meteo file)
double precision, dimension(:,:), pointer ncmet
 meteo specific droplet number profile (read in the input meteo file)
double precision, dimension(:,:), pointer xyp_met
 X, Y coordinates and sea level pressure of the meteo profile (read in the input meteo file)
double precision, dimension(:,:), pointer rmet
 density profile
double precision, dimension(:,:), pointer tpmet
 potential temperature profile
double precision, dimension(:,:), pointer phmet
 hydrostatic pressure from Laplace integration
integer, save iymw
 total water content (for humid atmosphere)
integer, save intdrp = -1
 intdrp---> total number of droplets (for humid atmosphere)
integer, save itempc
 temperature (in Celsius)
integer, save iliqwt
 liquid water content
integer, save imomst
 momentum source term field id (useful when iatmst > 0)
integer(c_int), pointer, save imeteo
 flag for reading the meteo input file
integer(c_int), pointer, save nbmetd
 numbers of altitudes for the dynamics
integer(c_int), pointer, save nbmett
 numbers of altitudes for the temperature and specific humidity
integer(c_int), pointer, save nbmetm
 numbers of time steps for the meteo profiles
integer(c_int), pointer, save iatmst
 add a momentum source term based on the meteo profile for automatic open boundaries
integer(c_int), pointer, save theo_interp
 flag for meteo velocity field interpolation
real(c_double), pointer, save ps
 reference pressure (to compute potential temp: 1.0d+5)
integer(c_int), pointer, save syear
 starting year
integer(c_int), pointer, save squant
 starting quantile
integer(c_int), pointer, save shour
 starting hour
integer(c_int), pointer, save smin
 starting min
real(c_double), pointer, save ssec
 starting second
real(c_double), pointer, save xlon
 longitude of the domain origin
real(c_double), pointer, save xlat
 latitude of the domain origin
real(c_double), pointer, save xl93
 x coordinate of the domain origin in Lambert-93
real(c_double), pointer, save yl93
 y coordinate of the domain origin in Lambert-93
integer(c_int), pointer, save nbmaxt
 Number of vertical levels (cf. 1-D radiative scheme)
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)
integer(c_int), pointer, save nvert
 number of vertical arrays
integer(c_int), pointer, save kvert
 number of levels (up to the top of the domain)
integer(c_int), pointer, save kmx
 Number of levels (up to 11000 m if 1-D radiative transfer used) (automatically computed)
real(c_double), pointer, save meteo_zi
 Height of the boundary layer.
integer(c_int), pointer, save iatra1
 flag for the use of the 1-D atmo radiative model
integer(c_int), pointer, save nfatr1
 1D radiative model pass frequency
integer(c_int), pointer, save iqv0
 flag for the standard atmo humidity profile
integer(c_int), pointer, save idrayi
 pointer for 1D infrared profile
integer(c_int), pointer, save idrayst
 pointer for 1D solar profile
integer, save igrid
 grid formed by 1D profiles
double precision, dimension(:,:), pointer xyvert
 horizontal coordinates of the vertical grid
double precision, dimension(:), pointer zvert
 vertical grid for 1D radiative scheme initialize in cs_user_atmospheric_model.f90
double precision, dimension(:), pointer acinfe
 absorption for CO2 + 03
double precision, dimension(:), pointer dacinfe
 differential absorption for CO2 + 03
double precision, dimension(:,:), pointer aco2
 absorption for CO2 only
double precision, dimension(:,:), pointer aco2s
double precision, dimension(:,:), pointer daco2
 differential absorption for CO2 only
double precision, dimension(:,:), pointer daco2s
double precision, dimension(:), pointer acsup
 idem acinfe, flux descendant
double precision, dimension(:), pointer acsups
double precision, dimension(:), pointer dacsup
 internal variable for 1D radiative model
double precision, dimension(:), pointer dacsups
double precision, dimension(:), pointer tauzq
 internal variable for 1D radiative model
double precision, dimension(:), pointer tauz
 internal variable for 1D radiative model
double precision, dimension(:), pointer zq
 internal variable for 1D radiative model
double precision, dimension(:), pointer soil_albedo
 Defines the soil constants and variables of the vertical arrays used for the 1D radiative model soil albedo.
double precision, dimension(:), pointer soil_emissi
 emissivity
double precision, dimension(:), pointer soil_ttsoil
 soil thermo temperature
double precision, dimension(:), pointer soil_tpsoil
 soil potential temperature
double precision, dimension(:), pointer soil_totwat
 total water content
double precision, dimension(:), pointer soil_pressure
 surface pressure
double precision, dimension(:), pointer soil_density
 density
double precision, save tausup
 internal variable for 1D radiative model
double precision, dimension(:), pointer zray
 internal variable for 1D radiative model
double precision, dimension(:,:), pointer rayi
double precision, dimension(:,:), pointer rayst
double precision, dimension(:,:), pointer iru
 Upward and downward radiative fluxes (infrared, solar) along each vertical.
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.
logical(c_bool), pointer, save compute_z_ground
 Do we compute z ground every where?
integer(c_int), pointer, save modsub
 Option for subgrid models.
integer(c_int), pointer, save moddis
 Option for liquid water content distribution models.
integer(c_int), pointer, save modnuc
 Option for nucleation.
integer(c_int), pointer, save modsedi
 sedimentation flag
integer(c_int), pointer, save moddep
 deposition flag
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
integer, save kopint
 key id for optimal interpolation
real(c_double), pointer, save aod_o3_tot
 Aerosol optical properties.
real(c_double), pointer, save aod_h2o_tot
 adimensional : aod_h2o_tot=0.10 other referenced values are 0.06, 0.08
double precision, save gaero_o3
 Asymmetry factor for O3 (non-dimensional) climatic value gaero_o3=0.66.
double precision, save gaero_h2o
 Asymmetry factor for H2O (non-dimensional) climatic value gaero_h2o=0.64.
double precision, save piaero_o3
 Single scattering albedo for O3 (non-dimensional) climatic value piaero_o3=0.84, other referenced values are 0.963.
double precision, save piaero_h2o
 Single scattering albedo for H2O (non-dimensional) climatic value piaero_h2o=0.84, other referenced values are 0.964.
double precision, save black_carbon_frac
 Fraction of Black carbon (non-dimensional): black_carbon_frac=1.d-8 for no BC.
double precision, save zaero
 Maximal height for aerosol distribution on the vertical important should be <= zqq(kmray-1); in meters : referenced value: zaero=6000.

Function/Subroutine Documentation

◆ allocate_map_atmo()

subroutine allocate_map_atmo

Allocate and map to C meteo data.

◆ atmo_get_meteo_file_name()

subroutine atmo_get_meteo_file_name ( character(len=*), intent(out) name)

Return meteo file name.

Parameters
[out]namemeteo file name

◆ 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.

◆ finalize_meteo()

subroutine finalize_meteo

Final step for deallocation.

◆ init_meteo()

subroutine init_meteo

Initialisation of meteo data.