diff --git a/src/rodsolver.cc b/src/rodsolver.cc index 457847b664d7ec3739995584f682dea8e1e394fc..5ecd5f8420640ef206d95043a9c3b2944f81df8f 100644 --- a/src/rodsolver.cc +++ b/src/rodsolver.cc @@ -7,12 +7,12 @@ #include <dune/disc/operators/p1operator.hh> #include <dune/ag-common/trustregiongsstep.hh> -#include <dune/ag-common/solver/mmgstep.hh> +#include <dune/ag-common/solvers/mmgstep.hh> #include <dune/ag-common/contactobsrestrict.hh> #include <dune/ag-common/iterativesolver.hh> -#include <dune/ag-common/norm/energynorm.hh> -#include <dune/ag-common/norm/h1seminorm.hh> +#include <dune/ag-common/norms/energynorm.hh> +#include <dune/ag-common/norms/h1seminorm.hh> #include "configuration.hh" #include "quaternion.hh" @@ -277,7 +277,7 @@ void RodSolver<GridType>::solve() // Write statistics of the initial solution // Compute the energy norm - oldError = h1SemiNorm_->compute(exactSolution); + oldError = h1SemiNorm_->operator()(exactSolution); for (int j=0; j<multigridIterations_; j++) { @@ -303,7 +303,7 @@ void RodSolver<GridType>::solve() //std::cout << "error\n" << intermediateSol << std::endl; // Compute the H1 norm - double error = h1SemiNorm_->compute(intermediateSol); + double error = h1SemiNorm_->operator()(intermediateSol); convRate = error / oldError; totalConvRate *= convRate; diff --git a/src/rodsolver.hh b/src/rodsolver.hh index 06788d47ecda7aa3dc7b3d109fcfd84decdc8a54..4850ac68f838df0a24ed65079df1688c97f3eeba 100644 --- a/src/rodsolver.hh +++ b/src/rodsolver.hh @@ -7,7 +7,7 @@ #include <dune/istl/bvector.hh> #include <dune/ag-common/boxconstraint.hh> -#include <dune/ag-common/norm/h1seminorm.hh> +#include <dune/ag-common/norms/h1seminorm.hh> #include <dune/ag-common/iterativesolver.hh> #include "rodassembler.hh"