[CSC 435] Tolerance on the header of the ILS function
Andrew J. Pounds
pounds_aj at mercer.edu
Sat Apr 2 21:13:18 EDT 2016
On 04/02/2016 08:44 PM, Vicenzo Abichequer wrote:
>
> Hi, Andrew!
>
> I was on the final phase of the project and I am exporting my
> functions. I noticed that you didn’t include the tolerance on the
> header of the iterative linear solver. Should I fix a tolerance for it
> or I should include a tolerance argument on the header?
>
> Thanks.
>
I basically used something close to the machine epsilon and based by
stopping condition on the relative precision.
if ( fabs(err - olderr) / olderr <= tol ) break;
tol = 1.0e-15;
--
Andrew J. Pounds, Ph.D. (pounds_aj at mercer.edu)
Professor of Chemistry and Computer Science
Mercer University, Macon, GA 31207 (478) 301-5627
http://faculty.mercer.edu/pounds_aj
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://theochem.mercer.edu/pipermail/csc435/attachments/20160402/344f3cde/attachment.html>
More information about the csc435
mailing list