fossil_linear_solver
Source: src/lib/fossil_linear_solver.f90
Dependencies
Contents
Variables
| Name | Type | Attributes | Description |
|---|---|---|---|
CG_STATUS_OK | integer(kind=I4P) | parameter | |
CG_STATUS_BAD_INPUT | integer(kind=I4P) | parameter | |
CG_STATUS_NOT_SPD | integer(kind=I4P) | parameter | |
CG_STATUS_MAX_ITER | integer(kind=I4P) | parameter |
Subroutines
cg_solve
fortran
subroutine cg_solve(a, b, x, tol, max_iter, iterations, residual, status)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
a | type(csr_matrix_t) | in | ||
b | real(kind=R8P) | in | ||
x | real(kind=R8P) | inout | ||
tol | real(kind=R8P) | in | optional | |
max_iter | integer(kind=I4P) | in | optional | |
iterations | integer(kind=I4P) | out | optional | |
residual | real(kind=R8P) | out | optional | |
status | integer(kind=I4P) | out | optional |
Call graph