|
CAMP 1.0.0
Chemistry Across Multiple Phases
|
Aerosol phase data type. More...

Public Member Functions | |
| procedure | load (this, json, j_obj) |
| Load data from an input file. | |
| procedure | initialize (this, chem_spec_data) |
| Aerosol phase initialization. | |
| procedure | name (this) |
| Get the name of the aerosol phase. | |
| procedure | size (this) |
| Get the number of species in the phase. | |
| procedure | num_jac_elem (this) |
| Get the number of Jacobian row elements needed during solving. | |
| procedure | get_property_set (this) |
| Get property data associated with this phase. | |
| procedure | get_spec_property_set (this, spec_name) |
| Get property data associated with a species in a phase. | |
| procedure | get_species_names (this) |
| Get a list of species names in this phase. | |
| procedure | get_species_type (this, spec_name) |
| Get a species type by name. | |
| 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 aerosol phase data. | |
| final | finalize (this) |
| Finalize the aerosol phase data. | |
| finalize_array (this) | |
| Finalize the aerosol phase data. | |
Public Attributes | |
| integer(kind=i_kind) | num_spec = 0 |
| Number of species in the phase. | |
| type(string_t), dimension(:), pointer | spec_name => null() |
Species names. These are species that are present in the aerosol phase. These species must exist in the camp_camp_core::camp_core_t::chem_spec_data variable during initialization. | |
| type(property_t), pointer | property_set => null() |
| Aerosol phase parameters. These will be available during initialization, but not during solving. | |
| type(property_ptr), dimension(:), allocatable | spec_property_set |
| real(kind=dp), dimension(:), allocatable, public | condensed_data_real |
Condensed phase data. Theses arrays will be available during solving, and should contain any information required by the functions of the aerosol phase 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 phase data. Theses arrays will be available during solving, and should contain any information required by the functions of the aerosol phase that cannot be obtained from the camp_camp_state::camp_state_t object. (integer) | |
| type(chem_spec_data_t), pointer | chem_spec_data |
| Pointer to the set of chemical species data. | |
Private Member Functions | |
| procedure, private | ensure_size (this, num_spec) |
| Ensure there is enough room in the species dataset to add a specified number of species. | |
| procedure, private | add (this, spec_name) |
| Add a species. | |
| procedure, private | find (this, spec_name) |
| Find a species index by name. | |
Private Attributes | |
| character(len=:), allocatable | phase_name |
| Name of the aerosol phase. | |
Aerosol phase data type.
Aerosol phase information.
Definition at line 149 of file aero_phase_data.F90.
|
final |
Finalize the aerosol phase data.
| [in,out] | this | Aerosol phase data |
Definition at line 136 of file aero_phase_data.F90.

