| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(multigrid_solver_t), | intent(in) | :: | self |
Instance of the type |
||
| real(kind=FP), | intent(inout), | dimension(:) | :: | u |
Guess for solution |
|
| real(kind=FP), | intent(inout), | dimension(:) | :: | b |
Right hand side |
|
| real(kind=FP), | intent(out) | :: | res |
Residuum (root mean square) : ||Hu-b|| / ||b||+eps |
||
| real(kind=FP), | intent(out), | optional | :: | resmax |
Residuum maximum deviation max(Hu-b) |
Computes the residuum ||Hu-b|| / ||b||