Skip to content
Snippets Groups Projects
Commit 23d27bb9 authored by Sander, Oliver's avatar Sander, Oliver
Browse files

Adapt to recent changes in dune-functions

parent 6ac8360b
No related branches found
No related tags found
No related merge requests found
......@@ -96,8 +96,8 @@ getMatrixPattern(Dune::MatrixIndexSet& nb00,
nb11.resize(basis1_.indexSet().size(), basis1_.indexSet().size());
// A view on the FE basis on a single element
typename Basis0::LocalView localView0(&basis0_);
typename Basis1::LocalView localView1(&basis1_);
auto localView0 = basis0_.localView();
auto localView1 = basis1_.localView();
auto localIndexSet0 = basis0_.indexSet().localIndexSet();
auto localIndexSet1 = basis1_.indexSet().localIndexSet();
......@@ -188,8 +188,8 @@ assembleGradientAndHessian(const std::vector<TargetSpace0>& configuration0,
gradient1 = 0;
// A view on the FE basis on a single element
typename Basis0::LocalView localView0(&basis0_);
typename Basis1::LocalView localView1(&basis1_);
auto localView0 = basis0_.localView();
auto localView1 = basis1_.localView();
auto localIndexSet0 = basis0_.indexSet().localIndexSet();
auto localIndexSet1 = basis1_.indexSet().localIndexSet();
......@@ -322,8 +322,8 @@ computeEnergy(const std::vector<TargetSpace0>& configuration0,
DUNE_THROW(Dune::Exception, "Configuration vector 1 doesn't match the basis!");
// A view on the FE basis on a single element
typename Basis0::LocalView localView0(&basis0_);
typename Basis1::LocalView localView1(&basis1_);
auto localView0 = basis0_.localView();
auto localView1 = basis1_.localView();
auto localIndexSet0 = basis0_.indexSet().localIndexSet();
auto localIndexSet1 = basis1_.indexSet().localIndexSet();
......
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