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
2f32d396
Commit
2f32d396
authored
Jun 14, 2019
by
Müller, Felix
Browse files
Restricted integration to interior elements
parent
65242abd
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/amdis/Integrate.hpp
View file @
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
);
...
...
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