Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
amdis
amdis-core
Commits
b7dedafe
Commit
b7dedafe
authored
Aug 21, 2019
by
Praetorius, Simon
Browse files
Merge branch 'issue/integrate_avoid_duplicates' into 'master'
Restricted integration to interior elements See merge request
!73
parents
1d769d20
2f32d396
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/amdis/Integrate.hpp
View file @
b7dedafe
...
...
@@ -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
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment