1D sectional simulation.
More...
Data Types |
type | run_sect_opt_t |
| Options controlling the operation of run_sect(). More...
|
Functions/Subroutines |
subroutine | run_sect (bin_grid, gas_data, aero_data, aero_dist, env_data, env_state, run_sect_opt) |
| Run a sectional simulation.
|
subroutine | coad (n_bin, dt, taug, taup, taul, tauu, prod, ploss, c, ima, g, r, e, ck, ec) |
| Collision subroutine, exponential approach.
|
subroutine | courant (n_bin, log_width, e, ima, c) |
| Determines the Courant number for each bin pair.
|
subroutine | smooth_bin_kernel (n_bin, k, k_smooth) |
| Smooths kernel values for bin pairs, and halves the self-rate.
|
Detailed Description
1D sectional simulation.
Sectional code based on coad1d.f
by Andreas Bott
- http://www.meteo.uni-bonn.de/mitarbeiter/ABott/
- Released under the GPL to Nicole Riemer (personal communication)
- A. Bott, A flux method for the numerical solution of the stochastic collection equation, J. Atmos. Sci. 55, 2284-2293, 1998.
Function/Subroutine Documentation
subroutine pmc_run_sect::coad |
( |
integer |
n_bin, |
|
|
real(kind=dp) |
dt, |
|
|
real(kind=dp),dimension(n_bin) |
taug, |
|
|
real(kind=dp),dimension(n_bin) |
taup, |
|
|
real(kind=dp),dimension(n_bin) |
taul, |
|
|
real(kind=dp),dimension(n_bin) |
tauu, |
|
|
real(kind=dp),dimension(n_bin) |
prod, |
|
|
real(kind=dp),dimension(n_bin) |
ploss, |
|
|
real(kind=dp),dimension(n_bin,n_bin) |
c, |
|
|
integer,dimension(n_bin,n_bin) |
ima, |
|
|
real(kind=dp),dimension(n_bin) |
g, |
|
|
real(kind=dp),dimension(n_bin) |
r, |
|
|
real(kind=dp),dimension(n_bin) |
e, |
|
|
real(kind=dp),dimension(n_bin,n_bin) |
ck, |
|
|
real(kind=dp),dimension(n_bin,n_bin) |
ec |
|
) |
| |
Collision subroutine, exponential approach.
subroutine pmc_run_sect::courant |
( |
integer,intent(in) |
n_bin, |
|
|
real(kind=dp),intent(in) |
log_width, |
|
|
real(kind=dp),dimension(n_bin),intent(in) |
e, |
|
|
integer,dimension(n_bin,n_bin),intent(out) |
ima, |
|
|
real(kind=dp),dimension(n_bin,n_bin),intent(out) |
c |
|
) |
| |
Determines the Courant number for each bin pair.
- Parameters:
-
n_bin | Number of bins. |
log_width | Bin scale factor. |
e | Droplet mass grid (mg). |
ima | i + j goes in bin ima(i,j). |
c | Courant number for bin pairs. |
subroutine pmc_run_sect::run_sect |
( |
type(bin_grid_t),intent(in) |
bin_grid, |
|
|
type(gas_data_t),intent(in) |
gas_data, |
|
|
type(aero_data_t),intent(in) |
aero_data, |
|
|
type(aero_dist_t),intent(inout) |
aero_dist, |
|
|
type(env_data_t),intent(inout) |
env_data, |
|
|
type(env_state_t),intent(inout) |
env_state, |
|
|
type(run_sect_opt_t),intent(in) |
run_sect_opt |
|
) |
| |
Run a sectional simulation.
- Parameters:
-
bin_grid | Bin grid. |
gas_data | Gas data. |
aero_data | Aerosol data. |
aero_dist | Aerosol distribution. |
env_data | Environment data. |
env_state | Environment state. |
run_sect_opt | Options. |
subroutine pmc_run_sect::smooth_bin_kernel |
( |
integer,intent(in) |
n_bin, |
|
|
real(kind=dp),dimension(n_bin,n_bin),intent(in) |
k, |
|
|
real(kind=dp),dimension(n_bin,n_bin),intent(out) |
k_smooth |
|
) |
| |
Smooths kernel values for bin pairs, and halves the self-rate.
- Parameters:
-
n_bin | Number of bins. |
k | Kernel values. |
k_smooth | Smoothed kernel values. |