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

Data Types

interface  atlecm
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.
subroutine atmo_get_aero_conc_file_name (name)
 Return aerosol concentration file name.
subroutine init_chemistry ()
 Allocate some atmoshperic chemistry arrays.
subroutine init_chemistry_reacnum ()
 Allocate memory relative to mesh size.
subroutine cs_atmo_chem_init_c_chemistry
 Initialize species_to_field_id.
subroutine init_chemistry_pointers
 Map pointers to arrays.
subroutine finalize_chemistry ()
 deallocate the space

Variables

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

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.