|
00001 // 00002 // Solver:: C++ Implementations 00003 // 00004 00005 #include "SolverResidualCriteria.hpp" 00006 00007 bool StoppingCriterionAbsoluteResidual(double actres,double ,double eps) 00008 { return(actres<=eps) ; } 00009 00010 bool StoppingCriterionRelativeResidual(double actres,double startres,double eps) 00011 { return(actres<=eps*startres) ; }