CAMP 1.0.0
Chemistry Across Multiple Phases
|
Factory type for aerosol representations. More...
Public Member Functions | |
procedure | create (this, type_name) |
Create a new aerosol representation by type name. | |
procedure | load (this, json, j_obj) |
Create a new aerosol representation from input data. | |
procedure | get_type (this, aero_rep) |
Get the aerosol representation type. | |
procedure | initialize_update_data (this, aero_rep, update_data) |
Initialize an update data object. | |
procedure | pack_size (this, aero_rep, comm) |
Determine the number of bytes required to pack an given aerosol representation. | |
procedure | bin_pack (this, aero_rep, buffer, pos, comm) |
Pack a given aerosol representation to the buffer, advancing the position. | |
procedure | bin_unpack (this, buffer, pos, comm) |
Unpack a aerosol representation from the buffer, advancing the position. | |
Factory type for aerosol representations.
Provides new instances of types extending aero_rep_data_t by name or from input file data
Definition at line 221 of file aero_rep_factory.F90.
procedure camp_aero_rep_factory::aero_rep_factory_t::bin_pack | ( | class(aero_rep_factory_t), intent(in) | this, |
class(aero_rep_data_t), intent(in) | aero_rep, | ||
character, dimension(:), intent(inout) | buffer, | ||
integer, intent(inout) | pos, | ||
integer, intent(in) | comm | ||
) |
Pack a given aerosol representation to the buffer, advancing the position.
[in] | this | Aerosol representation factory |
[in] | aero_rep | Aerosol representation to pack |
[in,out] | buffer | Memory buffer |
[in,out] | pos | Current buffer position |
[in] | comm | MPI communicator |
Definition at line 236 of file aero_rep_factory.F90.
procedure camp_aero_rep_factory::aero_rep_factory_t::bin_unpack | ( | class(aero_rep_factory_t), intent(in) | this, |
character, dimension(:), intent(inout) | buffer, | ||
integer, intent(inout) | pos, | ||
integer, intent(in) | comm | ||
) |
Unpack a aerosol representation from the buffer, advancing the position.
[in] | this | Aerosol representation factory |
[in,out] | buffer | Memory buffer |
[in,out] | pos | Current buffer position |
[in] | comm | MPI communicator |
Definition at line 238 of file aero_rep_factory.F90.
procedure camp_aero_rep_factory::aero_rep_factory_t::create | ( | class(aero_rep_factory_t), intent(in) | this, |
character(len=*), intent(in) | type_name | ||
) |
Create a new aerosol representation by type name.
[in] | this | Aerosol representation factory |
[in] | type_name | Name of the aerosol representation |
Definition at line 224 of file aero_rep_factory.F90.
procedure camp_aero_rep_factory::aero_rep_factory_t::get_type | ( | class(aero_rep_factory_t), intent(in) | this, |
class(aero_rep_data_t), intent(in) | aero_rep | ||
) |
Get the aerosol representation type.
[in] | this | Aerosol representation factory |
[in] | aero_rep | Aerosol representation to get the type of |
Definition at line 228 of file aero_rep_factory.F90.
procedure camp_aero_rep_factory::aero_rep_factory_t::initialize_update_data | ( | class(aero_rep_factory_t), intent(in) | this, |
class(aero_rep_data_t), intent(inout) | aero_rep, | ||
class(aero_rep_update_data_t), intent(out) | update_data | ||
) |
Initialize an update data object.
[in] | this | Aerosol representation factory |
[in,out] | aero_rep | Aerosol representation to be updated |
[out] | update_data | Update data object |
Definition at line 230 of file aero_rep_factory.F90.
procedure camp_aero_rep_factory::aero_rep_factory_t::load | ( | class(aero_rep_factory_t), intent(in) | this, |
type(json_core), intent(in), pointer | json, | ||
type(json_value), intent(in), pointer | j_obj | ||
) |
Create a new aerosol representation from input data.
[in] | this | Aerosol representation factory |
[in] | json | JSON core |
[in] | j_obj | JSON object |
Definition at line 226 of file aero_rep_factory.F90.
procedure camp_aero_rep_factory::aero_rep_factory_t::pack_size | ( | class(aero_rep_factory_t), intent(in) | this, |
class(aero_rep_data_t), intent(in) | aero_rep, | ||
integer, intent(in) | comm | ||
) |
Determine the number of bytes required to pack an given aerosol representation.
[in] | this | Aerosol representation factory |
[in] | aero_rep | Aerosol representation to pack |
[in] | comm | MPI communicator |
Definition at line 233 of file aero_rep_factory.F90.