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

The camp_rxn_SIMPOL_phase_transfer module. More...

Go to the source code of this file.

Data Types

interface  camp_rxn_simpol_phase_transfer::rxn_simpol_phase_transfer_t
 Generic test reaction data type. More...
 

Modules

module  camp_rxn_simpol_phase_transfer
 The rxn_SIMPOL_phase_transfer_t type and associated functions.
 

Macros

#define DELTA_H_   this%condensed_data_real(1)
 
#define DELTA_S_   this%condensed_data_real(2)
 
#define DIFF_COEFF_   this%condensed_data_real(3)
 
#define PRE_C_AVG_   this%condensed_data_real(4)
 
#define B1_   this%condensed_data_real(5)
 
#define B2_   this%condensed_data_real(6)
 
#define B3_   this%condensed_data_real(7)
 
#define B4_   this%condensed_data_real(8)
 
#define CONV_   this%condensed_data_real(9)
 
#define MW_   this%condensed_data_real(10)
 
#define NUM_AERO_PHASE_   this%condensed_data_int(1)
 
#define GAS_SPEC_   this%condensed_data_int(2)
 
#define NUM_INT_PROP_   2
 
#define NUM_REAL_PROP_   10
 
#define NUM_ENV_PARAM_   4
 
#define AERO_SPEC_(x)   this%condensed_data_int(NUM_INT_PROP_+x)
 
#define AERO_ACT_ID_(x)   this%condensed_data_int(NUM_INT_PROP_+NUM_AERO_PHASE_+x)
 
#define AERO_PHASE_ID_(x)   this%condensed_data_int(NUM_INT_PROP_+2*NUM_AERO_PHASE_+x)
 
#define AERO_REP_ID_(x)   this%condensed_data_int(NUM_INT_PROP_+3*NUM_AERO_PHASE_+x)
 
#define DERIV_ID_(x)   this%condensed_data_int(NUM_INT_PROP_+4*NUM_AERO_PHASE_+x)
 
#define GAS_ACT_JAC_ID_(x)   this%condensed_data_int(NUM_INT_PROP_+1+5*NUM_AERO_PHASE_+x)
 
#define AERO_ACT_JAC_ID_(x)   this%condensed_data_int(NUM_INT_PROP_+1+6*NUM_AERO_PHASE_+x)
 
#define JAC_ID_(x)   this%condensed_data_int(NUM_INT_PROP_+1+7*NUM_AERO_PHASE_+x)
 
#define PHASE_INT_LOC_(x)   this%condensed_data_int(NUM_INT_PROP_+2+10*NUM_AERO_PHASE_+x)
 
#define PHASE_REAL_LOC_(x)   this%condensed_data_int(NUM_INT_PROP_+2+11*NUM_AERO_PHASE_+x)
 
#define NUM_AERO_PHASE_JAC_ELEM_(x)   this%condensed_data_int(PHASE_INT_LOC_(x))
 
#define PHASE_JAC_ID_(x, s, e)   this%condensed_data_int(PHASE_INT_LOC_(x)+(s-1)*NUM_AERO_PHASE_JAC_ELEM_(x)+e)
 
#define EFF_RAD_JAC_ELEM_(x, e)   this%condensed_data_real(PHASE_REAL_LOC_(x)-1+e)
 
#define NUM_CONC_JAC_ELEM_(x, e)   this%condensed_data_real(PHASE_REAL_LOC_(x)-1+NUM_AERO_PHASE_JAC_ELEM_(x)+e)
 
#define MASS_JAC_ELEM_(x, e)   this%condensed_data_real(PHASE_REAL_LOC_(x)-1+2*NUM_AERO_PHASE_JAC_ELEM_(x)+e)
 
#define MW_JAC_ELEM_(x, e)   this%condensed_data_real(PHASE_REAL_LOC_(x)-1+3*NUM_AERO_PHASE_JAC_ELEM_(x)+e)
 

Functions/Subroutines

type(rxn_simpol_phase_transfer_t) function, pointer camp_rxn_simpol_phase_transfer::constructor ()
 Constructor for Phase transfer reaction.
 
subroutine camp_rxn_simpol_phase_transfer::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_simpol_phase_transfer::finalize (this)
 Finalize the reaction.
 

Detailed Description

The camp_rxn_SIMPOL_phase_transfer module.

Definition in file rxn_SIMPOL_phase_transfer.F90.

Macro Definition Documentation

◆ AERO_ACT_ID_

