gjp_types::gjp_sparse_matrix Type Reference

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...
 

Detailed Description

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.

Member Data Documentation

◆ diagonal

real(dp), dimension(:), allocatable gjp_types::gjp_sparse_matrix::diagonal
private

Diagonal elements of the Jacobi matrix.

Definition at line 50 of file gjp_types.f90.

50  real(dp), allocatable :: diagonal(:)

◆ off_diagonal

real(dp), dimension(:), allocatable gjp_types::gjp_sparse_matrix::off_diagonal
private

Off-diagonal elements of the Jacobi matrix.

Definition at line 51 of file gjp_types.f90.

51  real(dp), allocatable :: off_diagonal(:)

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