CSR matrix type, DBCSR-CSR conversions, and CSR file I/O built on cp_dbcsr_api.
More...
|
| subroutine, public | dbcsr_csr_destroy (csr_mat) |
| | Destroy a CSR matrix and release all allocated memory.
|
| subroutine, public | dbcsr_csr_create_from_dbcsr (dbcsr_mat, csr_mat, dist_format, csr_sparsity, numnodes) |
| | Create CSR matrix including DBCSR mapping from an arbitrary DBCSR matrix.
|
| subroutine, public | dbcsr_convert_dbcsr_to_csr (dbcsr_mat, csr_mat) |
| | Convert a DBCSR matrix to an existing CSR matrix.
|
| subroutine, public | dbcsr_convert_csr_to_dbcsr (dbcsr_mat, csr_mat) |
| | Convert a CSR matrix back to an allocated DBCSR matrix.
|
| subroutine, public | dbcsr_csr_create_and_convert_complex (rmatrix, imatrix, csr_mat, dist_format) |
| | Create and populate a complex CSR matrix from real and imaginary DBCSR matrices.
|
| subroutine, public | dbcsr_csr_print_sparsity (csr_mat, unit_nr) |
| | Print CSR sparsity statistics.
|
| subroutine, public | dbcsr_csr_write (csr_mat, unit_nr, upper_triangle, threshold, binary) |
| | Write a CSR matrix to file (formatted or unformatted).
|
CSR matrix type, DBCSR-CSR conversions, and CSR file I/O built on cp_dbcsr_api.
◆ dbcsr_csr_destroy()
| subroutine, public cp_dbcsr_csr::dbcsr_csr_destroy |
( |
type(dbcsr_csr_type), intent(inout) | csr_mat | ) |
|
Destroy a CSR matrix and release all allocated memory.
- Parameters
-
Definition at line 214 of file cp_dbcsr_csr.F.
◆ dbcsr_csr_create_from_dbcsr()
| subroutine, public cp_dbcsr_csr::dbcsr_csr_create_from_dbcsr |
( |
type(dbcsr_type), intent(in) | dbcsr_mat, |
|
|
type(dbcsr_csr_type), intent(out) | csr_mat, |
|
|
integer, intent(in) | dist_format, |
|
|
type(dbcsr_type), intent(in), optional | csr_sparsity, |
|
|
integer, intent(in), optional | numnodes ) |
Create CSR matrix including DBCSR mapping from an arbitrary DBCSR matrix.
- Parameters
-
| dbcsr_mat | ... |
| csr_mat | ... |
| dist_format | ... |
| csr_sparsity | ... |
| numnodes | ... |
Definition at line 255 of file cp_dbcsr_csr.F.
◆ dbcsr_convert_dbcsr_to_csr()
| subroutine, public cp_dbcsr_csr::dbcsr_convert_dbcsr_to_csr |
( |
type(dbcsr_type), intent(in) | dbcsr_mat, |
|
|
type(dbcsr_csr_type), intent(inout) | csr_mat ) |
Convert a DBCSR matrix to an existing CSR matrix.
- Parameters
-
Definition at line 483 of file cp_dbcsr_csr.F.
◆ dbcsr_convert_csr_to_dbcsr()
| subroutine, public cp_dbcsr_csr::dbcsr_convert_csr_to_dbcsr |
( |
type(dbcsr_type), intent(inout) | dbcsr_mat, |
|
|
type(dbcsr_csr_type), intent(inout) | csr_mat ) |
Convert a CSR matrix back to an allocated DBCSR matrix.
- Parameters
-
Definition at line 556 of file cp_dbcsr_csr.F.
◆ dbcsr_csr_create_and_convert_complex()
| subroutine, public cp_dbcsr_csr::dbcsr_csr_create_and_convert_complex |
( |
type(dbcsr_type), intent(in) | rmatrix, |
|
|
type(dbcsr_type), intent(in) | imatrix, |
|
|
type(dbcsr_csr_type), intent(inout) | csr_mat, |
|
|
integer, intent(in) | dist_format ) |
Create and populate a complex CSR matrix from real and imaginary DBCSR matrices.
- Parameters
-
| rmatrix | ... |
| imatrix | ... |
| csr_mat | ... |
| dist_format | ... |
Definition at line 622 of file cp_dbcsr_csr.F.
◆ dbcsr_csr_print_sparsity()
| subroutine, public cp_dbcsr_csr::dbcsr_csr_print_sparsity |
( |
type(dbcsr_csr_type), intent(in) | csr_mat, |
|
|
integer, intent(in) | unit_nr ) |
Print CSR sparsity statistics.
- Parameters
-
Definition at line 713 of file cp_dbcsr_csr.F.
◆ dbcsr_csr_write()
| subroutine, public cp_dbcsr_csr::dbcsr_csr_write |
( |
type(dbcsr_csr_type), intent(in) | csr_mat, |
|
|
integer, intent(in) | unit_nr, |
|
|
logical, intent(in), optional | upper_triangle, |
|
|
real(kind=dp), intent(in), optional | threshold, |
|
|
logical, intent(in), optional | binary ) |
Write a CSR matrix to file (formatted or unformatted).
- Parameters
-
| csr_mat | ... |
| unit_nr | ... |
| upper_triangle | ... |
| threshold | ... |
| binary | ... |
Definition at line 752 of file cp_dbcsr_csr.F.
◆ dbcsr_csr_type_real_8
| integer, parameter, public cp_dbcsr_csr::dbcsr_csr_type_real_8 = 1 |
◆ dbcsr_csr_dbcsr_blkrow_dist
| integer, parameter, public cp_dbcsr_csr::dbcsr_csr_dbcsr_blkrow_dist = 1 |
◆ dbcsr_csr_eqrow_floor_dist
| integer, parameter, public cp_dbcsr_csr::dbcsr_csr_eqrow_floor_dist = 3 |