Skip to content
Snippets Groups Projects

Restricted integration to interior elements

Merged Müller, Felix requested to merge issue/integrate_avoid_duplicates into master
1 file
+ 2
1
Compare changes
  • Side-by-side
  • Inline
+ 2
1
@@ -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);
Loading