CAMP 1.0.0
Chemistry Across Multiple Phases
|
The abstract aero_phase_data_t structure and associated subroutines. More...
Data Types | |
type | aero_phase_data_ptr |
Pointer type for building arrays. More... | |
interface | aero_phase_data_t |
Aerosol phase data type. More... | |
Functions/Subroutines | |
type(aero_phase_data_t) function, pointer | constructor (phase_name, init_size) |
Constructor for aero_phase_data_t. | |
subroutine | load (this, json, j_obj) |
Load species from an input file. | |
subroutine | initialize (this, chem_spec_data) |
Initialize the aerosol phase data, validating species names. | |
character(len=:) function, allocatable | get_name (this) |
Get the aerosol phase name. | |
integer(kind=i_kind) function | get_size (this) |
Get the number of species in the phase. | |
integer(kind=i_kind) function | num_jac_elem (this) |
Get the number of Jacobian row elements needed during solving. | |
class(property_t) function, pointer | get_property_set (this) |
Get the aerosol phase property set. | |
type(string_t) function, dimension(:), allocatable | get_species_names (this) |
Get an aerosol phase species name. | |
integer(kind=i_kind) function | get_species_type (this, spec_name) |
Get an aerosol phase species type. | |
integer(kind=i_kind) function | pack_size (this, comm) |
Determine the size of a binary required to pack the aerosol representation data. | |
subroutine | bin_pack (this, buffer, pos, comm) |
Pack the given value to the buffer, advancing position. | |
subroutine | bin_unpack (this, buffer, pos, comm) |
Unpack the given value from the buffer, advancing position. | |
subroutine | do_print (this, file_unit) |
Print out the aerosol phase data. | |
elemental subroutine | finalize (this) |
Finalize the aerosol phase data. | |
subroutine | ensure_size (this, num_spec) |
Ensure there is enough room in the species dataset to add a specified number of species. | |
subroutine | add (this, spec_name) |
Add a new chemical species to the phase. | |
integer(kind=i_kind) function | find (this, spec_name) |
Get the index of an aerosol-phase species by name. Return 0 if the species is not found. | |
elemental subroutine | dereference (this) |
Dereference a pointer to aerosol phase data. | |
elemental subroutine | ptr_finalize (this) |
Finalize a pointer to aerosol phase data. | |
Variables | |
integer(kind=i_kind), parameter | realloc_inc = 50 |
Reallocation increment. | |
The abstract aero_phase_data_t structure and associated subroutines.
|
private |
Add a new chemical species to the phase.
[in,out] | this | Aerosol phase data |
[in] | spec_name | Name of the species to add |
Definition at line 628 of file aero_phase_data.F90.
|
private |
Pack the given value to 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 506 of file aero_phase_data.F90.
|
private |
Unpack 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 532 of file aero_phase_data.F90.
type(aero_phase_data_t) function, pointer camp_aero_phase_data::constructor | ( | character(len=*), intent(in), optional | phase_name, |
integer(kind=i_kind), intent(in), optional | init_size | ||
) |
Constructor for aero_phase_data_t.
[in] | phase_name | Name of the aerosol phase |
[in] | init_size | Number of species to allocate space for initially |
Definition at line 162 of file aero_phase_data.F90.
|
private |
Dereference a pointer to aerosol phase data.
[in,out] | this | Pointer to aerosol phase data |
Definition at line 676 of file aero_phase_data.F90.
|
private |
Print out the aerosol phase data.
[in] | this | Aerosol phase data |
file_unit | File unit for output |
Definition at line 559 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 606 of file aero_phase_data.F90.
|
private |
Finalize the aerosol phase data.
[in,out] | this | Aerosol phase data |
Definition at line 587 of file aero_phase_data.F90.
|
private |
Get the index of an aerosol-phase species by name. Return 0 if the species is not found.
[in] | this | Aerosol phase data |
[in] | spec_name | Species name |
Definition at line 653 of file aero_phase_data.F90.
|
private |
Get the aerosol phase name.
[in] | this | Aerosol phase data |
Definition at line 390 of file aero_phase_data.F90.
|
private |
Get the aerosol phase property set.
[in] | this | Aerosol phase data |
Definition at line 437 of file aero_phase_data.F90.
|
private |
Get the number of species in the phase.
[in] | this | Aerosol phase data |
Definition at line 404 of file aero_phase_data.F90.
|
private |
Get an aerosol phase species name.
[in] | this | Aerosol phase data |
Definition at line 451 of file aero_phase_data.F90.
|
private |
Get an aerosol phase species type.
[in] | this | Aerosol phase data |
[in] | spec_name | Name of the species |
Definition at line 470 of file aero_phase_data.F90.
|
private |
Initialize the aerosol phase data, validating species names.
[in,out] | this | Aerosol phase data |
[in] | chem_spec_data | Chemical species data |
Definition at line 306 of file aero_phase_data.F90.
|
private |
Load species from an input file.
[in,out] | this | Aerosol phase data |
[in] | json | JSON core |
[in] | j_obj | JSON object |
Definition at line 227 of file aero_phase_data.F90.
|
private |
Get the number of Jacobian row elements needed during solving.
[in] | this | Aerosol phase data |
Definition at line 416 of file aero_phase_data.F90.
|
private |
Determine the size of a binary required to pack the aerosol representation data.
[in] | this | Aerosol representation data |
[in] | comm | MPI communicator |
Definition at line 490 of file aero_phase_data.F90.
|
private |
Finalize a pointer to aerosol phase data.
[in,out] | this | Pointer to aerosol phase data |
Definition at line 688 of file aero_phase_data.F90.
|
private |
Reallocation increment.
Definition at line 73 of file aero_phase_data.F90.