Class IterativeSolverNotConvergedException

java.lang.Object
java.lang.Throwable
java.lang.Exception
no.uib.cipr.matrix.NotConvergedException
no.uib.cipr.matrix.sparse.IterativeSolverNotConvergedException
All Implemented Interfaces:
Serializable

public class IterativeSolverNotConvergedException extends NotConvergedException
Exception for lack of convergence in a linear problem. Contains the final computed residual.
See Also:
  • Constructor Details

    • IterativeSolverNotConvergedException

      public IterativeSolverNotConvergedException(NotConvergedException.Reason reason, String message, IterationMonitor iter)
      Constructor for IterativeSolverNotConvergedException
      Parameters:
      reason - Reason for this exception
      message - A more detailed message
      iter - Associated iteration monitor, for extracting residual and iteration number
    • IterativeSolverNotConvergedException

      public IterativeSolverNotConvergedException(NotConvergedException.Reason reason, IterationMonitor iter)
      Constructor for IterativeSolverNotConvergedException
      Parameters:
      reason - Reason for this exception
      iter - Associated iteration monitor, for extracting residual and iteration number
  • Method Details

    • getResidual

      public double getResidual()
      Returns final computed residual
    • getIterations

      public int getIterations()
      Gets the number of iterations used when this exception was thrown