PartMC
2.6.1
|
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, scenario, env_state, run_sect_opt) |
Run a sectional simulation. More... | |
subroutine | coad (n_bin, dt, taug, taup, taul, tauu, prod, ploss, c, ima, g, r, e, ck, ec) |
Collision subroutine, exponential approach. More... | |
subroutine | courant (n_bin, log_width, e, ima, c) |
Determines the Courant number for each bin pair. More... | |
subroutine | smooth_bin_kernel (n_bin, k, k_smooth) |
Smooths kernel values for bin pairs, and halves the self-rate. More... | |
1D sectional simulation.
Sectional code based on coad1d.f
by Andreas Bott
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.
Definition at line 203 of file run_sect.F90.
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.
[in] | n_bin | Number of bins. |
[in] | log_width | Bin scale factor. |
[in] | e | Droplet mass grid (mg). |
[out] | ima | i + j goes in bin ima(i,j). |
[out] | c | Courant number for bin pairs. |
Definition at line 284 of file run_sect.F90.
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(scenario_t), intent(inout) | scenario, | ||
type(env_state_t), intent(inout) | env_state, | ||
type(run_sect_opt_t), intent(in) | run_sect_opt | ||
) |
Run a sectional simulation.
[in] | bin_grid | Bin grid. |
[in] | gas_data | Gas data. |
[in] | aero_data | Aerosol data. |
[in,out] | aero_dist | Aerosol distribution. |
[in,out] | scenario | Environment data. |
[in,out] | env_state | Environment state. |
[in] | run_sect_opt | Options. |
Definition at line 56 of file run_sect.F90.
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.
[in] | n_bin | Number of bins. |
[in] | k | Kernel values. |
[out] | k_smooth | Smoothed kernel values. |
Definition at line 334 of file run_sect.F90.