NCFORMAT Derived Type

type, private, bind(c) :: NCFORMAT

Note


Inherits

type~~ncformat~~InheritsGraph type~ncformat NCFORMAT C_PTR C_PTR type~ncformat->C_PTR nzval, rowind, colptr

Components

Type Visibility Attributes Name Initial
type(C_PTR), public :: colptr

pointer to array of beginning of columns in nzval[] and rowind[]

integer(kind=C_INT), public :: nnz

number of nonzeros in the matrix

type(C_PTR), public :: nzval

pointer to array of nonzero values, packed by column

type(C_PTR), public :: rowind

pointer to array of row indices of the nonzeros


Source Code

type, bind(c) :: NCFORMAT
   integer(kind=C_INT) :: nnz    !! *number of nonzeros in the matrix*
   type(C_PTR)         :: nzval  !! *pointer to array of nonzero values, packed by column*
   type(C_PTR)         :: rowind !! *pointer to array of row indices of the nonzeros*
   type(C_PTR)         :: colptr !! *pointer to array of beginning of columns in nzval[] and rowind[]*
endtype NCFORMAT