Commit b7dedafe authored by Praetorius, Simon's avatar Praetorius, Simon
Browse files

Merge branch 'issue/integrate_avoid_duplicates' into 'master'

Restricted integration to interior elements

See merge request !73
parents 1d769d20 2f32d396
......@@ -2,6 +2,7 @@
#include <type_traits>
#include <dune/geometry/quadraturerules.hh>
#include <dune/grid/common/partitionset.hh>
#include <amdis/GridFunctions.hpp>
namespace AMDiS
......@@ -17,7 +18,7 @@ namespace AMDiS
using Range = typename GridFct::Range;
Range result(0);
for (auto const& element : elements(gridView)) {
for (auto const& element : elements(gridView, Dune::Partitions::interior)) {
auto geometry = element.geometry();
localFct.bind(element);
......
Supports Markdown
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