Commit d77200c6 authored by Timo Koch's avatar Timo Koch
Browse files

[fix][box] Throw error if someone tries to run box in parallel with overlap

parent f6db0080
...@@ -389,9 +389,9 @@ public: ...@@ -389,9 +389,9 @@ public:
: ParentType(gridView) : ParentType(gridView)
{ {
// Check if the overlap size is what we expect // Check if the overlap size is what we expect
// if (!CheckOverlapSize<DiscretizationMethod::box>::isValid(gridView)) if (!CheckOverlapSize<DiscretizationMethod::box>::isValid(gridView))
// DUNE_THROW(Dune::InvalidStateException, "The box discretization method only works with zero overlap for parallel computations. " DUNE_THROW(Dune::InvalidStateException, "The box discretization method only works with zero overlap for parallel computations. "
// << " Set the parameter \"Grid.Overlap\" in the input file."); << " Set the parameter \"Grid.Overlap\" in the input file.");
} }
//! the vertex mapper is the dofMapper //! the vertex mapper is the dofMapper
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment