public class DefaultIterationMonitor extends AbstractIterationMonitor
iter, normType, reporter, residual| Constructor and Description |
|---|
DefaultIterationMonitor()
Constructor for DefaultIterationMonitor.
|
DefaultIterationMonitor(int maxIter,
double rtol,
double atol,
double dtol)
Constructor for DefaultIterationMonitor
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
convergedI(double r) |
protected boolean |
convergedI(double r,
Vector x) |
void |
setAbsoluteTolerance(double atol)
Sets the absolute tolerance
|
void |
setDivergenceTolerance(double dtol)
Sets the divergence tolerance
|
void |
setMaxIterations(int maxIter)
Sets maximum number of iterations to permit
|
void |
setRelativeTolerance(double rtol)
Sets the relative tolerance
|
converged, converged, converged, converged, getIterationReporter, getNormType, isFirst, iterations, next, residual, setFirst, setIterationReporter, setNormTypepublic DefaultIterationMonitor(int maxIter,
double rtol,
double atol,
double dtol)
maxIter - Maximum number of iterationsrtol - Relative convergence tolerance (to initial residual)atol - Absolute convergence tolerancedtol - Relative divergence tolerance (to initial residual)public DefaultIterationMonitor()
public void setMaxIterations(int maxIter)
maxIter - Maximum number of iterationspublic void setRelativeTolerance(double rtol)
rtol - Relative convergence tolerance (to initial residual)public void setAbsoluteTolerance(double atol)
atol - Absolute convergence tolerancepublic void setDivergenceTolerance(double dtol)
dtol - Relative divergence tolerance (to initial residual)protected boolean convergedI(double r)
throws IterativeSolverNotConvergedException
convergedI in class AbstractIterationMonitorIterativeSolverNotConvergedExceptionprotected boolean convergedI(double r,
Vector x)
throws IterativeSolverNotConvergedException
convergedI in class AbstractIterationMonitorIterativeSolverNotConvergedExceptionCopyright © 2015. All Rights Reserved.