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

The camp_rxn_aqueous_equilibrium module. More...

Go to the source code of this file.

Data Types

interface  camp_rxn_aqueous_equilibrium::rxn_aqueous_equilibrium_t
 Generic test reaction data type. More...
 

Modules

module  camp_rxn_aqueous_equilibrium
 The rxn_aqueous_equilibrium_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 A_   this%condensed_data_real(1)
 
#define C_   this%condensed_data_real(2)
 
#define RATE_CONST_REVERSE_   this%condensed_data_real(3)
 
#define WATER_CONC_   this%condensed_data_real(4)
 
#define ACTIVITY_COEFF_VALUE_   this%condensed_data_real(5)
 
#define NUM_INT_PROP_   3
 
#define NUM_REAL_PROP_   5
 
#define NUM_ENV_PARAM_   1
 
#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 ACTIVITY_COEFF_(x)   this%condensed_data_int(NUM_INT_PROP_+(NUM_REACT_+NUM_PROD_+1)*NUM_AERO_PHASE_+x)
 
#define DERIV_ID_(x)   this%condensed_data_int(NUM_INT_PROP_+(NUM_REACT_+NUM_PROD_+2)*NUM_AERO_PHASE_+x)
 
#define JAC_ID_(x)   this%condensed_data_int(NUM_INT_PROP_+(2*(NUM_REACT_+NUM_PROD_)+2)*NUM_AERO_PHASE_+x)
 
#define MASS_FRAC_TO_M_(x)   this%condensed_data_real(NUM_REAL_PROP_+x)
 
#define REACT_CONC_(x)   this%condensed_data_real(NUM_REAL_PROP_+NUM_REACT_+NUM_PROD_+x)
 
#define PROD_CONC_(x)   this%condensed_data_real(NUM_REAL_PROP_+2*NUM_REACT_+NUM_PROD_+x)
 
#define SMALL_WATER_CONC_(x)   this%condensed_data_real(NUM_REAL_PROP_+2*NUM_REACT_+2*NUM_PROD_+x)
 
#define SMALL_CONC_(x)   this%condensed_data_real(NUM_REAL_PROP_+2*NUM_REACT_+2*NUM_PROD_+NUM_AERO_PHASE_+x)
 

Functions/Subroutines

type(rxn_aqueous_equilibrium_t) function, pointer camp_rxn_aqueous_equilibrium::constructor ()
 Constructor for Aqueous equilibrium reaction.
 
subroutine camp_rxn_aqueous_equilibrium::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.
 
elemental subroutine camp_rxn_aqueous_equilibrium::finalize (this)
 Finalize the reaction.
 

Detailed Description

The camp_rxn_aqueous_equilibrium module.

Definition in file rxn_aqueous_equilibrium.F90.

Macro Definition Documentation

◆ A_

#define A_   this%condensed_data_real(1)

◆ ACTIVITY_COEFF_

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

◆ ACTIVITY_COEFF_VALUE_

#define ACTIVITY_COEFF_VALUE_   this%condensed_data_real(5)

◆ C_

#define C_   this%condensed_data_real(2)

◆ DERIV_ID_

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

◆ JAC_ID_

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

◆ MASS_FRAC_TO_M_

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

◆ NUM_AERO_PHASE_

#define NUM_AERO_PHASE_   this%condensed_data_int(3)

◆ NUM_ENV_PARAM_

#define NUM_ENV_PARAM_   1

◆ 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_   5

◆ PROD_

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

◆ PROD_CONC_

#define PROD_CONC_ (   x)    this%condensed_data_real(NUM_REAL_PROP_+2*NUM_REACT_+NUM_PROD_+x)

◆ RATE_CONST_REVERSE_

#define RATE_CONST_REVERSE_   this%condensed_data_real(3)

◆ REACT_

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

◆ REACT_CONC_

#define REACT_CONC_ (   x)    this%condensed_data_real(NUM_REAL_PROP_+NUM_REACT_+NUM_PROD_+x)

◆ SMALL_CONC_

#define SMALL_CONC_ (   x)    this%condensed_data_real(NUM_REAL_PROP_+2*NUM_REACT_+2*NUM_PROD_+NUM_AERO_PHASE_+x)

◆ SMALL_WATER_CONC_

#define SMALL_WATER_CONC_ (   x)    this%condensed_data_real(NUM_REAL_PROP_+2*NUM_REACT_+2*NUM_PROD_+x)

◆ WATER_

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

◆ WATER_CONC_

#define WATER_CONC_   this%condensed_data_real(4)