8.3
general documentation
atchem Module Reference

Data Types

interface  cs_f_atmo_chem_finalize
 Deallocate arrays for atmo chemistry. More...
 
interface  cs_f_atmo_chem_initialize_reacnum
 Return pointer to reacnum. More...
 
interface  cs_f_atmo_get_aero_conc_file_name
 
interface  cs_f_atmo_get_arrays_chem_conc_profiles
 
interface  cs_f_atmo_get_chem_conc_file_name
 
interface  cs_f_atmo_get_chem_conc_profiles
 

Functions/Subroutines

subroutine atmo_get_chem_conc_file_name (name)
 Return chemistry concentration file name. More...
 
subroutine atmo_get_aero_conc_file_name (name)
 Return aerosol concentration file name. More...
 
subroutine init_chemistry
 Allocate some atmoshperic chemistry arrays. More...
 
subroutine init_chemistry_reacnum ()
 Allocate memory relative to mesh size. More...
 
subroutine cs_atmo_chem_init_c_chemistry
 Initialize species_to_field_id. More...
 
subroutine init_chemistry_pointers
 Map pointers to arrays. More...
 
subroutine finalize_chemistry ()
 deallocate the space More...
 

Variables

double precision navo
 Avogadro constant (molecules/mol) More...
 
double precision mair
 Molar mass of dry air constant (Kg/mol) More...
 
integer(c_int), pointer, save ichemistry
 Choice of chemistry resolution scheme. More...
 
integer(c_int), pointer, save isepchemistry
 isepchemistry: splitted (=1) or semi-coupled (=2, pu-sun) resolution of chemistry More...
 
logical(kind=c_bool), pointer, save photolysis
 photolysis: inclusion (true) or not (false) of photolysis reactions More...
 
integer(c_int), pointer, save nespg
 Number of chemical species. More...
 
integer(c_int), pointer, save nrg
 Number of chemical reactions. More...
 
integer(c_int), dimension(:), pointer, save isca_chem
 scalar id for chemical species More...
 
double precision, dimension(:), pointer dmmk
 Molar mass of chemical species (g/mol) More...
 
integer(c_int), dimension(:), pointer chempoint
 pointer to deal with different orders of chemical species More...
 
double precision, dimension(:), allocatable conv_factor_jac
 conversion factors for reaction rates Jacobian matrix More...
 
double precision, dimension(:), pointer reacnum
 kinetics constants More...
 
double precision dtchemmax
 maximal time step for chemistry resolution More...
 
integer(c_int), pointer, save nbchim
 number of time steps for the concentration profiles file More...
 
integer(c_int), pointer, save nbchmz
 number of altitudes for the concentration profiles file More...
 
integer(c_int), pointer, save nespgi
 number of initialized chemical species in the concentration profiles file More...
 
integer, dimension(:), allocatable idespgi
 indices of chemical species in the concentration profiles file More...
 
double precision, dimension(:), pointer espnum
 concentration profiles More...
 
double precision, dimension(:), pointer zproc
 altitudes of the concentration profiles More...
 
double precision, dimension(:), pointer tchem
 time steps of the concentration profiles More...
 
double precision, dimension(:), pointer xchem
 X coordinates of concentration profiles. More...
 
double precision, dimension(:), pointer ychem
 Y coordinates of concentration profiles. More...
 

Function/Subroutine Documentation

◆ atmo_get_aero_conc_file_name()

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

Return aerosol concentration file name.

Parameters
[out]nameaerosol concentration file name

◆ atmo_get_chem_conc_file_name()

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

Return chemistry concentration file name.

Parameters
[out]namechemistry concentration file name

◆ cs_atmo_chem_init_c_chemistry()

subroutine cs_atmo_chem_init_c_chemistry

Initialize species_to_field_id.

◆ finalize_chemistry()

subroutine finalize_chemistry

deallocate the space

◆ init_chemistry()

subroutine init_chemistry

Allocate some atmoshperic chemistry arrays.

◆ init_chemistry_pointers()

subroutine init_chemistry_pointers

Map pointers to arrays.

◆ init_chemistry_reacnum()

subroutine init_chemistry_reacnum

Allocate memory relative to mesh size.