| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(nlesolver_type), | intent(inout) | :: | me | |||
| integer, | intent(in) | :: | n_cols |
|
||
| integer, | intent(in) | :: | n_rows |
|
||
| integer, | intent(in) | :: | n_nonzero |
number of nonzero elements of A. |
||
| integer, | intent(in), | dimension(n_nonzero) | :: | irow |
sparsity pattern (size is |
|
| integer, | intent(in), | dimension(n_nonzero) | :: | icol |
sparsity pattern (size is |
|
| real(kind=wp), | intent(in), | dimension(n_nonzero) | :: | a |
matrix elements (size is |
|
| real(kind=wp), | intent(in), | dimension(n_rows) | :: | b |
right hand side (size is |
|
| real(kind=wp), | intent(out), | dimension(n_cols) | :: | x |
solution (size is |
|
| integer, | intent(out) | :: | istat |
status code (=0 for success) |
for a custom user-provided linear solver (sparse version)
solve Ax = b for x, given A and b.