Skip to content
Snippets Groups Projects

Use global index sets by the dune-parmg module

Merged Sander, Oliver requested to merge lisa-parallel into master
1 file
+ 10
5
Compare changes
  • Side-by-side
  • Inline
@@ -78,12 +78,17 @@ setup(const GridType& grid,
@@ -78,12 +78,17 @@ setup(const GridType& grid,
QuadraticIPOptSolver<MatrixType,CorrectionType> baseSolver;
QuadraticIPOptSolver<MatrixType,CorrectionType> baseSolver;
baseSolver.setSolverParameter(baseTolerance, 100, NumProc::QUIET);
baseSolver.setSolverParameter(baseTolerance, 100, NumProc::QUIET);
#else
#else
 
// First create a Gauss-seidel base solver
 
auto baseSolverStep = std::make_shared<TrustRegionGSStep<MatrixType, CorrectionType>>();
 
// Hack: the two-norm may not scale all that well, but it is fast!
// Hack: the two-norm may not scale all that well, but it is fast!
::LoopSolver<CorrectionType> baseSolver(TrustRegionGSStep<MatrixType, CorrectionType>{},
auto baseNorm = std::make_shared<TwoNorm<CorrectionType>>();
baseIterations,
baseTolerance,
auto baseSolver = std::make_shared<::LoopSolver<CorrectionType>>(baseSolverStep,
TwoNorm<CorrectionType>{},
baseIterations,
Solver::QUIET);
baseTolerance,
 
baseNorm,
 
Solver::QUIET);
#endif
#endif
#if HAVE_MPI
#if HAVE_MPI
// Transfer all Dirichlet data to the master processor
// Transfer all Dirichlet data to the master processor
Loading