Loading src/solvers/linear/krylov/tnlGMRESSolver_impl.h +6 −7 Original line number Diff line number Diff line Loading @@ -251,15 +251,14 @@ bool tnlGMRESSolver< Matrix, Preconditioner > :: solve( const Vector& b, Vector& sn[ i ] ); this->setResidue( fabs( s[ i + 1 ] ) / normb ); if( this->nextIteration() ) { this->refreshSolverMonitor(); /*if( this->getResidue() < this->getConvergenceResidue() ) { } else { update( i, m, _H, _s, _v, x ); return true; this->refreshSolverMonitor( true ); return this->checkConvergence(); } if( ! this->nextIteration() ) return false;*/ } update( m - 1, m, _H, _s, _v, x ); Loading Loading
src/solvers/linear/krylov/tnlGMRESSolver_impl.h +6 −7 Original line number Diff line number Diff line Loading @@ -251,15 +251,14 @@ bool tnlGMRESSolver< Matrix, Preconditioner > :: solve( const Vector& b, Vector& sn[ i ] ); this->setResidue( fabs( s[ i + 1 ] ) / normb ); if( this->nextIteration() ) { this->refreshSolverMonitor(); /*if( this->getResidue() < this->getConvergenceResidue() ) { } else { update( i, m, _H, _s, _v, x ); return true; this->refreshSolverMonitor( true ); return this->checkConvergence(); } if( ! this->nextIteration() ) return false;*/ } update( m - 1, m, _H, _s, _v, x ); Loading