diff --git a/dune/tectonic/myblockproblem.hh b/dune/tectonic/myblockproblem.hh index f3a6c50bd9c8a89b1de8810487227b0fce7b32fe..243fdd8e8afaa94599dcdd3163e29519d1069470 100644 --- a/dune/tectonic/myblockproblem.hh +++ b/dune/tectonic/myblockproblem.hh @@ -115,7 +115,7 @@ class MyBlockProblem<MyConvexProblemTypeTEMPLATE>::IterateObject { assert(localA != NULL); FunctionType f; - problem.newphi.restriction(m, f); + problem.phi.restriction(m, f); Dune::LocalNonlinearity<block_size> const phi(f); Dune::SampleFunctional<block_size> localJ(*localA, localb, phi, ignore_component); diff --git a/dune/tectonic/myconvexproblem.hh b/dune/tectonic/myconvexproblem.hh index 27de143f2353c4fd484ea63367d6e601aa002b80..588aa381594ea297035d920699ab4a49755ea4e4 100644 --- a/dune/tectonic/myconvexproblem.hh +++ b/dune/tectonic/myconvexproblem.hh @@ -29,12 +29,12 @@ class MyConvexProblem { \param u The solution vector */ MyConvexProblem(MatrixType const &A, - Dune::GlobalNonlinearity<block_size, FunctionType> &newphi, + Dune::GlobalNonlinearity<block_size, FunctionType> &phi, VectorType const &f, VectorType &u) - : A(A), newphi(newphi), f(f), u(u) {}; + : A(A), phi(phi), f(f), u(u) {}; MatrixType const &A; - Dune::GlobalNonlinearity<block_size, FunctionType> const &newphi; + Dune::GlobalNonlinearity<block_size, FunctionType> const φ VectorType const &f;