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

The camp_rxn_condensed_phase_photolysis module. More...

Go to the source code of this file.

Data Types

interface  camp_rxn_condensed_phase_photolysis::rxn_condensed_phase_photolysis_t
 Generic test reaction data type. More...
 
type  camp_rxn_condensed_phase_photolysis::rxn_update_data_condensed_phase_photolysis_t
 Condensed-phase Photolysis rate update object. More...
 
interface  camp_rxn_condensed_phase_photolysis::rxn_condensed_phase_photolysis_create_rate_update_data
 Interface to c reaction functions. More...
 
interface  camp_rxn_condensed_phase_photolysis::rxn_condensed_phase_photolysis_set_rate_update_data
 Set a new photolysis rate. More...
 
interface  camp_rxn_condensed_phase_photolysis::rxn_free_update_data
 Free an update rate data object. More...
 

Modules

module  camp_rxn_condensed_phase_photolysis
 The rxn_condensed_phase_photolysis_t type and associated functions.
 

Macros

#define NUM_REACT_   this%condensed_data_int(1)
 
#define NUM_PROD_   this%condensed_data_int(2)
 
#define NUM_AERO_PHASE_   this%condensed_data_int(3)
 
#define RXN_ID_   this%condensed_data_int(4)
 
#define SCALING_   this%condensed_data_real(1)
 
#define NUM_REAL_PROP_   1
 
#define NUM_INT_PROP_   4
 
#define NUM_ENV_PARAM_   2
 
#define REACT_(x)   this%condensed_data_int(NUM_INT_PROP_+x)
 
#define PROD_(x)   this%condensed_data_int(NUM_INT_PROP_+NUM_REACT_*NUM_AERO_PHASE_+x)
 
#define WATER_(x)   this%condensed_data_int(NUM_INT_PROP_+(NUM_REACT_+NUM_PROD_)*NUM_AERO_PHASE_+x)
 
#define DERIV_ID_(x)   this%condensed_data_int(NUM_INT_PROP_+(NUM_REACT_+NUM_PROD_+1)*NUM_AERO_PHASE_+x)
 
#define JAC_ID_(x)   this%condensed_data_int(NUM_INT_PROP_+(2*(NUM_REACT_+NUM_PROD_)+1)*NUM_AERO_PHASE_+x)
 
#define YIELD_(x)   this%condensed_data_real(NUM_REAL_PROP_+x)
 
#define KGM3_TO_MOLM3_(x)   this%condensed_data_real(NUM_REAL_PROP_+NUM_PROD_+x)
 

Functions/Subroutines

type(rxn_condensed_phase_photolysis_t) function, pointer camp_rxn_condensed_phase_photolysis::constructor ()
 Constructor for Condensed-phase Photolysis reaction.
 
subroutine camp_rxn_condensed_phase_photolysis::initialize (this, chem_spec_data, aero_rep, n_cells)
 Initialize the reaction data, validating component data and loading any required information into the condensed data arrays for use during solving.
 
type(property_t) function, pointer camp_rxn_condensed_phase_photolysis::get_property_set (this)
 Get the reaction properties. (For use by external photolysis modules.)
 
elemental subroutine camp_rxn_condensed_phase_photolysis::finalize (this)
 Finalize the reaction.
 
subroutine camp_rxn_condensed_phase_photolysis::update_data_rate_set (this, base_rate)
 Set packed update data for photolysis rate constants.
 
subroutine camp_rxn_condensed_phase_photolysis::update_data_initialize (this, update_data, rxn_type)
 Initialize update data.
 
integer(kind=i_kind) function camp_rxn_condensed_phase_photolysis::internal_pack_size (this, comm)
 Determine the size of a binary required to pack the reaction data.
 
subroutine camp_rxn_condensed_phase_photolysis::internal_bin_pack (this, buffer, pos, comm)
 Pack the given value to the buffer, advancing position.
 
subroutine camp_rxn_condensed_phase_photolysis::internal_bin_unpack (this, buffer, pos, comm)
 Unpack the given value from the buffer, advancing position.
 
elemental subroutine camp_rxn_condensed_phase_photolysis::update_data_finalize (this)
 Finalize an update data object.
 

Detailed Description

The camp_rxn_condensed_phase_photolysis module.

Definition in file rxn_condensed_phase_photolysis.F90.

Macro Definition Documentation

◆ DERIV_ID_

#define DERIV_ID_ (   x)    this%condensed_data_int(NUM_INT_PROP_+(NUM_REACT_+NUM_PROD_+1)*NUM_AERO_PHASE_+x)

◆ JAC_ID_

#define JAC_ID_ (   x)    this%condensed_data_int(NUM_INT_PROP_+(2*(NUM_REACT_+NUM_PROD_)+1)*NUM_AERO_PHASE_+x)

◆ KGM3_TO_MOLM3_

#define KGM3_TO_MOLM3_ (   x)    this%condensed_data_real(NUM_REAL_PROP_+NUM_PROD_+x)

◆ NUM_AERO_PHASE_

#define NUM_AERO_PHASE_   this%condensed_data_int(3)

◆ NUM_ENV_PARAM_

#define NUM_ENV_PARAM_   2

◆ NUM_INT_PROP_

#define NUM_INT_PROP_   4

◆ NUM_PROD_

#define NUM_PROD_   this%condensed_data_int(2)

◆ NUM_REACT_

#define NUM_REACT_   this%condensed_data_int(1)

◆ NUM_REAL_PROP_

#define NUM_REAL_PROP_   1

◆ PROD_

#define PROD_ (   x)    this%condensed_data_int(NUM_INT_PROP_+NUM_REACT_*NUM_AERO_PHASE_+x)

◆ REACT_

#define REACT_ (   x)    this%condensed_data_int(NUM_INT_PROP_+x)

◆ RXN_ID_

#define RXN_ID_   this%condensed_data_int(4)

◆ SCALING_

#define SCALING_   this%condensed_data_real(1)

◆ WATER_

#define WATER_ (   x)    this%condensed_data_int(NUM_INT_PROP_+(NUM_REACT_+NUM_PROD_)*NUM_AERO_PHASE_+x)

◆ YIELD_

#define YIELD_ (   x)    this%condensed_data_real(NUM_REAL_PROP_+x)