CAMP 1.0.0
Chemistry Across Multiple Phases
Data Types | Modules | Functions/Subroutines | Variables
rxn_data.F90 File Reference

The camp_rxn_data module. More...

Go to the source code of this file.

Data Types

type  camp_rxn_data::rxn_data_t
 Abstract reaction data type. More...
 
type  camp_rxn_data::rxn_data_ptr
 Pointer type for building arrays of mixed reactions. More...
 
type  camp_rxn_data::rxn_update_data_t
 Update cookie. More...
 
interface  camp_rxn_data::initialize
 Reaction initialization. Takes species, phase and reaction parameters and packs required information into the condensed data arrays for use during the model run. More...
 
interface  camp_rxn_data::internal_pack_size
 Extending-type binary pack size (internal use only) More...
 
interface  camp_rxn_data::internal_bin_pack
 Extending-type binary pack function (Internal use only) More...
 
interface  camp_rxn_data::internal_bin_unpack
 Extending-type binary unpack function (Internal use only) More...
 

Modules

module  camp_rxn_data
 The rxn_data_t structure and associated subroutines.
 

Functions/Subroutines

subroutine camp_rxn_data::load (this, json, j_obj)
 Load reactions from an input file.
 
logical function camp_rxn_data::check_phase (this, rxn_phase)
 Check the phase of the reaction against the phase being solved for. During GAS_RXN integrations, only GAS_RXN reactions are solved. During AERO_RXN integrations, only AERO_RXN and GAS_AERO_RXN reactions are solved. During GAS_AERO_RXN integrations, all reactions are solved.
 
integer(kind=i_kind) function camp_rxn_data::pack_size (this, comm)
 Determine the size of a binary required to pack the reaction data.
 
subroutine camp_rxn_data::bin_pack (this, buffer, pos, comm)
 Pack the given value to the buffer, advancing position.
 
subroutine camp_rxn_data::bin_unpack (this, buffer, pos, comm)
 Unpack the given value from the buffer, advancing position.
 
subroutine camp_rxn_data::do_print (this, file_unit)
 Print the reaction data.
 
elemental subroutine camp_rxn_data::dereference (this)
 Dereference a pointer to a reaction.
 
elemental subroutine camp_rxn_data::ptr_finalize (this)
 Finalize a pointer to a reaction.
 
integer(kind=c_int) function camp_rxn_data::rxn_update_data_get_type (this)
 Get the update data reaction type.
 
integer(kind=c_int) function camp_rxn_data::rxn_update_data_get_cell_id (this)
 Get the grid cell id to update.
 
type(c_ptr) function camp_rxn_data::rxn_update_data_get_data (this)
 Get the update data.
 
integer(kind=i_kind) function camp_rxn_data::rxn_update_data_pack_size (this, comm)
 Determine the size of a binary required to pack the reaction data.
 
subroutine camp_rxn_data::rxn_update_data_bin_pack (this, buffer, pos, comm)
 Pack the given value to the buffer, advancing position.
 
subroutine camp_rxn_data::rxn_update_data_bin_unpack (this, buffer, pos, comm)
 Unpack the given value from the buffer, advancing position.
 
subroutine camp_rxn_data::do_rxn_update_data_print (this, file_unit)
 Print the update data.
 

Variables

integer(kind=i_kind), parameter, public camp_rxn_data::gas_rxn = 1
 Gas-phase reaction.
 
integer(kind=i_kind), parameter, public camp_rxn_data::gas_aero_rxn = 2
 Mixed-phase (gas and aerosol) reaction.
 
integer(kind=i_kind), parameter, public camp_rxn_data::aero_rxn = 3
 Aerosol-phase reaction.
 

Detailed Description

The camp_rxn_data module.

Definition in file rxn_data.F90.