PartMC  2.6.1
Data Types | Modules | Functions/Subroutines
integer_varray.F90 File Reference

The pmc_integer_varray module. More...

Go to the source code of this file.

Data Types

type  pmc_integer_varray::integer_varray_t
 A variable-length 1D array of integers. More...
 

Modules

module  pmc_integer_varray
 The integer_varray_t structure and assocated subroutines.
 

Functions/Subroutines

elemental integer function pmc_integer_varray::integer_varray_n_entry (integer_varray)
 Return the current number of entries. More...
 
subroutine pmc_integer_varray::integer_varray_realloc (integer_varray, new_length)
 Changes the given integer_varray to exactly the given new_length. More...
 
elemental subroutine pmc_integer_varray::integer_varray_zero (integer_varray)
 Resets an integer_varray to have zero entries. More...
 
subroutine pmc_integer_varray::integer_varray_enlarge (integer_varray, n)
 Enlarges the given array so that it is at least of size n. More...
 
subroutine pmc_integer_varray::integer_varray_shrink (integer_varray)
 Possibly shrinks the storage of the given array, ensuring that it can still store the used entries. More...
 
subroutine pmc_integer_varray::integer_varray_append (integer_varray, val)
 Adds the given number to the end of the array. More...
 
subroutine pmc_integer_varray::integer_varray_remove_entry (integer_varray, index)
 Removes the entry at the given index, repacking values to maintain contiguous data. More...
 
integer function pmc_integer_varray::pmc_mpi_pack_size_integer_varray (val)
 Determines the number of bytes required to pack the given value. More...
 
subroutine pmc_integer_varray::pmc_mpi_pack_integer_varray (buffer, position, val)
 Packs the given value into the buffer, advancing position. More...
 
subroutine pmc_integer_varray::pmc_mpi_unpack_integer_varray (buffer, position, val)
 Unpacks the given value from the buffer, advancing position. More...
 

Detailed Description

The pmc_integer_varray module.

Definition in file integer_varray.F90.