12#ifndef DUMUX_DISCRETIZATION_CHECK_OVERLAP_SIZE_HH
13#define DUMUX_DISCRETIZATION_CHECK_OVERLAP_SIZE_HH
26template<
class DiscretizationMethod>
29 template<
class Gr
idView>
30 static bool isValid(
const GridView& gridView)
noexcept
31 {
return gridView.comm().size() <= 1 || gridView.overlapSize(0) + gridView.ghostSize(0) > 0; }
38 template<
class Gr
idView>
39 static bool isValid(
const GridView& gridView)
noexcept
40 {
return gridView.comm().size() <= 1 || gridView.overlapSize(0) == 0; }
48 template<
class FEBasis>
49 static bool isValid(
const FEBasis& feBasis)
noexcept
50 {
return feBasis.gridView().comm().size() <= 1 || feBasis.gridView().overlapSize(0) == 0; }
57 template<
class Gr
idView>
58 static bool isValid(
const GridView& gridView)
noexcept
59 {
return gridView.comm().size() <= 1 || gridView.overlapSize(0) == 1; }
The available discretization methods in Dumux.
CVFE< CVFEMethods::PQ1 > Box
Definition: method.hh:94
static bool isValid(const GridView &gridView) noexcept
Definition: checkoverlapsize.hh:39
static bool isValid(const GridView &gridView) noexcept
Definition: checkoverlapsize.hh:58
static bool isValid(const FEBasis &feBasis) noexcept
Definition: checkoverlapsize.hh:49
Check if the overlap size is valid for a given discretization method.
Definition: checkoverlapsize.hh:28
static bool isValid(const GridView &gridView) noexcept
Definition: checkoverlapsize.hh:30