Skip to content
Snippets Groups Projects
Commit bb437ce0 authored by Oliver Sander's avatar Oliver Sander Committed by sander@PCPOOL.MI.FU-BERLIN.DE
Browse files

switch between multigrid and truncated cg as the inner solver

[[Imported from SVN: r4124]]
parent fb087f61
No related branches found
No related tags found
No related merge requests found
......@@ -124,6 +124,7 @@ int main (int argc, char *argv[]) try
RodAssembler<GridType> rodAssembler(grid, &localStiffness);
RiemannianTrustRegionSolver<GridType,RigidBodyMotion<3> > rodSolver;
#if 0
rodSolver.setup(grid,
&rodAssembler,
x,
......@@ -137,6 +138,18 @@ int main (int argc, char *argv[]) try
baseIterations,
baseTolerance,
instrumented);
#else
rodSolver.setupTCG(grid,
&rodAssembler,
x,
dirichletNodes,
tolerance,
maxTrustRegionSteps,
initialTrustRegionRadius,
multigridIterations,
mgTolerance,
instrumented);
#endif
// /////////////////////////////////////////////////////
// Solve!
......
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