PartMC  2.6.1
Data Types | Modules | Functions/Subroutines | Variables
aero_data.F90 File Reference

The pmc_aero_data module. More...

Go to the source code of this file.

Data Types

type  pmc_aero_data::aero_data_t
 Aerosol material properties and associated data. More...
 

Modules

module  pmc_aero_data
 The aero_data_t structure and associated subroutines.
 

Functions/Subroutines

real(kind=dp) elemental function pmc_aero_data::aero_data_vol2rad (aero_data, v)
 Convert mass-equivalent volume $V$ (m^3) to geometric radius $R_{\rm geo}$ (m). More...
 
real(kind=dp) elemental function pmc_aero_data::aero_data_vol2diam (aero_data, v)
 Convert mass-equivalent volume $V$ (m^3) to geometric diameter $D_{\rm geo}$ (m). More...
 
real(kind=dp) elemental function pmc_aero_data::aero_data_rad2vol (aero_data, r)
 Convert geometric radius $R_{\rm geo}$ (m) to mass-equivalent volume $V$ (m^3). More...
 
real(kind=dp) elemental function pmc_aero_data::aero_data_diam2vol (aero_data, d)
 Convert geometric diameter $D_{\rm geo}$ (m) to mass-equivalent volume $V$ (m^3). More...
 
real(kind=dp) elemental function pmc_aero_data::aero_data_vol_to_num_of_monomers (aero_data, v)
 Convert mass-equivalent volume $V$ (m^3) to number of monomers $N$ in a fractal particle cluster. More...
 
real(kind=dp) function pmc_aero_data::aero_data_vol_to_mobility_rad (aero_data, v, temp, pressure)
 Convert mass-equivalent volume $V$ (m^3) to mobility equivalent radius $R_{\rm me}$ (m). More...
 
real(kind=dp) function pmc_aero_data::aero_data_mobility_rad_to_vol (aero_data, mobility_rad, temp, pressure)
 Convert mobility equivalent radius $R_{\rm me}$ (m) to mass-equivalent volume $V$ (m^3). More...
 
real(kind=dp) function pmc_aero_data::aero_data_mobility_rad_to_geometric_rad (aero_data, mobility_rad, temp, pressure)
 Convert mobility equivalent radius $R_{\rm me}$ (m) to geometric radius $R_{\rm geo}$ (m^3). More...
 
elemental integer function pmc_aero_data::aero_data_n_spec (aero_data)
 Return the number of aerosol species, or -1 if uninitialized. More...
 
elemental integer function pmc_aero_data::aero_data_n_source (aero_data)
 Return the number of aerosol sources, or -1 if uninitialized. More...
 
integer function pmc_aero_data::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. More...
 
integer function pmc_aero_data::aero_data_source_by_name (aero_data, name)
 Returns the number of the source in aero_data with the given name, or adds the source if it doesn't exist yet. More...
 
subroutine pmc_aero_data::aero_data_set_water_index (aero_data)
 Fills in aero_data%i_water. More...
 
subroutine pmc_aero_data::aero_data_set_mosaic_map (aero_data)
 Fills in aero_data%mosaic_index. More...
 
integer function pmc_aero_data::camp_spec_id (aero_data, i_part, i_spec)
 Get the index on the CAMP state array for a specified species and computational particle. More...
 
subroutine pmc_aero_data::spec_file_read_species_list (file, name, aero_data, species_list)
 Read a list of species from the given file with the given name. More...
 
integer function pmc_aero_data::pmc_mpi_pack_size_aero_data (val)
 Determines the number of bytes required to pack the given value. More...
 
subroutine pmc_aero_data::pmc_mpi_pack_aero_data (buffer, position, val)
 Packs the given value into the buffer, advancing position. More...
 
subroutine pmc_aero_data::pmc_mpi_unpack_aero_data (buffer, position, val)
 Unpacks the given value from the buffer, advancing position. More...
 
subroutine pmc_aero_data::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. More...
 
subroutine pmc_aero_data::aero_data_netcdf_dim_aero_source (aero_data, ncid, dimid_aero_source)
 Write the aero source dimension to the given NetCDF file if it is not already present and in any case return the associated dimid. More...
 
subroutine pmc_aero_data::aero_data_input_netcdf (aero_data, ncid)
 Read full state. More...
 
subroutine pmc_aero_data::aero_data_initialize (aero_data, camp_core)
 Initialize the aero_data_t variable with camp chem data. More...
 

Variables

integer, parameter pmc_aero_data::aero_name_len = 50
 
integer, parameter pmc_aero_data::aero_source_name_len = 100
 

Detailed Description

The pmc_aero_data module.

Definition in file aero_data.F90.