Skip to content
Snippets Groups Projects

[parallel] specialize canCommunicate capability for UGGrid

Merged Bernd Flemisch requested to merge cherry-pick-b524acb3 into feature/restart-from-vtk
1 file
+ 20
0
Compare changes
  • Side-by-side
  • Inline
+ 20
0
@@ -34,6 +34,26 @@
#include <dumux/discretization/methods.hh>
// TODO: The following is a temporary solution to make the parallel AMG work
// for UGGrid. Once it is resolved upstream
// (https://gitlab.dune-project.org/core/dune-grid/issues/78),
// it should be guarded by a DUNE_VERSION macro and removed later.
#include <dune/grid/uggrid.hh>
namespace Dune {
namespace Capabilities {
#if HAVE_UG
template<int dim, int codim>
struct canCommunicate<UGGrid<dim>, codim>
{
static const bool v = true;
};
#endif
} // namespace Capabilities
} // namespace Dune
namespace Dumux {
//! The implementation is specialized for the different discretizations
Loading