|
| subroutine | dbm_api::validate (matrix) |
| | Dummy for when DBM_VALIDATE_AGAINST_DBCSR is not defined.
|
| |
| subroutine, public | dbm_api::dbm_create_from_template (matrix, name, template) |
| | Creates a new matrix from given template, reusing dist and row/col_block_sizes.
|
| |
| subroutine, public | dbm_api::dbm_create (matrix, name, dist, row_block_sizes, col_block_sizes) |
| | Creates a new matrix.
|
| |
| subroutine, public | dbm_api::dbm_finalize (matrix) |
| | Needed to be called for DBCSR after blocks where inserted. For DBM it's a no-opt.
|
| |
| subroutine, public | dbm_api::dbm_release (matrix) |
| | Releases a matrix and all its ressources.
|
| |
| subroutine, public | dbm_api::dbm_copy (matrix_a, matrix_b) |
| | Copies content of matrix_b into matrix_a. Matrices must have the same row/col block sizes and distribution.
|
| |
| subroutine, public | dbm_api::dbm_redistribute (matrix, redist) |
| | Copies content of matrix_b into matrix_a. Matrices may have different distributions.
|
| |
| subroutine, public | dbm_api::dbm_get_block_p (matrix, row, col, block, row_size, col_size) |
| | Looks up a block from given matrics. This routine is thread-safe. If the block is not found then a null pointer is returned.
|
| |
| subroutine, public | dbm_api::dbm_put_block (matrix, row, col, block, summation) |
| | Adds a block to given matrix. This routine is thread-safe. If block already exist then it gets overwritten (or summed).
|
| |
| subroutine, public | dbm_api::dbm_clear (matrix) |
| | Remove all blocks from given matrix, but does not release the underlying memory.
|
| |
| subroutine, public | dbm_api::dbm_filter (matrix, eps) |
| | Removes all blocks from the given matrix whose block norm is below the given threshold. Blocks of size zero are always kept.
|
| |
| subroutine, public | dbm_api::dbm_reserve_blocks (matrix, rows, cols) |
| | Adds given list of blocks efficiently. The blocks will be filled with zeros.
|
| |
| subroutine, public | dbm_api::dbm_scale (matrix, alpha) |
| | Multiplies all entries in the given matrix by the given factor alpha.
|
| |
| subroutine, public | dbm_api::dbm_zero (matrix) |
| | Sets all blocks in the given matrix to zero.
|
| |
| subroutine, public | dbm_api::dbm_add (matrix_a, matrix_b) |
| | Adds matrix_b to matrix_a.
|
| |
| subroutine, public | dbm_api::dbm_multiply (transa, transb, alpha, matrix_a, matrix_b, beta, matrix_c, retain_sparsity, filter_eps, flop) |
| | Computes matrix product: matrix_c = alpha * matrix_a * matrix_b + beta * matrix_c.
|
| |
| subroutine, public | dbm_api::dbm_iterator_start (iterator, matrix) |
| | Creates an iterator for the blocks of the given matrix. The iteration order is not stable.
|
| |
| integer function, public | dbm_api::dbm_iterator_num_blocks (iterator) |
| | Returns number of blocks the iterator will provide to calling thread.
|
| |
| logical function, public | dbm_api::dbm_iterator_blocks_left (iterator) |
| | Tests whether the given iterator has any block left.
|
| |
| subroutine, public | dbm_api::dbm_iterator_next_block (iterator, row, column, block, row_size, col_size) |
| | Returns the next block from the given iterator.
|
| |
| subroutine, public | dbm_api::dbm_iterator_stop (iterator) |
| | Releases the given iterator.
|
| |
| real(kind=dp) function, public | dbm_api::dbm_checksum (matrix) |
| | Computes a checksum of the given matrix.
|
| |
| real(kind=dp) function, public | dbm_api::dbm_maxabs (matrix) |
| | Returns the absolute value of the larges element of the entire given matrix.
|
| |
| character(len=default_string_length) function, public | dbm_api::dbm_get_name (matrix) |
| | Returns the name of the matrix of the given matrix.
|
| |
| pure integer function, public | dbm_api::dbm_get_nze (matrix) |
| | Returns the number of local Non-Zero Elements of the given matrix.
|
| |
| pure integer function, public | dbm_api::dbm_get_num_blocks (matrix) |
| | Returns the number of local blocks of the given matrix.
|
| |
| integer function, dimension(:), pointer, contiguous, public | dbm_api::dbm_get_row_block_sizes (matrix) |
| | Returns the row block sizes of the given matrix.
|
| |
| integer function, dimension(:), pointer, contiguous, public | dbm_api::dbm_get_col_block_sizes (matrix) |
| | Returns the column block sizes of the given matrix.
|
| |
| subroutine, public | dbm_api::dbm_get_local_rows (matrix, local_rows) |
| | Returns the local row block sizes of the given matrix.
|
| |
| subroutine, public | dbm_api::dbm_get_local_cols (matrix, local_cols) |
| | Returns the local column block sizes of the given matrix.
|
| |
| subroutine, public | dbm_api::dbm_get_stored_coordinates (matrix, row, column, processor) |
| | Returns the MPI rank on which the given block should be stored.
|
| |
| type(dbm_distribution_obj) function, public | dbm_api::dbm_get_distribution (matrix) |
| | Returns the distribution of the given matrix.
|
| |
| subroutine, public | dbm_api::dbm_distribution_new (dist, mp_comm, row_dist_block, col_dist_block) |
| | Creates a new two dimensional distribution.
|
| |
| subroutine, public | dbm_api::dbm_distribution_hold (dist) |
| | Increases the reference counter of the given distribution.
|
| |
| subroutine, public | dbm_api::dbm_distribution_release (dist) |
| | Decreases the reference counter of the given distribution.
|
| |
| integer function, dimension(:), pointer, contiguous, public | dbm_api::dbm_distribution_row_dist (dist) |
| | Returns the rows of the given distribution.
|
| |
| integer function, dimension(:), pointer, contiguous, public | dbm_api::dbm_distribution_col_dist (dist) |
| | Returns the columns of the given distribution.
|
| |
| subroutine, public | dbm_api::dbm_library_init () |
| | Initialize DBM library.
|
| |
| subroutine, public | dbm_api::dbm_library_finalize () |
| | Finalize DBM library.
|
| |
| subroutine, public | dbm_api::dbm_library_print_stats (mpi_comm, output_unit) |
| | Print DBM library statistics.
|
| |