mam  v1.0
A Modal Aerosol Model
Data Types | Modules | Functions/Subroutines
mode.F90 File Reference

The mam_mode module. More...

Go to the source code of this file.

Data Types

type  mam_mode::mode_state_t
 Aerosol mode state. More...
 
interface  mam_mode::mode_t
 An aerosol mode. More...
 

Modules

module  mam_mode
 The mode_t type and related functions.
 

Functions/Subroutines

subroutine mam_mode::add_longwave_optics (this, environmental_state, mode_state, optics)
 Calculates longwave optical properties for a given state and adds them to the set of optical properties. More...
 
subroutine mam_mode::add_shortwave_optics (this, environmental_state, mode_state, optics)
 Calculates shortwave optical properties for a given state and adds them to the set of optical properties. More...
 
pure real(kind=musica_dk) function, dimension(number_of_bands) mam_mode::asymmetry_factor (this, mode_state, number_of_bands, number_of_coefficients, coefficients, size_function)
 Calculates the asymmetry parameter [unitless ratio] for a given Chebyshev function. More...
 
type(mode_t) function mam_mode::constructor (config)
 Constructor of mode_t objects. More...
 
subroutine mam_mode::dump_state (this, raw_state, index)
 Dumps the aerosol state into the raw state array. More...
 
elemental real(kind=musica_dk) function mam_mode::geometric_mean_diameter_of_number_distribution__m (this, mode_state)
 Returns the geometric mean diameter [m] of the number distribution of the mode. More...
 
elemental real(kind=musica_dk) function mam_mode::geometric_standard_deviation_of_number_distribution (this, mode_state)
 Returns the geometric standard deviation of the number distribution of the mode. More...
 
subroutine mam_mode::load_state (this, raw_state, index)
 Loads raw mode state data to the mode_state_t object. More...
 
type(wavelength_grid_t) function mam_mode::longwave_grid (this)
 Returns the native longwave optics wavelength grid. More...
 
subroutine mam_mode::longwave_optics_array (this, environmental_state, aerosol_state, optics)
 Returns longwave optical properties. More...
 
subroutine mam_mode::longwave_optics_scalar (this, environmental_state, aerosol_state, optics)
 Returns longwave optical properties. More...
 
pure complex(kind=musica_dk) function, dimension(number_of_bands) mam_mode::net_longwave_refractive_index (this, mode_state, number_of_bands)
 Calculates the net refractive index for the mode based on weighted contributions from constituent species in the longwave region. More...
 
pure complex(kind=musica_dk) function, dimension(number_of_bands) mam_mode::net_shortwave_refractive_index (this, mode_state, number_of_bands)
 Calculates the net refractive index for the mode based on weighted contributions from constituent species in the shortwave region. More...
 
class(optics_t) function, pointer mam_mode::new_optics (this, property, output_grid, interpolation_strategy)
 Creates an optics_t object for a given property. More...
 
class(aerosol_state_t) function, pointer mam_mode::new_state (this)
 Creates a new state object for the mode. More...
 
real(kind=musica_dk) elemental function mam_mode::number_mixing_ratio__num_mol (this, mode_state)
 Returns the particle number mixing ratio per mole air [# mol-1]. More...
 
subroutine mam_mode::print_state (this, aerosol_state, io_unit)
 Outputs the current mode state. More...
 
subroutine mam_mode::randomize (this)
 Set the mode state to a random, but reasonable, state. For testing only. More...
 
integer function mam_mode::raw_size (this)
 Returns the number of doubles needed to hold the raw mode state. More...
 
type(wavelength_grid_t) function mam_mode::shortwave_grid (this)
 Returns the native shortwave optics wavelength grid. More...
 
subroutine mam_mode::shortwave_optics_array (this, environmental_state, aerosol_state, optics)
 Returns shortwave optical properties. More...
 
subroutine mam_mode::shortwave_optics_scalar (this, environmental_state, aerosol_state, optics)
 Returns shortwave optical properties. More...
 
pure real(kind=musica_dk) function, dimension(number_of_bands) mam_mode::specific_absorption__m2_kg (this, mode_state, number_of_bands, number_of_coefficients, coefficients, size_function, max_absorption)
 Calculates the specific absorption [m2 kg-1] for a given Chebyshev function. More...
 
pure real(kind=musica_dk) function, dimension(number_of_bands) mam_mode::specific_extinction__m2_kg (this, mode_state, number_of_bands, number_of_coefficients, coefficients, size_function, optics_lookup)
 Calculates the specific extinction [m2 kg-1] for a given Chebyshev function. More...
 
real(kind=musica_dk) elemental function mam_mode::wet_number_mode_diameter__m (this, mode_state)
 Returns the mode diameter [m] of the number distribution for the mode. More...
 
real(kind=musica_dk) elemental function mam_mode::wet_number_mode_radius__m (this, mode_state)
 Returns the mode radius [m] of the number distribution for the mode. More...
 
real(kind=musica_dk) elemental function mam_mode::wet_surface_mode_diameter__m (this, mode_state)
 Returns the mode diameter [m] of the surface area distribution for the mode. More...
 
real(kind=musica_dk) elemental function mam_mode::wet_surface_mode_radius__m (this, mode_state)
 Returns the mode radius [m] of the surface area distribution for the mode. More...
 
elemental real(kind=musica_dk) function mam_mode::wet_volume_to_mass_mixing_ratio__m3_kg (this, mode_state)
 Returns the wet volume to mass mixing ratio for the mode [m3 kg_dryair-1]. More...
 

Detailed Description

The mam_mode module.

Definition in file mode.F90.