CAMP 1.0.0
Chemistry Across Multiple Phases
|
Get a species id on the camp_camp_state::camp_state_t::state_var
array by unique name. These are unique ids for each element on the state array for this aerosol representation and are numbered:
More...
Public Member Functions | |
integer(kind=i_kind) function | spec_state_id (this, unique_name) |
Get a species id on the camp_camp_state::camp_state_t::state_var
array by unique name. These are unique ids for each element on the state array for this aerosol representation and are numbered:
\[x_u \in x_f ... (x_f+n-1)\]
where \(x_u\) is the id of the element corresponding to the species with unique name \(u\) on the camp_camp_state::camp_state_t::state_var
array, \(x_f\) is the index of the first element for this aerosol representation on the state array and \(n\) is the total number of variables on the state array from this aerosol representation.
If the name is not found, the return value is 0.
Definition at line 313 of file aero_rep_data.F90.
integer(kind=i_kind) function camp_aero_rep_data::spec_state_id::spec_state_id | ( | class(aero_rep_data_t), intent(in) | this, |
character(len=*), intent(in) | unique_name | ||
) |
[in] | this | Aerosol representation data |
[in] | unique_name | Unique name |
Definition at line 313 of file aero_rep_data.F90.