abstract_precond_csp Derived Type

type, public, abstract :: abstract_precond_csp


Type-Bound Procedures

procedure(abstract_apply_csp), public, deferred, pass(self) :: apply

  • subroutine abstract_apply_csp(self, vec, iter, current_residual, target_residual) Prototype

    Abstract interface to apply a preconditioner in LightKrylov.

    Arguments

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

    Preconditioner.

    class(abstract_vector_csp), intent(inout) :: vec

    Input/Output vector.

    integer, intent(in), optional :: iter

    Current iteration number.

    real(kind=sp), intent(in), optional :: current_residual
    real(kind=sp), intent(in), optional :: target_residual