Commit 0dc9abf9 authored by lh1887's avatar lh1887

Remove redundant (and unused) local view

The outer trial view is never used.
The trial basis on the outer element will be considered when the now "outer" element is
the "inner" element in the loop, so no information is lost.
parent 821702ee
Pipeline #17432 passed with stage
in 62 minutes and 24 seconds
......@@ -71,8 +71,6 @@ public:
auto insideAnsatzLocalView = ansatzBasis_.localView();
auto outsideTrialLocalView = trialBasis_.localView();
auto outsideAnsatzLocalView = ansatzBasis_.localView();
for (const auto& element : elements(trialBasis_.gridView()))
......@@ -99,8 +97,6 @@ public:
const auto& outsideElement = is.outside();
// Bind the outer parts to the outer element
outsideTrialLocalView.bind(outsideElement);
outsideAnsatzLocalView.bind(outsideElement);
// We assume that all basis functions of the inner element couple with all basis functions from the outer one
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment