Skip to content
Snippets Groups Projects
Commit fe4723fa authored by Robert Kloefkorn's avatar Robert Kloefkorn
Browse files

the dg pass does not need communication if the discrete model has no flux.

parent cbac60a4
No related branches found
No related tags found
No related merge requests found
......@@ -341,6 +341,9 @@ namespace Dune {
return numberOfElements_;
}
//! this pass needs communication only when hasFlux on discrete model is true
bool requireCommunication () const { return discreteModel_.hasFlux(); }
protected:
struct DefaultNBChecker
{
......
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