PartMC 2.1.4
Data Types | Modules | Functions/Subroutines | Variables
condense.F90 File Reference

The pmc_condense module. More...

Go to the source code of this file.

Data Types

type  pmc_condense::condense_rates_inputs_t
 Internal-use structure for storing the inputs for the rate-calculation function. More...
type  pmc_condense::condense_rates_outputs_t
 Internal-use structure for storing the outputs from the rate-calculation function. More...

Modules

module  pmc_condense
 

Water condensation onto aerosol particles.


Functions/Subroutines

subroutine pmc_condense::condense_particles (bin_grid, env_state, env_data, aero_data, aero_weight, aero_state, del_t)
 Do condensation to all the particles for a given time interval, including updating the environment to account for the lost water vapor.
subroutine pmc_condense::condense_current_env_state (n_eqn, time, state, env_state)
 Fills in the env_state with the current environment state, taken from the state vector and from global variables.
subroutine pmc_condense::condense_rates (inputs, outputs)
 Compute the rate of change of particle diameter and relative humidity for a single particle, together with the derivatives of the rates with respect to the input variables.
subroutine pmc_condense::condense_equilib_particle (env_state, aero_data, aero_particle)
 Determine the water equilibrium state of a single particle.
subroutine pmc_condense::condense_equilib_particles (bin_grid, env_state, aero_data, aero_weight, aero_state)
 Call condense_equilib_particle() on each particle in the aerosol to ensure that every particle has its water content in equilibrium.

Variables

logical, parameter pmc_condense::CONDENSE_DO_TEST_JAC_SOLVE = .false.
 Whether to numerically test the Jacobian-solve function during execution (for debugging only).
logical, parameter pmc_condense::CONDENSE_DO_TEST_COUNTS = .false.
 Whether to print call-counts for helper routines during execution (for debugging only).
integer, parameter pmc_condense::PMC_CONDENSE_SOLVER_SUCCESS = 0
 Result code indicating successful completion.
integer, parameter pmc_condense::PMC_CONDENSE_SOLVER_INIT_Y = 1
 Result code indicating failure to allocate y vector.
integer, parameter pmc_condense::PMC_CONDENSE_SOLVER_INIT_ABSTOL = 2
 Result code indicating failure to allocate abstol vector.
integer, parameter pmc_condense::PMC_CONDENSE_SOLVER_INIT_CVODE_MEM = 3
 Result code indicating failure to create the solver.
integer, parameter pmc_condense::PMC_CONDENSE_SOLVER_INIT_CVODE = 4
 Result code indicating failure to initialize the solver.
integer, parameter pmc_condense::PMC_CONDENSE_SOLVER_SVTOL = 5
 Result code indicating failure to set tolerances.
integer, parameter pmc_condense::PMC_CONDENSE_SOLVER_SET_MAX_STEPS = 6
 Result code indicating failure to set maximum steps.
integer, parameter pmc_condense::PMC_CONDENSE_SOLVER_FAIL = 7
 Result code indicating failure of the solver.
type(aero_data_t) pmc_condense::condense_saved_aero_data
 Internal-use variable for storing the aerosol data during calls to the ODE solver.
type(env_data_t) pmc_condense::condense_saved_env_data
 Internal-use variable for storing the environment data during calls to the ODE solver.
type(env_state_t) pmc_condense::condense_saved_env_state_initial
 Internal-use variable for storing the initial environment state during calls to the ODE solver.
real(kind=dp) pmc_condense::condense_saved_V_comp_initial
 Internal-use variable for storing the inital computational volume during calls to the ODE solver.
real(kind=dp) pmc_condense::condense_saved_Tdot
 Internal-use variable for storing the rate of change of the temperature during calls to the ODE solver.
real(kind=dp), dimension(:),
allocatable 
pmc_condense::condense_saved_kappa
 Internal-use variable for storing the per-particle kappa values during calls to the ODE solver.
real(kind=dp), allocatable pmc_condense::condense_saved_D_dry
 Internal-use variable for storing the per-particle dry diameters during calls to the ODE solver.
real(kind=dp), dimension(:),
allocatable 
pmc_condense::condense_saved_weight
 Internal-use variable for storing the per-particle weights during calls to the ODE solver.
integer, save pmc_condense::condense_count_vf
 Internal-use variable for counting calls to the vector field subroutine.
integer, save pmc_condense::condense_count_solve
 Internal-use variable for counting calls to the Jacobian-solving subroutine.

Detailed Description

The pmc_condense module.

Definition in file condense.F90.