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

The pmc_env_state module. More...

Go to the source code of this file.

Data Types

type  pmc_env_state::env_state_t
 Current environment state. More...
 

Modules

module  pmc_env_state
 The env_state_t structure and associated subroutines.
 

Functions/Subroutines

subroutine pmc_env_state::env_state_add (env_state, env_state_delta)
 env_state += env_state_delta More...
 
subroutine pmc_env_state::env_state_scale (env_state, alpha)
 env_state *= alpha More...
 
subroutine pmc_env_state::env_state_change_water_volume (env_state, dv)
 Adds the given water volume to the water vapor and updates all environment quantities. More...
 
real(kind=dp) function pmc_env_state::env_state_sat_vapor_pressure (env_state)
 Computes the current saturation vapor pressure (Pa). More...
 
real(kind=dp) function pmc_env_state::env_state_air_den (env_state)
 Air density (kg m^{-3}). More...
 
real(kind=dp) function pmc_env_state::env_state_air_molar_den (env_state)
 Air molar density (mol m^{-3}). More...
 
real(kind=dp) function pmc_env_state::env_state_a (env_state)
 Condensation $A$ parameter. More...
 
real(kind=dp) function pmc_env_state::env_state_ppb_to_conc (env_state, ppb)
 Convert (ppb) to (molecules m^{-3}). More...
 
real(kind=dp) function pmc_env_state::env_state_conc_to_ppb (env_state, conc)
 Convert (molecules m^{-3}) to (ppb). More...
 
subroutine pmc_env_state::env_state_mix (val)
 Average val over all processes. More...
 
subroutine pmc_env_state::env_state_reduce_avg (val)
 Average val over all processes, with the result only on the root process. More...
 
integer function pmc_env_state::pmc_mpi_pack_size_env_state (val)
 Determines the number of bytes required to pack the given value. More...
 
subroutine pmc_env_state::pmc_mpi_pack_env_state (buffer, position, val)
 Packs the given value into the buffer, advancing position. More...
 
subroutine pmc_env_state::pmc_mpi_unpack_env_state (buffer, position, val)
 Unpacks the given value from the buffer, advancing position. More...
 
subroutine pmc_env_state::pmc_mpi_reduce_avg_env_state (val, val_avg)
 Computes the average of val across all processes, storing the result in val_avg on the root process. More...
 
subroutine pmc_env_state::env_state_input_netcdf (env_state, ncid)
 Read full state. More...
 

Detailed Description

The pmc_env_state module.

Definition in file env_state.F90.