CAMP 1.0.0
Chemistry Across Multiple Phases
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

type  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)
 
#define PROD_(x)
 
#define WATER_(x)
 
#define DERIV_ID_(x)
 
#define JAC_ID_(x)
 
#define YIELD_(x)
 
#define KGM3_TO_MOLM3_(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.)
 
subroutine camp_rxn_condensed_phase_photolysis::finalize (this)
 Finalize the reaction.
 
subroutine camp_rxn_condensed_phase_photolysis::finalize_array (this)
 Finalize an array of reactions.
 
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.
 
subroutine camp_rxn_condensed_phase_photolysis::update_data_finalize (this)
 Finalize an update data object.
 
subroutine camp_rxn_condensed_phase_photolysis::update_data_finalize_array (this)
 Finalize an array of update data objects.
 

Detailed Description

Macro Definition Documentation

◆ DERIV_ID_

#define DERIV_ID_ ( x)
Value:
1this%condensed_data_int(num_int_prop_+(num_react_+num_prod_+1)*num_aero_phase_+x)

◆ JAC_ID_

#define JAC_ID_ ( x)
Value:
1this%condensed_data_int(num_int_prop_+(2*(num_react_+num_prod_)+1)*num_aero_phase_+x)

◆ KGM3_TO_MOLM3_

#define KGM3_TO_MOLM3_ ( x)
Value:
1this%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)
Value:
1this%condensed_data_int(num_int_prop_+num_react_*num_aero_phase_+x)

◆ REACT_

#define REACT_ ( x)
Value:
1this%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)
Value:
1this%condensed_data_int(num_int_prop_+(num_react_+num_prod_)*num_aero_phase_+x)

◆ YIELD_

#define YIELD_ ( x)
Value:
1this%condensed_data_real(num_real_prop_+x)