Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
1 merge request!73Restricted integration to interior elements
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
#include <type_traits> #include <type_traits>
#include <dune/geometry/quadraturerules.hh> #include <dune/geometry/quadraturerules.hh>
#include <dune/grid/common/partitionset.hh>
#include <amdis/GridFunctions.hpp> #include <amdis/GridFunctions.hpp>
namespace AMDiS namespace AMDiS
...@@ -17,7 +18,7 @@ namespace AMDiS ...@@ -17,7 +18,7 @@ namespace AMDiS
using Range = typename GridFct::Range; using Range = typename GridFct::Range;
Range result(0); Range result(0);
for (auto const& element : elements(gridView)) { for (auto const& element : elements(gridView, Dune::Partitions::interior)) {
auto geometry = element.geometry(); auto geometry = element.geometry();
localFct.bind(element); localFct.bind(element);
......
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