Skip to content

Commit e26bfa2

Browse files
author
Hugo Verhelst
committed
change NR settings
1 parent 3f7ed32 commit e26bfa2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/gsMaterialMatrixTFT.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,7 @@ gsMatrix<T> gsMaterialMatrixTFT<dim,T,linear>::eval_theta(const gsMatrix<T> & Cs
486486
converged = obj.findRootBisection(f,theta_interval(0),theta_interval(1),theta,1e-6);
487487
if (!converged)
488488
{
489-
obj.newtonRaphson(zeros,arg,false,1e-12,100,1);
489+
obj.newtonRaphson(zeros,arg,false,1e-8,1000,1);
490490
theta = arg(0);
491491
f = obj.eval(theta);
492492
}
@@ -522,7 +522,7 @@ gsMatrix<T> gsMaterialMatrixTFT<dim,T,linear>::eval_theta(const gsMatrix<T> & Cs
522522
converged = obj.findRootBisection(f,intervals[i].first,intervals[i].second,theta,1e-6);
523523
if (!converged)
524524
{
525-
obj.newtonRaphson(zeros,arg,false,1e-12,100,1);
525+
obj.newtonRaphson(zeros,arg,false,1e-8,1000,1);
526526
theta = arg(0);
527527
f = obj.eval(theta);
528528
}

0 commit comments

Comments
 (0)