CAMP 1.0.0
Chemistry Across Multiple Phases
|
The rxn_photolysis_t type and associated functions. More...
Data Types | |
interface | rxn_free_update_data |
Free an update rate data object. More... | |
interface | rxn_photolysis_create_rate_update_data |
Interface to c reaction functions. More... | |
interface | rxn_photolysis_set_rate_update_data |
Set a new photolysis rate. More... | |
interface | rxn_photolysis_t |
Generic test reaction data type. More... | |
type | rxn_update_data_photolysis_t |
Photolysis rate update object. More... | |
Functions/Subroutines | |
type(rxn_photolysis_t) function, pointer | constructor () |
Constructor for Photolysis reaction. | |
subroutine | 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. | |
type(property_t) function, pointer | get_property_set (this) |
Get the reaction properties. (For use by external photolysis modules.) | |
subroutine | finalize (this) |
Finalize the reaction. | |
subroutine | finalize_array (this) |
Finalize an array of reactions. | |
subroutine | update_data_rate_set (this, base_rate) |
Set packed update data for photolysis rate constants. | |
subroutine | update_data_initialize (this, update_data, rxn_type) |
Initialize update data. | |
integer(kind=i_kind) function | internal_pack_size (this, comm) |
Determine the size of a binary required to pack the reaction data. | |
subroutine | internal_bin_pack (this, buffer, pos, comm) |
Pack the given value to the buffer, advancing position. | |
subroutine | internal_bin_unpack (this, buffer, pos, comm) |
Unpack the given value from the buffer, advancing position. | |
subroutine | update_data_finalize (this) |
Finalize an update data object. | |
subroutine | update_data_finalize_array (this) |
Finalize an array of update data objects. | |
The rxn_photolysis_t type and associated functions.
|
private |
Constructor for Photolysis reaction.
Definition at line 168 of file rxn_photolysis.F90.
|
private |
Finalize the reaction.
[in,out] | this | Reaction data |
Definition at line 328 of file rxn_photolysis.F90.
|
private |
Finalize an array of reactions.
[in,out] | this | Array of reaction data |
Definition at line 345 of file rxn_photolysis.F90.
|
private |
Get the reaction properties. (For use by external photolysis modules.)
[in] | this | Reaction data |
Definition at line 314 of file rxn_photolysis.F90.
|
private |
Initialize the reaction data, validating component data and loading any required information into the condensed data arrays for use during solving.
[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 183 of file rxn_photolysis.F90.
|
private |
Pack the given value to the buffer, advancing position.
[in] | this | Reaction update data |
[in,out] | buffer | Memory buffer |
[in,out] | pos | Current buffer position |
[in] | comm | MPI communicator |
Definition at line 419 of file rxn_photolysis.F90.
|
private |
Unpack the given value from the buffer, advancing position.
[in,out] | this | Reaction update data |
[in,out] | buffer | Memory buffer |
[in,out] | pos | Current buffer position |
[in] | comm | MPI communicator |
Definition at line 445 of file rxn_photolysis.F90.
|
private |
Determine the size of a binary required to pack the reaction data.
[in] | this | Reaction update data |
[in] | comm | MPI communicator |
Definition at line 402 of file rxn_photolysis.F90.
|
private |
Finalize an update data object.
[in,out] | this | Update data object to free |
Definition at line 472 of file rxn_photolysis.F90.
|
private |
Finalize an array of update data objects.
[in,out] | this | Array of update data objects to free |
Definition at line 484 of file rxn_photolysis.F90.
|
private |
Initialize update data.
[in,out] | this | The reaction to update |
[out] | update_data | Update data object |
[in] | rxn_type | Reaction type id |
Definition at line 376 of file rxn_photolysis.F90.
|
private |
Set packed update data for photolysis rate constants.
[in,out] | this | Update data |
[in] | base_rate | Updated pre-scaling photolysis rate |
Definition at line 361 of file rxn_photolysis.F90.