8.1
general documentation
atchem Module Reference

Data Types

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

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, save ifilechemistry
 ifilechemistry: choice to read (=1,2,3,4, according to the scheme) or not (0) a concentration profile file 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, save nbchim
 number of time steps for the concentration profiles file More...
 
integer, save nbchmz
 number of altitudes for the concentration profiles file More...
 
integer, save nespgi = 0
 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(:), allocatable espnum
 concentration profiles More...
 
double precision, dimension(:), allocatable zproc
 altitudes of the concentration profiles More...
 
double precision, dimension(:), allocatable tchem
 time steps of the concentration profiles More...
 
double precision, dimension(:), allocatable xchem
 X coordinates of concentration profiles. More...
 
double precision, dimension(:), allocatable ychem
 Y coordinates of concentration profiles. More...
 

Function/Subroutine Documentation

◆ atmo_get_aero_conc_file_name()

subroutine atchem::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 atchem::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 atchem::cs_atmo_chem_init_c_chemistry

Initialize species_to_field_id.

◆ finalize_chemistry()

subroutine atchem::finalize_chemistry

deallocate the space

◆ init_chemistry()

subroutine atchem::init_chemistry

Allocate some atmoshperic chemistry arrays.

◆ init_chemistry_pointers()

subroutine atchem::init_chemistry_pointers

Map pointers to arrays.

◆ init_chemistry_reacnum()

subroutine atchem::init_chemistry_reacnum

Allocate memory relative to mesh size.