PartMC 2.1.2
|
The pmc_bin_grid module. More...
Go to the source code of this file.
Data Types | |
type | pmc_bin_grid::bin_grid_t |
1D grid of size bins. More... | |
Modules | |
module | pmc_bin_grid |
The bin_grid_t structure and associated subroutines. | |
Functions/Subroutines | |
subroutine | pmc_bin_grid::bin_grid_allocate (bin_grid) |
Allocates a bin_grid. | |
subroutine | pmc_bin_grid::bin_grid_allocate_size (bin_grid, n_bin) |
Allocates a bin_grid of the given size. | |
subroutine | pmc_bin_grid::bin_grid_deallocate (bin_grid) |
Frees all memory. | |
subroutine | pmc_bin_grid::vol_to_lnr (r, f_vol, f_lnr) |
Convert a concentration f(vol)d(vol) to f(ln(r))d(ln(r)) where vol = 4/3 pi r^3. | |
subroutine | pmc_bin_grid::bin_grid_make (bin_grid, n_bin, r_min, r_max) |
Generates the bin grid given the range and number of bins. | |
integer | pmc_bin_grid::bin_grid_particle_in_bin (bin_grid, radius) |
Find the bin number that contains a given particle. | |
subroutine | pmc_bin_grid::spec_file_read_bin_grid (file, bin_grid) |
Read the specification for a bin_grid from a spec file and generate it. | |
integer | pmc_bin_grid::pmc_mpi_pack_size_bin_grid (val) |
Determines the number of bytes required to pack the given value. | |
subroutine | pmc_bin_grid::pmc_mpi_pack_bin_grid (buffer, position, val) |
Packs the given value into the buffer, advancing position. | |
subroutine | pmc_bin_grid::pmc_mpi_unpack_bin_grid (buffer, position, val) |
Unpacks the given value from the buffer, advancing position. | |
subroutine | pmc_bin_grid::bin_grid_netcdf_dim_aero_diam (bin_grid, ncid, dimid_aero_diam) |
Write the aero_diam dimension to the given NetCDF file if it is not already present and in any case return the associated dimid. | |
subroutine | pmc_bin_grid::bin_grid_output_netcdf (bin_grid, ncid) |
Write full state. | |
subroutine | pmc_bin_grid::bin_grid_input_netcdf (bin_grid, ncid) |
Read full state. |
The pmc_bin_grid module.
Definition in file bin_grid.F90.