CAMP 1.0.0
Chemistry Across Multiple Phases
rxn_photolysis.F90 File Reference

The camp_rxn_photolysis module. More...

Go to the source code of this file.

Data Types

type  camp_rxn_photolysis::rxn_photolysis_t
 Generic test reaction data type. More...
 
type  camp_rxn_photolysis::rxn_update_data_photolysis_t
 Photolysis rate update object. More...
 
interface  camp_rxn_photolysis::rxn_photolysis_create_rate_update_data
 Interface to c reaction functions. More...
 
interface  camp_rxn_photolysis::rxn_photolysis_set_rate_update_data
 Set a new photolysis rate. More...
 
interface  camp_rxn_photolysis::rxn_free_update_data
 Free an update rate data object. More...
 

Modules

module  camp_rxn_photolysis
 The rxn_photolysis_t type and associated functions.
 

Macros

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

Functions/Subroutines

type(rxn_photolysis_t) function, pointer camp_rxn_photolysis::constructor ()
 Constructor for Photolysis reaction.
 
subroutine camp_rxn_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_photolysis::get_property_set (this)
 Get the reaction properties. (For use by external photolysis modules.)
 
subroutine camp_rxn_photolysis::finalize (this)
 Finalize the reaction.
 
subroutine camp_rxn_photolysis::finalize_array (this)
 Finalize an array of reactions.
 
subroutine camp_rxn_photolysis::update_data_rate_set (this, base_rate)
 Set packed update data for photolysis rate constants.
 
subroutine camp_rxn_photolysis::update_data_initialize (this, update_data, rxn_type)
 Initialize update data.
 
integer(kind=i_kind) function camp_rxn_photolysis::internal_pack_size (this, comm)
 Determine the size of a binary required to pack the reaction data.
 
subroutine camp_rxn_photolysis::internal_bin_pack (this, buffer, pos, comm)
 Pack the given value to the buffer, advancing position.
 
subroutine camp_rxn_photolysis::internal_bin_unpack (this, buffer, pos, comm)
 Unpack the given value from the buffer, advancing position.
 
subroutine camp_rxn_photolysis::update_data_finalize (this)
 Finalize an update data object.
 
subroutine camp_rxn_photolysis::update_data_finalize_array (this)
 Finalize an array of update data objects.
 

Detailed Description

The camp_rxn_photolysis module.

Definition in file rxn_photolysis.F90.

Macro Definition Documentation

◆ DERIV_ID_

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

◆ JAC_ID_

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

◆ NUM_ENV_PARAM_

#define NUM_ENV_PARAM_   2

◆ NUM_INT_PROP_

#define NUM_INT_PROP_   3

◆ 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_ + x)

◆ REACT_

#define REACT_ ( x)
Value:
1this%condensed_data_int(num_int_prop_ + x)

◆ RXN_ID_

#define RXN_ID_   this%condensed_data_int(3)

◆ SCALING_

#define SCALING_   this%condensed_data_real(1)

◆ YIELD_

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