GBTOlib: library for evaluation of molecular integrals in mixed Gaussian / B-spline basis 111
Loading...
Searching...
No Matches
mpi_gbl::MPIBlockArray Type Reference

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(mpiintmpitype = 0

Detailed Description

Convenience MPI type wrapper with garbage collection.

Authors
J Benda
Date
2019, 2023

Derived type that wraps construction and destruction of a MPI type describing a blocked array.

Constructor & Destructor Documentation

◆ mpi_mod_free_block_array()

final mpi_gbl::MPIBlockArray::mpi_mod_free_block_array ( type(mpiblockarray), intent(inout) this)
final

Release MPI handle of the block array type.

Authors
J Benda
Date
2019, 2023

This is a destructor for MPIBlockArray. It frees the handle for the MPI derived type (if any).

Here is the call graph for this function:

Member Function/Subroutine Documentation

◆ setup()

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.

Authors
J Benda
Date
2019

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.

Parameters
[in]thisBlock array object to initialize.
[in]nNumber of elements in the array.
[in]elemtypeMPI datatype handle of elements of the array.

Member Data Documentation

◆ mpitype

integer(mpiint) mpi_gbl::MPIBlockArray::mpitype = 0

The documentation for this type was generated from the following file: