Create a new CSR matrix and allocate all internal data (excluding dbcsr_mapping)
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(csr_type), | intent(out) | :: | csr_mat |
CSR matrix to return |
||
integer, | intent(in) | :: | nrows_total |
total number of rows total number of columns |
||
integer, | intent(in) | :: | ncols_total |
total number of rows total number of columns |
||
integer(kind=int_8) | :: | nze_total |
total number of non-zero elements |
|||
integer, | intent(in) | :: | nze_local |
local number of non-zero elements local number of rows |
||
integer, | intent(in) | :: | nrows_local |
local number of non-zero elements local number of rows |
||
type(mp_comm_type), | intent(in) | :: | mp_group | |||
integer, | intent(in), | optional | :: | data_type |
data type of the CSR matrix (default real double prec.) |