src/bin_grid.f90 File Reference

The pmc_bin_grid module. More...


Namespaces

namespace  pmc_bin_grid

Classes

struct  pmc_bin_grid::bin_grid_t
 1D grid of size bins. More...

Functions

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, v_min, v_max)
 Generates the bin grid given the range and number of bins.
real *8 pmc_bin_grid::bin_grid_edge (bin_grid, i)
 Given a bin_grid (which stores the center points of the bins), find the given edge volume (m^3).
integer pmc_bin_grid::bin_grid_particle_in_bin (bin_grid, v)
 Find the bin number that contains a given particle. This assumes logarithmically spaced bins.
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_radius (bin_grid, ncid, dimid_aero_radius)
 Write the aero_radius 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.


Detailed Description

The pmc_bin_grid module.


Generated on Mon Apr 26 17:13:31 2010 for PartMC by  doxygen 1.5.6