Structure
CSRMatrix_ data type defines a sparse matrix in the CSR format. EASIFEM uses Sparsekit library for handling CSRMatrix_.
TYPE :: CSRMatrix_
LOGICAL( LGT ) :: csrOwnership = .TRUE.
!! This variable, if true, denotes that csr is allocated inside the obj
INTEGER( I4B ) :: tDimension = 2_I4B
CHARACTER( LEN = 5 ) :: matrixProp = 'UNSYM'
REAL( DFP ), ALLOCATABLE :: A( : )
TYPE( CSRSparsity_ ) :: csr
END TYPE CSRMatrix_
csrOwnerShipis true if memory forcsrpointer is allocated while initiating an instance ofCSRMatrix_.tDimensionis the dimension of the matrix, it should be 2matrixProp, defines the properties of the matrix, this parameter is futuristic as it will be used for deploying optimized solvers based on the matrix properties.Acontains the matrix valuecsris an instance of CSRSparsity which contains the sparsity pattern.