Defines various Conjugate Gradient methods.
|
| subroutine | cg_init (this, n, max_iter, m, rel_tol, abs_tol, monitor) |
| | Initialise a CPU PCG solver.
|
| |
| subroutine | cg_free (this) |
| | Free a CPU PCG solver.
|
| |
| type(ksp_monitor_t) function | cg_solve (this, ax, x, f, n, coef, bc_projector, gs_h, niter) |
| | Solve a linear system with the standard PCG method.
|
| |
| subroutine | second_cg_part (rtr, r, mult, w, alpha, n) |
| |
| type(ksp_monitor_t) function, dimension(3) | cg_solve_coupled (this, ax, x, y, z, fx, fy, fz, n, coef, bc_projector, gs_h, niter) |
| | Solve three independent systems with the standard PCG method.
|
| |