|
private |
Add a species.
| [in,out] | this | Aerosol phase data |
| [in] | spec_name | Name of the species to add |
Definition at line 143 of file aero_phase_data.F90.
| procedure camp_aero_phase_data::aero_phase_data_t::bin_pack | ( | class(aero_phase_data_t), intent(in) | this, |
| character, dimension(:), intent(inout) | buffer, | ||
| integer, intent(inout) | pos, | ||
| integer, intent(in) | comm ) |
Packs the given value into the buffer, advancing position.
| [in] | this | Aerosol representation data |
| [in,out] | buffer | Memory buffer |
| [in,out] | pos | Current buffer position |
| [in] | comm | MPI communicator |
Definition at line 130 of file aero_phase_data.F90.
| procedure camp_aero_phase_data::aero_phase_data_t::bin_unpack | ( | class(aero_phase_data_t), intent(out) | this, |
| character, dimension(:), intent(inout) | buffer, | ||
| integer, intent(inout) | pos, | ||
| integer, intent(in) | comm ) |
Unpacks the given value from the buffer, advancing position.
| [out] | this | Aerosol representation data |
| [in,out] | buffer | Memory buffer |
| [in,out] | pos | Current buffer position |
| [in] | comm | MPI communicator |
Definition at line 132 of file aero_phase_data.F90.
|
private |
Ensure there is enough room in the species dataset to add a specified number of species.
| [in,out] | this | Aerosol phase data |
| [in] | num_spec | Number of new species to ensure space for |
Definition at line 141 of file aero_phase_data.F90.
| camp_aero_phase_data::aero_phase_data_t::finalize_array | ( | type(aero_phase_data_t), dimension(:), intent(inout) | this | ) |
Finalize the aerosol phase data.
| [in,out] | this | Aerosol phase data |
Definition at line 136 of file aero_phase_data.F90.
|
private |
Find a species index by name.
| [in] | this | Aerosol phase data |
| [in] | spec_name | Species name |
Definition at line 145 of file aero_phase_data.F90.
| procedure camp_aero_phase_data::aero_phase_data_t::get_property_set | ( | class(aero_phase_data_t), intent(in) | this | ) |
Get property data associated with this phase.
| [in] | this | Aerosol phase data |
Definition at line 120 of file aero_phase_data.F90.
| procedure camp_aero_phase_data::aero_phase_data_t::get_spec_property_set | ( | class(aero_phase_data_t), intent(in) | this, |
| character(len=*), intent(in) | spec_name ) |
Get property data associated with a species in a phase.
| [in] | spec_name | Species name to find properties of |
| [in] | this | Aerosol phase data |
Definition at line 122 of file aero_phase_data.F90.
| procedure camp_aero_phase_data::aero_phase_data_t::get_species_names | ( | class(aero_phase_data_t), intent(in) | this | ) |
Get a list of species names in this phase.
| [in] | this | Aerosol phase data |
Definition at line 124 of file aero_phase_data.F90.
| procedure camp_aero_phase_data::aero_phase_data_t::get_species_type | ( | class(aero_phase_data_t), intent(in) | this, |
| character(len=*), intent(in) | spec_name ) |
Get a species type by name.
| [in] | this | Aerosol phase data |
| [in] | spec_name | Name of the species |
Definition at line 126 of file aero_phase_data.F90.
| procedure camp_aero_phase_data::aero_phase_data_t::initialize | ( | class(aero_phase_data_t), intent(inout) | this, |
| type(chem_spec_data_t), intent(in), target | chem_spec_data ) |
Aerosol phase initialization.
| [in,out] | this | Aerosol phase data |
| [in] | chem_spec_data | Chemical species data |
Definition at line 112 of file aero_phase_data.F90.
| procedure camp_aero_phase_data::aero_phase_data_t::load | ( | class(aero_phase_data_t), intent(inout) | this, |
| type(json_core), intent(in), pointer | json, | ||
| type(json_value), intent(in), pointer | j_obj ) |
Load data from an input file.
| [in,out] | this | Aerosol phase data |
| [in] | json | JSON core |
| [in] | j_obj | JSON object |
Definition at line 110 of file aero_phase_data.F90.
| procedure camp_aero_phase_data::aero_phase_data_t::name | ( | class(aero_phase_data_t), intent(in) | this | ) |
Get the name of the aerosol phase.
| [in] | this | Aerosol phase data |
Definition at line 114 of file aero_phase_data.F90.
| procedure camp_aero_phase_data::aero_phase_data_t::num_jac_elem | ( | class(aero_phase_data_t), intent(in) | this | ) |
Get the number of Jacobian row elements needed during solving.
| [in] | this | Aerosol phase data |
Definition at line 118 of file aero_phase_data.F90.
| procedure camp_aero_phase_data::aero_phase_data_t::pack_size | ( | class(aero_phase_data_t), intent(in) | this, |
| integer, intent(in) | comm ) |
Determine the number of bytes required to pack the given value.
| [in] | this | Aerosol representation data |
| [in] | comm | MPI communicator |
Definition at line 128 of file aero_phase_data.F90.
| procedure camp_aero_phase_data::aero_phase_data_t::print | ( | class(aero_phase_data_t), intent(in) | this, |
| integer(kind=i_kind), optional | file_unit ) |
Print the aerosol phase data.
| [in] | this | Aerosol phase data |
| file_unit | File unit for output |
Definition at line 134 of file aero_phase_data.F90.
| procedure camp_aero_phase_data::aero_phase_data_t::size | ( | class(aero_phase_data_t), intent(in) | this | ) |
Get the number of species in the phase.
| [in] | this | Aerosol phase data |
Definition at line 116 of file aero_phase_data.F90.
| type(chem_spec_data_t), pointer camp_aero_phase_data::aero_phase_data_t::chem_spec_data |
Pointer to the set of chemical species data.
Definition at line 107 of file aero_phase_data.F90.
| integer(kind=i_kind), dimension(:), allocatable, public camp_aero_phase_data::aero_phase_data_t::condensed_data_int |
Condensed phase data. Theses arrays will be available during solving, and should contain any information required by the functions of the aerosol phase that cannot be obtained from the camp_camp_state::camp_state_t object. (integer)
Definition at line 105 of file aero_phase_data.F90.
| real(kind=dp), dimension(:), allocatable, public camp_aero_phase_data::aero_phase_data_t::condensed_data_real |
Condensed phase data. Theses arrays will be available during solving, and should contain any information required by the functions of the aerosol phase that cannot be obtained from the camp_camp_state::camp_state_t object. (floating-point)
Definition at line 100 of file aero_phase_data.F90.
| integer(kind=i_kind) camp_aero_phase_data::aero_phase_data_t::num_spec = 0 |
Number of species in the phase.
Definition at line 83 of file aero_phase_data.F90.
|
private |
Name of the aerosol phase.
Definition at line 81 of file aero_phase_data.F90.
| type(property_t), pointer camp_aero_phase_data::aero_phase_data_t::property_set => null() |
Aerosol phase parameters. These will be available during initialization, but not during solving.
Definition at line 91 of file aero_phase_data.F90.
| type(string_t), dimension(:), pointer camp_aero_phase_data::aero_phase_data_t::spec_name => null() |
Species names. These are species that are present in the aerosol phase. These species must exist in the camp_camp_core::camp_core_t::chem_spec_data variable during initialization.
Definition at line 88 of file aero_phase_data.F90.
| type(property_ptr), dimension(:), allocatable camp_aero_phase_data::aero_phase_data_t::spec_property_set |
Definition at line 95 of file aero_phase_data.F90.