public class IterativeSolverNotConvergedException extends NotConvergedException
NotConvergedException.Reason
reason
Constructor and Description |
---|
IterativeSolverNotConvergedException(NotConvergedException.Reason reason,
IterationMonitor iter)
Constructor for IterativeSolverNotConvergedException
|
IterativeSolverNotConvergedException(NotConvergedException.Reason reason,
java.lang.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
public IterativeSolverNotConvergedException(NotConvergedException.Reason reason, java.lang.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 number