org.opensourcephysics.numerics.dde_solvers.rk.irk
Interface AlgebraicEquationSolver

All Superinterfaces:
AlgebraicEquationSimpleSolver
All Known Implementing Classes:
IRKSimplifiedNewton

public interface AlgebraicEquationSolver
extends AlgebraicEquationSimpleSolver

AlgebraicEquationSolver extends the AlgebraicEquationSimpleSolver to add an error control capabilities. AlgebraicEquationSolver solvers adjust the approximation until that the desired tolerance is reached.

Author:
Andrei Goussev

Method Summary
 double getTolerance(int index)
          Gets the tolerance of the any approximation component of the algebraic equation solver.
 void setTolerance(int index, double tolerance)
          Sets the tolerance to each aproximation component of the algebraic equation solver.
 
Methods inherited from interface org.opensourcephysics.numerics.dde_solvers.rk.irk.AlgebraicEquationSimpleSolver
resolve, restart, updateInitialValue
 

Method Detail

getTolerance

double getTolerance(int index)
Gets the tolerance of the any approximation component of the algebraic equation solver.

Returns:
the components tolerance

setTolerance

void setTolerance(int index,
                  double tolerance)
Sets the tolerance to each aproximation component of the algebraic equation solver.

Parameters:
index - the numer of a component
tolerance - the value of desired tolerance