Skip to content
Snippets Groups Projects
Commit 72817e6e authored by Sander, Oliver's avatar Sander, Oliver
Browse files

harmonicmaptest: Start with trust-region radius 0.25

This avoid two unsuccessful iterations at the beginning,
and hence reduces the overall time to run the test somewhat.
parent a5db27c6
No related branches found
No related tags found
No related merge requests found
......@@ -54,7 +54,7 @@ int main (int argc, char *argv[])
// read solver settings
const double tolerance = 1e-6;
const int maxTrustRegionSteps = 1000;
const double initialTrustRegionRadius = 1;
const double initialTrustRegionRadius = 0.25;
const int multigridIterations = 200;
const int baseIterations = 100;
const double mgTolerance = 1e-10;
......@@ -188,7 +188,7 @@ int main (int argc, char *argv[])
x = solver.getSol();
std::size_t expectedFinalIteration = 12;
std::size_t expectedFinalIteration = 10;
if (solver.getStatistics().finalIteration != expectedFinalIteration)
{
std::cerr << "Trust-region solver did " << solver.getStatistics().finalIteration+1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment