Generif interface for the ::dqrm_spmat_alloc routine. More...
Public Member Functions | |
subroutine | dqrm_spmat_alloc (qrm_spmat, nz, m, n, fmt) |
This subroutine allocates memory for a sparse matrix. More... | |
Generif interface for the ::dqrm_spmat_alloc routine.
Definition at line 49 of file dqrm_spmat_mod.F90.
subroutine dqrm_spmat_mod::qrm_spmat_alloc::dqrm_spmat_alloc | ( | type(dqrm_spmat_type), intent(inout) | qrm_spmat, |
integer, intent(in) | nz, | ||
integer, intent(in) | m, | ||
integer, intent(in) | n, | ||
character, dimension(*), intent(in) | fmt | ||
) |
This subroutine allocates memory for a sparse matrix.
[in,out] | qrm_spmat | A dqrm_spmat_mod::dqrm_spmat_type data structure. The memory for storing the matrix is allocated according to the storage format. Also qrm_spmatnz, qrm_spmatm and qrm_spmatn are set to nz, m and n respectively. These are the sizes of the arrays in output
|
[in] | nz | The number of nonzeroes contained in the matrix |
[in] | m | The number of rows in the matrix |
[in] | n | The number of columns in the matrix |
[in] | fmt | The matrix storage format. Can be either "coo" or "csr" or "csc" |
Definition at line 216 of file dqrm_spmat_mod.F90.