solve_abstract Interface

interface
public module subroutine solve_abstract(self, comm, rhs, sol, res, info, res_true)

Arguments

Type IntentOptional Attributes Name
class(solver3d_t), intent(inout) :: self

Instance of class

integer, intent(in) :: comm

MPI communicator

real(kind=FP), intent(in), dimension(self%ndim_loc) :: rhs

Right hand side

real(kind=FP), intent(inout), dimension(self%ndim_loc) :: sol

Solution on output, on input initial guess

real(kind=FP), intent(out) :: res

Relative pseudo-residuum after solve

integer, intent(out) :: info

Info parameter, successful solve if >= 0

real(kind=FP), intent(out), optional :: res_true

True relative residuum after solve

Description

Solves 3d problem