Skip to content
Snippets Groups Projects
Commit 08c99523 authored by oliver.sander_at_tu-dresden.de's avatar oliver.sander_at_tu-dresden.de
Browse files

Fix compilation without dune-parmg

parent 49c09492
No related branches found
No related tags found
No related merge requests found
Pipeline #18261 failed
......@@ -248,11 +248,11 @@ void TrustRegionSolver<BasisType,VectorType>::solve()
BasisType basis(grid_->levelGridView(grid_->maxLevel()));
BasisType coarseBasis(grid_->levelGridView(0));
std::vector<BoxConstraint<typename VectorType::field_type, blocksize>> coarseTrustRegionObstacles(coarseBasis.size());
MaxNormTrustRegion<blocksize> trustRegion(basis.size(), initialTrustRegionRadius_);
int numLevels = grid_->maxLevel()+1;
auto& levelOp = mgSetup_->levelOps_;
#endif
MaxNormTrustRegion<blocksize> trustRegion(basis.size(), initialTrustRegionRadius_);
std::vector<BoxConstraint<field_type,blocksize> > trustRegionObstacles;
......
......@@ -21,6 +21,7 @@
#include <dune/elasticity/assemblers/feassembler.hh>
#if HAVE_DUNE_PARMG
#include <dune/parmg/iterationstep/lambdastep.hh>
#include <dune/parmg/iterationstep/multigrid.hh>
#include <dune/parmg/parallel/dofmap.hh>
......@@ -31,7 +32,7 @@
#include <dune/parmg/parallel/parallelenergyfunctional.hh>
#include <dune/parmg/parallel/parallelenergynorm.hh>
#include <dune/parmg/parallel/restrictmatrix.hh>
#endif
/** \brief Trust-region solver */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment