Sparse representation of a Jacobi matrix. More...
Private Attributes | |
real(dp), dimension(:), allocatable | diagonal |
Diagonal elements of the Jacobi matrix. More... | |
real(dp), dimension(:), allocatable | off_diagonal |
Off-diagonal elements of the Jacobi matrix. More... | |
Sparse representation of a Jacobi matrix.
The type gjp_sparse_matrix represents a Jacobi matrix in a sparse format. It holds the diagonal and off-diagonal elements of the matrix, as the other elements are zeros. The sparse format is suitable for efficient storage and computation when dealing with Jacobi matrices.
Definition at line 49 of file gjp_types.f90.
|
private |
Diagonal elements of the Jacobi matrix.
Definition at line 50 of file gjp_types.f90.
|
private |
Off-diagonal elements of the Jacobi matrix.
Definition at line 51 of file gjp_types.f90.