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

The camp_rxn_surface module. More...

Go to the source code of this file.

Data Types

interface  camp_rxn_surface::rxn_surface_t
 Generic test reaction data type. More...
 

Modules

module  camp_rxn_surface
 The rxn_surface_t type and associated functions.
 

Macros

#define DIFF_COEFF_   this%condensed_data_real(1)
 
#define GAMMA_   this%condensed_data_real(2)
 
#define MW_   this%condensed_data_real(3)
 
#define NUM_AERO_PHASE_   this%condensed_data_int(1)
 
#define REACT_ID_   this%condensed_data_int(2)
 
#define NUM_PROD_   this%condensed_data_int(3)
 
#define NUM_INT_PROP_   3
 
#define NUM_REAL_PROP_   3
 
#define NUM_ENV_PARAM_   1
 
#define PROD_ID_(x)   this%condensed_data_int(NUM_INT_PROP_+x)
 
#define DERIV_ID_(x)   this%condensed_data_int(NUM_INT_PROP_+NUM_PROD_+x)
 
#define JAC_ID_(x)   this%condensed_data_int(NUM_INT_PROP_+1+2*NUM_PROD_+x)
 
#define PHASE_INT_LOC_(x)   this%condensed_data_int(NUM_INT_PROP_+2+3*NUM_PROD_+x)
 
#define PHASE_REAL_LOC_(x)   this%condensed_data_int(NUM_INT_PROP_+2+3*NUM_PROD_+NUM_AERO_PHASE_+x)
 
#define AERO_PHASE_ID_(x)   this%condensed_data_int(PHASE_INT_LOC_(x))
 
#define AERO_REP_ID_(x)   this%condensed_data_int(PHASE_INT_LOC_(x)+1)
 
#define NUM_AERO_PHASE_JAC_ELEM_(x)   this%condensed_data_int(PHASE_INT_LOC_(x)+2)
 
#define PHASE_JAC_ID_(x, s, e)   this%condensed_data_int(PHASE_INT_LOC_(x)+3+(s-1)*NUM_AERO_PHASE_JAC_ELEM_(x)+e)
 
#define YIELD_(x)   this%condensed_data_real(NUM_REAL_PROP_+x)
 
#define EFF_RAD_JAC_ELEM_(x, e)   this%condensed_data_real(PHASE_REAL_LOC_(x)+(e-1))
 
#define NUM_CONC_JAC_ELEM_(x, e)   this%condensed_data_real(PHASE_REAL_LOC_(x)+NUM_AERO_PHASE_JAC_ELEM_(x)+(e-1))
 

Functions/Subroutines

type(rxn_surface_t) function, pointer camp_rxn_surface::constructor ()
 Constructor for surface reaction.
 
subroutine camp_rxn_surface::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_surface::finalize (this)
 Finalize the reaction.
 

Detailed Description

The camp_rxn_surface module.

Definition in file rxn_surface.F90.

Macro Definition Documentation

◆ AERO_PHASE_ID_

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

◆ AERO_REP_ID_

#define AERO_REP_ID_ (   x)    this%condensed_data_int(PHASE_INT_LOC_(x)+1)

◆ DERIV_ID_

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

◆ DIFF_COEFF_

#define DIFF_COEFF_   this%condensed_data_real(1)

◆ EFF_RAD_JAC_ELEM_

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

◆ GAMMA_

#define GAMMA_   this%condensed_data_real(2)

◆ JAC_ID_

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

◆ MW_

#define MW_   this%condensed_data_real(3)

◆ 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)+2)

◆ NUM_CONC_JAC_ELEM_

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

◆ 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(3)

◆ NUM_REAL_PROP_

#define NUM_REAL_PROP_   3

◆ PHASE_INT_LOC_

#define PHASE_INT_LOC_ (   x)    this%condensed_data_int(NUM_INT_PROP_+2+3*NUM_PROD_+x)

◆ PHASE_JAC_ID_

#define PHASE_JAC_ID_ (   x,
  s,
 
)    this%condensed_data_int(PHASE_INT_LOC_(x)+3+(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+3*NUM_PROD_+NUM_AERO_PHASE_+x)

◆ PROD_ID_

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

◆ REACT_ID_

#define REACT_ID_   this%condensed_data_int(2)

◆ YIELD_

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