CAMP 1.0.0
Chemistry Across Multiple Phases
|
Generic test reaction data type. More...
Public Member Functions | |
procedure | initialize (this, chem_spec_data, aero_rep, n_cells) |
Reaction initialization. | |
final | finalize (this) |
Finalize the reaction. | |
Public Member Functions inherited from camp_rxn_data::rxn_data_t | |
procedure(initialize), deferred | initialize initialize |
Reaction initialization. Takes species, phase and reaction parameters and packs required information into the condensed data arrays for use during the model run. | |
procedure | load (this, json, j_obj) |
Load data from an input file. | |
procedure | check_phase (this, rxn_phase) |
Check the phase of the reaction against the phase being solved for. During GAS_RXN integrations, only GAS_RXN reactions are solved. During AERO_RXN integrations, only AERO_RXN and GAS_AERO_RXN reactions are solved. During GAS_AERO_RXN integrations, all reactions are solved. | |
procedure | pack_size (this, comm) |
Determine the number of bytes required to pack the given value. | |
procedure | bin_pack (this, buffer, pos, comm) |
Packs the given value into the buffer, advancing position. | |
procedure | bin_unpack (this, buffer, pos, comm) |
Unpacks the given value from the buffer, advancing position. | |
procedure | print (this, file_unit) |
Print the reaction data. | |
Additional Inherited Members | |
Public Attributes inherited from camp_rxn_data::rxn_data_t | |
integer(kind=i_kind), public | rxn_phase |
Reaction phase. | |
type(property_t), pointer, public | property_set => null() |
Reaction parameters. These will be available during initialization, but not during integration. All information required to calculate the time derivatives and Jacobian matrix constributions must be saved by the exdending type. | |
real(kind=dp), dimension(:), allocatable, public | condensed_data_real |
Condensed reaction data. Theses arrays will be available during integration, and should contain any information required by the rate and Jacobian constribution functions that cannot be obtained from the camp_camp_state::camp_state_t object. (floating-point) | |
integer(kind=i_kind), dimension(:), allocatable, public | condensed_data_int |
Condensed reaction data. Theses arrays will be available during integration, and should contain any information required by the rate and Jacobian constribution functions that cannot be obtained from the camp_camp_state::camp_state_t object. (integer) | |
integer(kind=i_kind), public | num_env_params = 0 |
Number of environment-dependent parameters These are parameters that need updated when environmental conditions change. | |
Generic test reaction data type.
Constructor for rxn_CMAQ_H2O2_t.
Definition at line 105 of file rxn_CMAQ_H2O2.F90.
|
final |
Finalize the reaction.
[in,out] | this | Reaction data |
Definition at line 110 of file rxn_CMAQ_H2O2.F90.
procedure camp_rxn_cmaq_h2o2::rxn_cmaq_h2o2_t::initialize | ( | class(rxn_cmaq_h2o2_t), intent(inout) | this, |
type(chem_spec_data_t), intent(in) | chem_spec_data, | ||
type(aero_rep_data_ptr), dimension(:), intent(in), pointer | aero_rep, | ||
integer(kind=i_kind), intent(in) | n_cells | ||
) |
Reaction initialization.
[in,out] | this | Reaction data |
[in] | chem_spec_data | Chemical species data |
[in] | aero_rep | Aerosol representations |
[in] | n_cells | Number of grid cells to solve simultaneously |
Definition at line 108 of file rxn_CMAQ_H2O2.F90.