The aero_data_t structure and associated subroutines. More...
Data Types | |
type | aero_data_t |
Aerosol material properties and associated data. More... | |
Functions/Subroutines | |
subroutine | aero_data_allocate (aero_data) |
Allocate storage for aero_data. | |
subroutine | aero_data_allocate_size (aero_data, n_spec) |
Allocate storage for aero_data parameters given the number of species. | |
subroutine | aero_data_deallocate (aero_data) |
Frees all storage. | |
subroutine | aero_data_copy (aero_data_from, aero_data_to) |
Copy structure. | |
integer | aero_data_spec_by_name (aero_data, name) |
Returns the number of the species in aero_data with the given name, or returns 0 if there is no such species. | |
subroutine | aero_data_set_water_index (aero_data) |
Fills in aero_datai_water. | |
subroutine | aero_data_set_mosaic_map (aero_data) |
Fills in aero_datamosaic_index. | |
subroutine | spec_file_read_aero_data (file, aero_data) |
Read aero_data specification from a spec file. | |
subroutine | spec_file_read_species_list (file, name, aero_data, species_list) |
Read a list of species from the given file with the given name. | |
integer | pmc_mpi_pack_size_aero_data (val) |
Determines the number of bytes required to pack the given value. | |
subroutine | pmc_mpi_pack_aero_data (buffer, position, val) |
Packs the given value into the buffer, advancing position. | |
subroutine | pmc_mpi_unpack_aero_data (buffer, position, val) |
Unpacks the given value from the buffer, advancing position. | |
subroutine | aero_data_netcdf_dim_aero_species (aero_data, ncid, dimid_aero_species) |
Write the aero species dimension to the given NetCDF file if it is not already present and in any case return the associated dimid. | |
subroutine | aero_data_output_netcdf (aero_data, ncid) |
Write full state. | |
subroutine | aero_data_input_netcdf (aero_data, ncid) |
Read full state. | |
Variables | |
integer, parameter | AERO_NAME_LEN = 15 |
The aero_data_t structure and associated subroutines.
subroutine pmc_aero_data::aero_data_allocate | ( | type(aero_data_t),intent(out) | aero_data ) |
Allocate storage for aero_data.
aero_data | Aerosol data. |
subroutine pmc_aero_data::aero_data_allocate_size | ( | type(aero_data_t),intent(out) | aero_data, |
integer,intent(in) | n_spec | ||
) |
Allocate storage for aero_data parameters given the number of species.
aero_data | Aerosol data. |
n_spec | Number of species. |
subroutine pmc_aero_data::aero_data_copy | ( | type(aero_data_t),intent(in) | aero_data_from, |
type(aero_data_t),intent(inout) | aero_data_to | ||
) |
Copy structure.
aero_data_from | Source aerosol data. |
aero_data_to | Destination aerosol data. |
subroutine pmc_aero_data::aero_data_deallocate | ( | type(aero_data_t),intent(inout) | aero_data ) |
Frees all storage.
aero_data | Aerosol data. |
subroutine pmc_aero_data::aero_data_input_netcdf | ( | type(aero_data_t),intent(inout) | aero_data, |
integer,intent(in) | ncid | ||
) |
Read full state.
aero_data | Aero_data to read. |
ncid | NetCDF file ID, in data mode. |
subroutine pmc_aero_data::aero_data_netcdf_dim_aero_species | ( | type(aero_data_t),intent(in) | aero_data, |
integer,intent(in) | ncid, | ||
integer,intent(out) | dimid_aero_species | ||
) |
Write the aero species dimension to the given NetCDF file if it is not already present and in any case return the associated dimid.
aero_data | Aero_data structure. |
ncid | NetCDF file ID, in data mode. |
dimid_aero_species | Dimid of the species dimension. |
subroutine pmc_aero_data::aero_data_output_netcdf | ( | type(aero_data_t),intent(in) | aero_data, |
integer,intent(in) | ncid | ||
) |
Write full state.
aero_data | Aero_data to write. |
ncid | NetCDF file ID, in data mode. |
subroutine pmc_aero_data::aero_data_set_mosaic_map | ( | type(aero_data_t),intent(inout) | aero_data ) |
Fills in aero_datamosaic_index.
aero_data | Aero_data data. |
subroutine pmc_aero_data::aero_data_set_water_index | ( | type(aero_data_t),intent(inout) | aero_data ) |
Fills in aero_datai_water.
aero_data | Aero_data data. |
integer pmc_aero_data::aero_data_spec_by_name | ( | type(aero_data_t),intent(in) | aero_data, |
character(len=*),intent(in) | name | ||
) |
Returns the number of the species in aero_data with the given name, or returns 0 if there is no such species.
aero_data | Aero_data data. |
name | Name of species to find. |
subroutine pmc_aero_data::pmc_mpi_pack_aero_data | ( | character,dimension(:),intent(inout) | buffer, |
integer,intent(inout) | position, | ||
type(aero_data_t),intent(in) | val | ||
) |
Packs the given value into the buffer, advancing position.
buffer | Memory buffer. |
position | Current buffer position. |
val | Value to pack. |
integer pmc_aero_data::pmc_mpi_pack_size_aero_data | ( | type(aero_data_t),intent(in) | val ) |
Determines the number of bytes required to pack the given value.
val | Value to pack. |
subroutine pmc_aero_data::pmc_mpi_unpack_aero_data | ( | character,dimension(:),intent(inout) | buffer, |
integer,intent(inout) | position, | ||
type(aero_data_t),intent(inout) | val | ||
) |
Unpacks the given value from the buffer, advancing position.
buffer | Memory buffer. |
position | Current buffer position. |
val | Value to pack. |
subroutine pmc_aero_data::spec_file_read_aero_data | ( | type(spec_file_t),intent(inout) | file, |
type(aero_data_t),intent(inout) | aero_data | ||
) |
Read aero_data specification from a spec file.
file | Spec file to read data from. |
aero_data | Aero_data data. |
subroutine pmc_aero_data::spec_file_read_species_list | ( | type(spec_file_t),intent(inout) | file, |
character(len=*),intent(in) | name, | ||
type(aero_data_t),intent(in) | aero_data, | ||
integer,dimension(:),pointer | species_list | ||
) |
Read a list of species from the given file with the given name.
file | Spec file. |
name | Name of line. |
aero_data | Aero_data data. |
species_list | List of species numbers. |
integer,parameter pmc_aero_data::AERO_NAME_LEN = 15 |