#define AERO_ACT_ID_ (   x)    this%condensed_data_int(NUM_INT_PROP_+NUM_AERO_PHASE_+x)

◆ AERO_ACT_JAC_ID_

#define AERO_ACT_JAC_ID_ (   x)    this%condensed_data_int(NUM_INT_PROP_+1+6*NUM_AERO_PHASE_+x)

◆ AERO_PHASE_ID_

#define AERO_PHASE_ID_ (   x)    this%condensed_data_int(NUM_INT_PROP_+2*NUM_AERO_PHASE_+x)

◆ AERO_REP_ID_

#define AERO_REP_ID_ (   x)    this%condensed_data_int(NUM_INT_PROP_+3*NUM_AERO_PHASE_+x)

◆ AERO_SPEC_

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

◆ B1_

#define B1_   this%condensed_data_real(5)

◆ B2_

#define B2_   this%condensed_data_real(6)

◆ B3_

#define B3_   this%condensed_data_real(7)

◆ B4_

#define B4_   this%condensed_data_real(8)

◆ CONV_

#define CONV_   this%condensed_data_real(9)

◆ DELTA_H_

#define DELTA_H_   this%condensed_data_real(1)

◆ DELTA_S_

#define DELTA_S_   this%condensed_data_real(2)

◆ DERIV_ID_

#define DERIV_ID_ (   x)    this%condensed_data_int(NUM_INT_PROP_+4*NUM_AERO_PHASE_+x)

◆ DIFF_COEFF_

#define DIFF_COEFF_   this%condensed_data_real(3)

◆ EFF_RAD_JAC_ELEM_

#define EFF_RAD_JAC_ELEM_ (   x,
 
)    this%condensed_data_real(PHASE_REAL_LOC_(x)-1+e)

◆ GAS_ACT_JAC_ID_

#define GAS_ACT_JAC_ID_ (   x)    this%condensed_data_int(NUM_INT_PROP_+1+5*NUM_AERO_PHASE_+x)

◆ GAS_SPEC_

#define GAS_SPEC_   this%condensed_data_int(2)

◆ JAC_ID_

#define JAC_ID_ (   x)    this%condensed_data_int(NUM_INT_PROP_+1+7*NUM_AERO_PHASE_+x)

◆ MASS_JAC_ELEM_

#define MASS_JAC_ELEM_ (   x,
 
)    this%condensed_data_real(PHASE_REAL_LOC_(x)-1+2*NUM_AERO_PHASE_JAC_ELEM_(x)+e)

◆ MW_

#define MW_   this%condensed_data_real(10)

◆ MW_JAC_ELEM_

#define MW_JAC_ELEM_ (   x,
 
)    this%condensed_data_real(PHASE_REAL_LOC_(x)-1+3*NUM_AERO_PHASE_JAC_ELEM_(x)+e)

◆ NUM_AERO_PHASE_

#define NUM_AERO_PHASE_   this%condensed_data_int(1)

◆ NUM_AERO_PHASE_JAC_ELEM_

#define NUM_AERO_PHASE_JAC_ELEM_ (   x)    this%condensed_data_int(PHASE_INT_LOC_(x))

◆ NUM_CONC_JAC_ELEM_

#define NUM_CONC_JAC_ELEM_ (   x,
 
)    this%condensed_data_real(PHASE_REAL_LOC_(x)-1+NUM_AERO_PHASE_JAC_ELEM_(x)+e)

◆ NUM_ENV_PARAM_

#define NUM_ENV_PARAM_   4

◆ NUM_INT_PROP_

#define NUM_INT_PROP_   2

◆ NUM_REAL_PROP_

#define NUM_REAL_PROP_   10

◆ PHASE_INT_LOC_

#define PHASE_INT_LOC_ (   x)    this%condensed_data_int(NUM_INT_PROP_+2+10*NUM_AERO_PHASE_+x)

◆ PHASE_JAC_ID_

#define PHASE_JAC_ID_ (   x,
  s,
 
)    this%condensed_data_int(PHASE_INT_LOC_(x)+(s-1)*NUM_AERO_PHASE_JAC_ELEM_(x)+e)

◆ PHASE_REAL_LOC_

#define PHASE_REAL_LOC_ (   x)    this%condensed_data_int(NUM_INT_PROP_+2+11*NUM_AERO_PHASE_+x)

◆ PRE_C_AVG_

#define PRE_C_AVG_   this%condensed_data_real(4)