Skip to content
Snippets Groups Projects
Unverified Commit c408bf41 authored by René Fritze's avatar René Fritze
Browse files

[parallel] don't force parallel comms for incompatible gridviews

parent 3ce4b1c1
No related branches found
No related tags found
No related merge requests found
......@@ -85,7 +85,7 @@ public:
typedef typename BaseType::PatternType PatternType;
typedef typename BaseType::GridLayerType GridLayerType;
typedef typename BaseType::EntityType EntityType;
typedef DofCommunicationChooser<GridLayerType, true> DofCommunicationChooserType;
typedef DofCommunicationChooser<GridLayerType> DofCommunicationChooserType;
typedef typename DofCommunicationChooserType::Type DofCommunicatorType;
typedef XT::Grid::DD::SubdomainGrid<typename XT::Grid::extract_grid<GridLayerType>::type> DdSubdomainsGridType;
......
......@@ -83,7 +83,7 @@ public:
using RangeFieldType = R;
using BackendType = double;
static const constexpr XT::Grid::Backends layer_backend = XT::Grid::Backends::view;
typedef DofCommunicationChooser<GridLayerType, true> DofCommunicationChooserType;
typedef DofCommunicationChooser<GridLayerType> DofCommunicationChooserType;
typedef typename DofCommunicationChooserType::Type DofCommunicatorType;
}; // class ContinuousLagrangeSpaceTraits
......
......@@ -83,7 +83,7 @@ public:
BaseFunctionSetType;
static const XT::Grid::Backends layer_backend = XT::Grid::Backends::part;
static const bool needs_grid_view = false;
typedef DofCommunicationChooser<GridLayerType, true> DofCommunicationChooserType;
typedef DofCommunicationChooser<GridLayerType> DofCommunicationChooserType;
typedef typename DofCommunicationChooserType::Type DofCommunicatorType;
}; // class DuneFemCgSpaceWrapperTraits
......@@ -184,7 +184,6 @@ public:
DofCommunicatorType& dof_communicator() const
{
if (!communicator_prepared_) {
// communicator_->remoteIndices().template rebuild<true>();
communicator_prepared_ = DofCommunicationChooserType::prepare(*this, *communicator_);
}
return *communicator_;
......
......@@ -83,7 +83,7 @@ public:
BaseFunctionSetType;
static const XT::Grid::Backends layer_backend = XT::Grid::Backends::part;
static const bool needs_grid_view = false;
typedef DofCommunicationChooser<GridLayerType, true> DofCommunicationChooserType;
typedef DofCommunicationChooser<GridLayerType> DofCommunicationChooserType;
typedef typename DofCommunicationChooserType::Type DofCommunicatorType;
}; // class DuneFemDgSpaceWrapperTraits
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment