afivo-streamer 1.1
1D/2D/3D streamer simulations with AMR
Loading...
Searching...
No Matches
Data Types | Modules | Functions/Subroutines | Variables
m_chemistry.f90 File Reference

Go to the source code of this file.

Modules

module  m_chemistry
 Module for handling chemical reactions.
 

Functions/Subroutines

subroutine, public m_chemistry::chemistry_initialize (tree, cfg)
 Initialize module and load chemical reactions.
 
subroutine, public m_chemistry::chemistry_write_summary (fname)
 Write a summary of the reactions (TODO) and the ionization and attachment coefficients (if working at constant pressure)
 
subroutine, public m_chemistry::chemistry_get_breakdown_field (field_td, min_growth_rate)
 Get the breakdown field in Townsend.
 
subroutine, public m_chemistry::get_rates (fields, rates, n_cells, energy_ev)
 Compute reaction rates.
 
subroutine, public m_chemistry::get_derivatives (dens, rates, derivs, n_cells)
 Compute derivatives due to chemical reactions. Note that the 'rates' argument is modified.
 
subroutine, public m_chemistry::read_reactions (filename, read_success)
 Read reactions from a file.
 
elemental integer function, public m_chemistry::species_index (name)
 Find index of a species, return -1 if not found.
 

Variables

integer, parameter, public m_chemistry::ionization_reaction = 1
 Identifier for ionization reactions.
 
integer, parameter, public m_chemistry::attachment_reaction = 2
 Identifier for attachment reactions.
 
integer, parameter, public m_chemistry::recombination_reaction = 3
 Identifier for recombination reactions.
 
integer, parameter, public m_chemistry::detachment_reaction = 4
 Identifier for detachment reactions.
 
integer, parameter, public m_chemistry::general_reaction = 5
 Identifier for general reactions (not of any particular type)
 
character(len=20), dimension(*), parameter, public m_chemistry::reaction_names = [character(len=20) :: "ionization", "attachment", "recombination", "detachment", "general"]
 
integer, parameter m_chemistry::rate_tabulated_energy = 0
 Reaction with a field-dependent reaction rate.
 
integer, public, protected m_chemistry::n_species = 0
 Number of species present.
 
integer, public, protected m_chemistry::n_gas_species = 0
 Number of gas species present.
 
integer, public, protected m_chemistry::n_plasma_species = 0
 Number of plasma species present.
 
integer, public, protected m_chemistry::n_reactions = 0
 Number of reactions present.
 
character(len=comp_len), dimension(max_num_species), public, protected m_chemistry::species_list
 List of the species.
 
integer, dimension(max_num_species), public, protected m_chemistry::species_charge = 0
 Charge of the species.
 
integer, dimension(max_num_species), public, protected m_chemistry::species_itree
 species_itree(n) holds the index of species n in the tree (cell-centered variables)
 
type(reaction_t), dimension(max_num_reactions), public, protected m_chemistry::reactions
 List of reactions.
 
integer, dimension(:), allocatable, public, protected m_chemistry::charged_species_itree
 List with indices of charged species.
 
integer, dimension(:), allocatable, public, protected m_chemistry::charged_species_charge
 List with charges of charged species.