PartMC 2.1.1
Data Types | Modules | Functions/Subroutines
aero_particle_array.F90 File Reference

The pmc_aero_particle_array module. More...

Data Types

type  pmc_aero_particle_array::aero_particle_array_t
 1-D arrays of particles, used by aero_state to build a ragged array. More...

Modules

module  pmc_aero_particle_array
 

The aero_particle_array_t structure and assoicated subroutines.


Functions/Subroutines

subroutine pmc_aero_particle_array::aero_particle_array_allocate (aero_particle_array)
 Allocates and initializes.
subroutine pmc_aero_particle_array::aero_particle_array_allocate_size (aero_particle_array, n_part, n_spec, n_source)
 Allocates and initializes to the given size.
subroutine pmc_aero_particle_array::aero_particle_array_deallocate (aero_particle_array)
 Deallocates.
subroutine pmc_aero_particle_array::aero_particle_array_copy (aero_particle_array_from, aero_particle_array_to)
 Copies aero_particle_array_from to aero_particle_array_to, both of which must already be allocated.
subroutine pmc_aero_particle_array::aero_particle_array_zero (aero_particle_array)
 Resets an aero_particle_array to contain zero particles.
subroutine pmc_aero_particle_array::aero_particle_array_realloc (aero_particle_array, new_length)
 Changes the given aero_particle_array to exactly the given new_length.
subroutine pmc_aero_particle_array::aero_particle_array_enlarge (aero_particle_array)
 Enlarges the given aero_particle_array by at least one element.
subroutine pmc_aero_particle_array::aero_particle_array_enlarge_to (aero_particle_array, n)
 Enlarges the given array so that it is at least of size n.
subroutine pmc_aero_particle_array::aero_particle_array_shrink (aero_particle_array)
 Possibly shrinks the storage of the given array, ensuring that it can still store the allocated particles.
subroutine pmc_aero_particle_array::aero_particle_array_add_particle (aero_particle_array, aero_particle)
 Adds the given particle to the end of the array.
subroutine pmc_aero_particle_array::aero_particle_array_remove_particle (aero_particle_array, index)
 Removes the particle at the given index.
subroutine pmc_aero_particle_array::aero_particle_array_double (aero_particle_array)
 Doubles the number of particles by making a duplicate of each one.
integer pmc_aero_particle_array::pmc_mpi_pack_size_apa (val)
 Determines the number of bytes required to pack the given value.
subroutine pmc_aero_particle_array::pmc_mpi_pack_aero_particle_array (buffer, position, val)
 Packs the given value into the buffer, advancing position.
subroutine pmc_aero_particle_array::pmc_mpi_unpack_aero_particle_array (buffer, position, val)
 Unpacks the given value from the buffer, advancing position.

Detailed Description

The pmc_aero_particle_array module.