integer, parameter, public reorder_none
no re-rdering
The type graph stores sparse matrices of boolean in CSR format. See graph_mod description.
The type precond defines preconditioning for linear systems.
integer, parameter, public precond_jacobi_left
Left Jacobi preconditioning.
TOP-LEVEL MODULE for the 'sparse' project.
DERIVED TYPE graph: sparse matrices of boolean in CSR format
integer, parameter, public linsysslv_gmres
GMRES solver.
integer, parameter, public reorder_rcmk
Reverse CutHill Mac-Key.
GMRes solver for linear systems.
real(rp) function, dimension(m%nl), public csr_matvec_mult(m, u)
Matrix vector product v <= m*u,.
integer, parameter, public precond_none
no preconditioning
subroutine, public graph_transpose(Tg, g, verb)
Transpose graph: the graph g and Tg have transpose adjacency matrices.
integer, parameter, public mumps_lu
MUMPS, LU.
Derived type for sparse matrices in CSR format.
integer, parameter, public precond_ick
Incomplete Cholesky, iC(k)
integer, parameter, public arpack_shift_invert_sym
Shift-invert with ARPACK.
assemble the output (finalise construction)
Module for sparse outputs:
integer, parameter, public mumps_ldlt
MUMPS, LLT.
subroutine, public csr_add_samepattern(m1, m2, a)
CSR matrix addition: m1 = m1 + a * m2 a = scalar argument.
DERIVED TYPE linSysSlv: definition of linear system solvers
integer, parameter, public precond_iluk_left
incomplete LU(k), left preconditionning
integer function, public cg_fm(x, iter, res, A, b, N, tol, itmax)
CG for nxn real array matrix.
integer, parameter, public precond_jacobi_right
Right Jacobi preconditioning.
integer, parameter, public precond_jacobi
Jacobi preconditioning.
subroutine, public set_precond(k, type, reorder, fill_in, verb)
Define preconditioning for the variable 'slv' linSysSlv
integer, parameter, public linsysslv_cg
Conjugate gradient.
set the output parameters
DERIVED TYPE precond: preconditioning for linear systems
DERIVED TYPE csr: sparse matrices of reals in CSR format
integer, parameter, public mumps_llt
MUMPS; LDLT.
integer, parameter, public precond_iluk_right
incomplete LU(k), right preconditionning
DERIVED TYPE eigPbSlv: definition of eigen problem solvers
subroutine, public eigpb_solve(eps, lss, S, M, verb)
SOLVE the generalised eigen-problem .
integer function, public gmres_fm(x, iter, nbPrd, res, A, b, N, tol, itmax, rst, verb)
GMRES for a full matrix.
subroutine, public csr_add_submatrix(m, m2, a, verb)
CSR matrix addition m := m + a * m2 a = scalar argument.
integer function, public cg_prec(x, iter, A_nbProd, res, A, b, pc, N, tol, itmax, verb)
Preconditioned conjugate gradient Source = Algorithm 9.1 p. 277 in: Youssef SAAD,...
subroutine, public csr_add(m, m1, m2, a, verb)
CSR matrix addition: m = m1 + a * m2, a = scalar argument.
integer function, public cg(x, iter, A_nbProd, res, A, b, N, tol, itmax, verb)
CG for an operator matrix.
integer, parameter, public precond_iluk_split
incomplete LU(k), splitted preconditionning
DERIVED TYPE mumps: wrapper for the mumps library