|
GBTOlib: library for evaluation of molecular integrals in mixed Gaussian / B-spline basis 111
|
Convenience MPI type wrapper with garbage collection. More...
Public Member Functions | |
| procedure | setup (this, n, elemtype) |
| Set up a new MPI type describing a long array composed of blocks. | |
| final | mpi_mod_free_block_array (this) |
| Release MPI handle of the block array type. | |
Public Attributes | |
| integer(mpiint) | mpitype = 0 |
Convenience MPI type wrapper with garbage collection.
Derived type that wraps construction and destruction of a MPI type describing a blocked array.
|
final |
Release MPI handle of the block array type.
This is a destructor for MPIBlockArray. It frees the handle for the MPI derived type (if any).

| procedure mpi_gbl::MPIBlockArray::setup | ( | class(mpiblockarray), intent(inout) | this, |
| integer, intent(in) | n, | ||
| integer(mpiint), intent(in) | elemtype ) |
Set up a new MPI type describing a long array composed of blocks.
Creates a MPI type handle describing a structured data type that can be used to transfer very long arrays of data. The array is represented as a set of blocks, whose element count does not exceed the maximal value of the MPI integer type. To avoid resource leaks, the returned handle should be released by a call to MPI_Type_free.
| [in] | this | Block array object to initialize. |
| [in] | n | Number of elements in the array. |
| [in] | elemtype | MPI datatype handle of elements of the array. |
| integer(mpiint) mpi_gbl::MPIBlockArray::mpitype = 0 |