CAMP 1.0.0
Chemistry Across Multiple Phases
rxn_aqueous_equilibrium.F90 File Reference

The camp_rxn_aqueous_equilibrium module. More...

Go to the source code of this file.

Data Types

type  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)
 
#define PROD_(x)
 
#define WATER_(x)
 
#define ACTIVITY_COEFF_(x)
 
#define DERIV_ID_(x)
 
#define JAC_ID_(x)
 
#define MASS_FRAC_TO_M_(x)
 
#define REACT_CONC_(x)
 
#define PROD_CONC_(x)
 
#define SMALL_WATER_CONC_(x)
 
#define SMALL_CONC_(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.
 
subroutine camp_rxn_aqueous_equilibrium::finalize (this)
 Finalize the reaction.
 
subroutine camp_rxn_aqueous_equilibrium::finalize_array (this)
 Finalize an array of reactions.
 

Detailed Description

Macro Definition Documentation

◆ A_

#define A_   this%condensed_data_real(1)

◆ ACTIVITY_COEFF_

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

◆ JAC_ID_

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

◆ PROD_CONC_

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

◆ REACT_CONC_

#define REACT_CONC_ ( x)
Value:
1this%condensed_data_real(num_real_prop_+num_react_+num_prod_+x)

◆ SMALL_CONC_

#define SMALL_CONC_ ( x)
Value:
1this%condensed_data_real(num_real_prop_+2*num_react_+2*num_prod_+num_aero_phase_+x)

◆ SMALL_WATER_CONC_

#define SMALL_WATER_CONC_ ( x)
Value:
1this%condensed_data_real(num_real_prop_+2*num_react_+2*num_prod_+x)

◆ WATER_

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

◆ WATER_CONC_

#define WATER_CONC_   this%condensed_data_real(4)