Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer(kind=int32), | public, | allocatable | :: | ind(:) | |||
integer(kind=int32), | public | :: | nnz | ||||
integer(kind=int32), | public | :: | num_ptr | ||||
integer(kind=int32), | public | :: | num_row | ||||
integer(kind=int32), | public, | allocatable | :: | ptr(:) | |||
real(kind=real64), | public, | allocatable | :: | val(:) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(type_crs), | intent(in) | :: | self |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(type_crs), | intent(inout) | :: | self |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(type_crs), | intent(inout) | :: | self | |||
type(type_domain), | intent(inout) | :: | domain |
type, extends(abst_matrix) :: type_crs integer(int32) :: nnz ! number of non-zero elements integer(int32) :: num_row ! number of rows integer(int32) :: num_ptr ! size of ptr (num_row+1 entries) integer(int32), allocatable :: ptr(:) ! pointers to row starts (1-based) integer(int32), allocatable :: ind(:) ! column indices of non-zeros real(real64), allocatable :: val(:) ! non-zero values contains procedure, public, pass(self) :: initialize => initialize_type_crs procedure, public, pass(self) :: find => find_crs procedure, public, pass(self) :: copy => copy_crs procedure, public, pass(self) :: destory => destory_crs end type type_crs