The aero_rep_factory_t type and associated subroutines.
More...
|
class(aero_rep_data_t) function, pointer | create (this, type_name) |
| Create a new aerosol representation by type name.
|
|
class(aero_rep_data_t) function, pointer | load (this, json, j_obj) |
| Load an aerosol represenation based on its type.
|
|
integer(kind=i_kind) function | get_type (this, aero_rep) |
| Get the aerosol reaction type.
|
|
subroutine | initialize_update_data (this, aero_rep, update_data) |
| Get a new update data object.
|
|
integer(kind=i_kind) function | pack_size (this, aero_rep, comm) |
| Determine the size of a binary required to pack an aerosol representation.
|
|
subroutine | bin_pack (this, aero_rep, buffer, pos, comm) |
| Pack the given value to the buffer, advancing position.
|
|
class(aero_rep_data_t) function, pointer | bin_unpack (this, buffer, pos, comm) |
| Unpack the given value to the buffer, advancing position.
|
|
The aero_rep_factory_t type and associated subroutines.
◆ bin_pack()
subroutine camp_aero_rep_factory::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 |
|
) |
| |
|
private |
Pack the given value to the buffer, advancing position.
- Parameters
-
[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 399 of file aero_rep_factory.F90.
◆ bin_unpack()
class(aero_rep_data_t) function, pointer camp_aero_rep_factory::bin_unpack |
( |
class(aero_rep_factory_t), intent(in) |
this, |
|
|
character, dimension(:), intent(inout) |
buffer, |
|
|
integer, intent(inout) |
pos, |
|
|
integer, intent(in) |
comm |
|
) |
| |
|
private |
Unpack the given value to the buffer, advancing position.
- Returns
- Unpacked aerosol representation
- Parameters
-
[in] | this | Aerosol representation factory |
[in,out] | buffer | Memory buffer |
[in,out] | pos | Current buffer position |
[in] | comm | MPI communicator |
Definition at line 436 of file aero_rep_factory.F90.
◆ create()
Create a new aerosol representation by type name.
- Returns
- An aerosol representation
- Parameters
-
[in] | this | Aerosol representation factory |
[in] | type_name | Name of the aerosol representation |
Definition at line 246 of file aero_rep_factory.F90.
◆ get_type()
Get the aerosol reaction type.
- Parameters
-
[in] | this | Aerosol representation factory |
[in] | aero_rep | Aerosol representation to get the type of |
Definition at line 318 of file aero_rep_factory.F90.
◆ initialize_update_data()
Get a new update data object.
- Parameters
-
[in] | this | Aerosol representation factory |
[in,out] | aero_rep | Aerosol representation to be updated |
[out] | update_data | Update data object |
Definition at line 339 of file aero_rep_factory.F90.
◆ load()
class(aero_rep_data_t) function, pointer camp_aero_rep_factory::load |
( |
class(aero_rep_factory_t), intent(in) |
this, |
|
|
type(json_core), intent(in), pointer |
json, |
|
|
type(json_value), intent(in), pointer |
j_obj |
|
) |
| |
|
private |
Load an aerosol represenation based on its type.
- Returns
- An aerosol representation
- Parameters
-
[in] | this | Aerosol representation factory |
[in] | json | JSON core |
[in] | j_obj | JSON object |
Definition at line 273 of file aero_rep_factory.F90.
◆ pack_size()
integer(kind=i_kind) function camp_aero_rep_factory::pack_size |
( |
class(aero_rep_factory_t), intent(in) |
this, |
|
|
class(aero_rep_data_t), intent(in) |
aero_rep, |
|
|
integer, intent(in) |
comm |
|
) |
| |
|
private |
Determine the size of a binary required to pack an aerosol representation.
- Parameters
-
[in] | this | Aerosol representation factory |
[in] | aero_rep | Aerosol representation to pack |
[in] | comm | MPI communicator |
Definition at line 382 of file aero_rep_factory.F90.
◆ aero_rep_modal_binned_mass
integer(kind=i_kind), parameter camp_aero_rep_factory::aero_rep_modal_binned_mass = 2 |
|
private |
◆ aero_rep_single_particle
integer(kind=i_kind), parameter camp_aero_rep_factory::aero_rep_single_particle = 1 |
|
private |
Identifiers for aerosol representations - used by binary packing/unpacking functions.
Definition at line 214 of file aero_rep_factory.F90.