Data Types | Modules | Functions/Subroutines | Variables

gas_data.F95 File Reference

The pmc_gas_data module. More...

Data Types

type  pmc_gas_data::gas_data_t
 Constant gas data. More...

Modules

module  pmc_gas_data
 

The gas_data_t structure and associated subroutines.


Functions/Subroutines

subroutine pmc_gas_data::gas_data_allocate (gas_data)
 Allocate storage for gas species.
subroutine pmc_gas_data::gas_data_allocate_size (gas_data, n_spec)
 Allocate storage for gas species with the given size.
subroutine pmc_gas_data::gas_data_deallocate (gas_data)
 Free all storage.
integer pmc_gas_data::gas_data_spec_by_name (gas_data, name)
 Returns the number of the species in gas with the given name, or returns 0 if there is no such species.
subroutine pmc_gas_data::gas_data_set_mosaic_map (gas_data)
 Fills in gas_datamosaic_index.
subroutine pmc_gas_data::spec_file_read_gas_data (file, gas_data)
 Read gas data from a .spec file.
integer pmc_gas_data::pmc_mpi_pack_size_gas_data (val)
 Determines the number of bytes required to pack the given value.
subroutine pmc_gas_data::pmc_mpi_pack_gas_data (buffer, position, val)
 Packs the given value into the buffer, advancing position.
subroutine pmc_gas_data::pmc_mpi_unpack_gas_data (buffer, position, val)
 Unpacks the given value from the buffer, advancing position.
subroutine pmc_gas_data::gas_data_netcdf_dim_gas_species (gas_data, ncid, dimid_gas_species)
 Write the gas species dimension to the given NetCDF file if it is not already present and in any case return the associated dimid.
subroutine pmc_gas_data::gas_data_output_netcdf (gas_data, ncid)
 Write full state.
subroutine pmc_gas_data::gas_data_input_netcdf (gas_data, ncid)
 Read full state.

Variables

integer, parameter pmc_gas_data::GAS_NAME_LEN = 100
 Maximum length of the name of a gas.

Detailed Description

The pmc_gas_data module.