pmc_aero_data Namespace Reference

The aero_data_t structure and associated subroutines. More...


Classes

struct  aero_data_t
 Aerosol material properties and associated data. More...

Functions

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.
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_aero_data_filename (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


Detailed Description

The aero_data_t structure and associated subroutines.

Function Documentation

subroutine pmc_aero_data::aero_data_allocate ( type(aero_data_t),intent(inout)  aero_data  ) 

Allocate storage for aero_data.

Parameters:
aero_data  Aerosol data.

subroutine pmc_aero_data::aero_data_allocate_size ( type(aero_data_t),intent(inout)  aero_data,
integer,intent(in)  n_spec 
)

Allocate storage for aero_data parameters given the number of species.

Parameters:
aero_data  Aerosol data.
n_spec  Number of species.

subroutine pmc_aero_data::aero_data_deallocate ( type(aero_data_t),intent(inout)  aero_data  ) 

Frees all storage.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Parameters:
aero_data  Aero_data data.

integer pmc_aero_data::aero_data_spec_by_name ( type(aero_data_t),intent(in)  aero_data,
character(len=AERO_NAME_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.

Parameters:
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.

Parameters:
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.

Parameters:
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(out)  val 
)

Unpacks the given value from the buffer, advancing position.

Parameters:
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(out)  aero_data 
)

Read aero_data specification from a spec file.

Parameters:
file  Spec file.
aero_data  Aero_data data.

subroutine pmc_aero_data::spec_file_read_aero_data_filename ( type(spec_file_t),intent(inout)  file,
type(aero_data_t),intent(out)  aero_data 
)

Read aero_data specification from a spec file.

Parameters:
file  Spec file.
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.

Parameters:
file  Spec file.
name  Name of line.
aero_data  Aero_data data.
species_list  List of species numbers.


Variable Documentation

integer,parameter pmc_aero_data::AERO_NAME_LEN = 15


Generated on Mon Apr 26 17:13:31 2010 for PartMC by  doxygen 1.5.6