Skip to content
Snippets Groups Projects
Commit 2f32d396 authored by Müller, Felix's avatar Müller, Felix
Browse files

Restricted integration to interior elements

parent 65242abd
No related branches found
No related tags found
1 merge request!73Restricted integration to interior elements
......@@ -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);
......
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