public class IterativeSolverNotConvergedException extends NotConvergedException
NotConvergedException.Reason
reason
Constructor and Description |
---|
IterativeSolverNotConvergedException(NotConvergedException.Reason reason,
IterationMonitor iter)
Constructor for IterativeSolverNotConvergedException
|
IterativeSolverNotConvergedException(NotConvergedException.Reason reason,
String message,
IterationMonitor iter)
Constructor for IterativeSolverNotConvergedException
|
Modifier and Type | Method and Description |
---|---|
int |
getIterations()
Gets the number of iterations used when this exception was thrown
|
double |
getResidual()
Returns final computed residual
|
getReason
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public IterativeSolverNotConvergedException(NotConvergedException.Reason reason, String message, IterationMonitor iter)
reason
- Reason for this exceptionmessage
- A more detailed messageiter
- Associated iteration monitor, for extracting residual and
iteration numberpublic IterativeSolverNotConvergedException(NotConvergedException.Reason reason, IterationMonitor iter)
reason
- Reason for this exceptioniter
- Associated iteration monitor, for extracting residual and
iteration numberCopyright © 2015. All Rights Reserved.