QR_MUMPS
List of all members | Public Member Functions
_qrm_spmat_mod::qrm_spmat_alloc Interface Reference

Generif interface for the ::_qrm_spmat_alloc routine. More...

Public Member Functions

subroutine _qrm_spmat_alloc (qrm_spmat, nz, m, n, fmt)
 This subroutine allocates memory for a sparse matrix. More...
 

Detailed Description

Generif interface for the ::_qrm_spmat_alloc routine.

Definition at line 49 of file qrm_spmat_mod.F90.

Member Function/Subroutine Documentation

subroutine _qrm_spmat_mod::qrm_spmat_alloc::_qrm_spmat_alloc ( type(_qrm_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.

Parameters
[in,out]qrm_spmatA _qrm_spmat_mod::_qrm_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
  • coo: irn(nz), jcn(nz), val(nz)
  • csr: iptr(m+1), jcn(nz), val(nz)
  • csc: irn(nz), jptr(n+1), val(nz)
[in]nzThe number of nonzeroes contained in the matrix
[in]mThe number of rows in the matrix
[in]nThe number of columns in the matrix
[in]fmtThe matrix storage format. Can be either "coo" or "csr" or "csc"

Definition at line 217 of file qrm_spmat_mod.F90.


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