Package no.uib.cipr.matrix.sparse
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:
java.io.Serializable
public class IterativeSolverNotConvergedException extends NotConvergedException
Exception for lack of convergence in a linear problem. Contains the final computed residual.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class no.uib.cipr.matrix.NotConvergedException
NotConvergedException.Reason
-
-
Field Summary
-
Fields inherited from class no.uib.cipr.matrix.NotConvergedException
reason
-
-
Constructor Summary
Constructors Constructor Description IterativeSolverNotConvergedException(NotConvergedException.Reason reason, java.lang.String message, IterationMonitor iter)Constructor for IterativeSolverNotConvergedExceptionIterativeSolverNotConvergedException(NotConvergedException.Reason reason, IterationMonitor iter)Constructor for IterativeSolverNotConvergedException
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetIterations()Gets the number of iterations used when this exception was throwndoublegetResidual()Returns final computed residual-
Methods inherited from class no.uib.cipr.matrix.NotConvergedException
getReason
-
-
-
-
Constructor Detail
-
IterativeSolverNotConvergedException
public IterativeSolverNotConvergedException(NotConvergedException.Reason reason, java.lang.String message, IterationMonitor iter)
Constructor for IterativeSolverNotConvergedException- Parameters:
reason- Reason for this exceptionmessage- A more detailed messageiter- 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 exceptioniter- Associated iteration monitor, for extracting residual and iteration number
-
-