FrontISTR 5.2.0
Large-scale structural analysis program with finit element method
Loading...
Searching...
No Matches
m_sparse_matrix Module Reference

This module provides DOF based sparse matrix data structure (CSR and COO) More...

Data Types

type  sparse_matrix
 

Functions/Subroutines

subroutine, public sparse_matrix_set_type (spmat, type, symtype)
 
subroutine, public sparse_matrix_init (spmat, n_loc, nz)
 
subroutine, public sparse_matrix_finalize (spmat)
 
subroutine, public sparse_matrix_dump (spmat)
 
subroutine, public sparse_matrix_gather_rhs (spmat, rhs_all)
 
subroutine, public sparse_matrix_scatter_rhs (spmat, rhs_all)
 
logical function, public sparse_matrix_is_sym (spmat)
 

Variables

integer(kind=kint), parameter, public sparse_matrix_type_csr =1
 
integer(kind=kint), parameter, public sparse_matrix_type_coo =2
 
integer(kind=kint), parameter, public sparse_matrix_symtype_asym =0
 
integer(kind=kint), parameter, public sparse_matrix_symtype_spd =1
 
integer(kind=kint), parameter, public sparse_matrix_symtype_sym =2
 

Detailed Description

This module provides DOF based sparse matrix data structure (CSR and COO)

Function/Subroutine Documentation

◆ sparse_matrix_dump()

subroutine, public m_sparse_matrix::sparse_matrix_dump ( type(sparse_matrix), intent(in)  spmat)

Definition at line 100 of file sparse_matrix.f90.

Here is the call graph for this function:

◆ sparse_matrix_finalize()

subroutine, public m_sparse_matrix::sparse_matrix_finalize ( type (sparse_matrix), intent(inout)  spmat)

Definition at line 93 of file sparse_matrix.f90.

Here is the caller graph for this function:

◆ sparse_matrix_gather_rhs()

subroutine, public m_sparse_matrix::sparse_matrix_gather_rhs ( type (sparse_matrix), intent(in)  spmat,
real(kind=kreal), dimension(:), intent(out)  rhs_all 
)

Definition at line 139 of file sparse_matrix.f90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ sparse_matrix_init()

subroutine, public m_sparse_matrix::sparse_matrix_init ( type (sparse_matrix), intent(inout)  spmat,
integer(kind=kint), intent(in)  n_loc,
integer(kind=kint), intent(in)  nz 
)

Definition at line 79 of file sparse_matrix.f90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ sparse_matrix_is_sym()

logical function, public m_sparse_matrix::sparse_matrix_is_sym ( type(sparse_matrix), intent(inout)  spmat)

Definition at line 170 of file sparse_matrix.f90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ sparse_matrix_scatter_rhs()

subroutine, public m_sparse_matrix::sparse_matrix_scatter_rhs ( type (sparse_matrix), intent(inout)  spmat,
real(kind=kreal), dimension(:), intent(in)  rhs_all 
)

Definition at line 154 of file sparse_matrix.f90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ sparse_matrix_set_type()

subroutine, public m_sparse_matrix::sparse_matrix_set_type ( type (sparse_matrix), intent(inout)  spmat,
integer(kind=kint), intent(in)  type,
integer(kind=kint), intent(in)  symtype 
)

Definition at line 58 of file sparse_matrix.f90.

Here is the caller graph for this function:

Variable Documentation

◆ sparse_matrix_symtype_asym

integer(kind=kint), parameter, public m_sparse_matrix::sparse_matrix_symtype_asym =0

Definition at line 32 of file sparse_matrix.f90.

◆ sparse_matrix_symtype_spd

integer(kind=kint), parameter, public m_sparse_matrix::sparse_matrix_symtype_spd =1

Definition at line 33 of file sparse_matrix.f90.

◆ sparse_matrix_symtype_sym

integer(kind=kint), parameter, public m_sparse_matrix::sparse_matrix_symtype_sym =2

Definition at line 34 of file sparse_matrix.f90.

◆ sparse_matrix_type_coo

integer(kind=kint), parameter, public m_sparse_matrix::sparse_matrix_type_coo =2

Definition at line 30 of file sparse_matrix.f90.

◆ sparse_matrix_type_csr

integer(kind=kint), parameter, public m_sparse_matrix::sparse_matrix_type_csr =1

Definition at line 29 of file sparse_matrix.f90.