Interface Preconditioner

    • Method Detail

      • apply

        Vector apply​(Vector b,
                     Vector x)
        Solves the approximate problem with the given right hand side. Result is stored in given solution vector
        Parameters:
        b - Right hand side of problem
        x - Result is stored here
        Returns:
        x
      • transApply

        Vector transApply​(Vector b,
                          Vector x)
        Solves the approximate transpose problem with the given right hand side. Result is stored in given solution vector
        Parameters:
        b - Right hand side of problem
        x - Result is stored here
        Returns:
        x
      • setMatrix

        void setMatrix​(Matrix A)
        Sets the operator matrix for the preconditioner. This method must be called before a preconditioner is used by an iterative solver
        Parameters:
        A - Matrix to setup the preconditioner for. Not modified