Data Types | |
| type | problem |
| Abstract class defining the problem-specific interface for the simplified solver interface to IterativeSolver. More... | |
Functions/Subroutines | |
| logical function | diagonals (this, d) |
| Optionally provide the diagonal elements of the underlying kernel. If implemented and returning true, the provided diagonals will be used by the base precondition() function for preconditioning (and therefore the precondition() function does not need to be reimplemented), and, in the case of linear problems, for selection of the P space. Otherwise, preconditioning will be done with precondition(), and any P space has to be provided manually. | |
| logical function iterative_solver_problem::diagonals | ( | class(problem), intent(in) | this, |
| double precision, dimension(:), intent(inout) | d | ||
| ) |
Optionally provide the diagonal elements of the underlying kernel. If implemented and returning true, the provided diagonals will be used by the base precondition() function for preconditioning (and therefore the precondition() function does not need to be reimplemented), and, in the case of linear problems, for selection of the P space. Otherwise, preconditioning will be done with precondition(), and any P space has to be provided manually.
| d | On exit, contains the diagonal elements |