Hi Birger,
great news!

Is it possible to use an iterator which runs over all elements only once also in parallel?

Yes, that's definitely possible. You have to check for
every element whether is of ghost type.
With the new free functions, you can use the PartitionSet
elements and substract the ghosts from it, see
https://www.dune-project.org/doxygen/master/group__GIIteration.html#ga163b69ed0f5787171662b67ee84af991
and
https://www.dune-project.org/doxygen/master/namespaceDune_1_1Partitions.html#abd215a904d448bcc2525f579c2d445b8

By the way, this is more related to Dune than to DuMuX.
Asking at their mailing list might lead to better answers.

Bye
Christoph

--
On the one hand [computer "science"] has components
of the purest of mathematics and on the other hand
of the dirtiest of engineering. -- A. Oettinger 1967
_______________________________________________
Dumux mailing list
[email protected]
https://listserv.uni-stuttgart.de/mailman/listinfo/dumux

Reply via email to