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

The camp_rxn_photolysis module. More...

Go to the source code of this file.

Data Types

interface  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)   this%condensed_data_int(NUM_INT_PROP_ + x)
 
#define PROD_(x)   this%condensed_data_int(NUM_INT_PROP_ + NUM_REACT_ + x)
 
#define DERIV_ID_(x)   this%condensed_data_int(NUM_INT_PROP_ + NUM_REACT_ + NUM_PROD_ + x)
 
#define JAC_ID_(x)   this%condensed_data_int(NUM_INT_PROP_ + 2*(NUM_REACT_+NUM_PROD_) + x)
 
#define YIELD_(x)   this%condensed_data_real(NUM_REAL_PROP_ + 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.)
 
elemental subroutine camp_rxn_photolysis::finalize (this)
 Finalize the reaction.
 
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.
 
elemental subroutine camp_rxn_photolysis::update_data_finalize (this)
 Finalize an update data object.
 

Detailed Description

The camp_rxn_photolysis module.

Definition in file rxn_photolysis.F90.

Macro Definition Documentation

◆ DERIV_ID_

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

◆ JAC_ID_

#define JAC_ID_ (   x)    this%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)    this%condensed_data_int(NUM_INT_PROP_ + NUM_REACT_ + x)

◆ REACT_

#define REACT_ (   x)    this%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)    this%condensed_data_real(NUM_REAL_PROP_ + x)