24#ifndef DUMUX_DISCRETIZATION_CHECK_OVERLAP_SIZE_HH
25#define DUMUX_DISCRETIZATION_CHECK_OVERLAP_SIZE_HH
38template<
class DiscretizationMethod>
41 template<
class Gr
idView>
42 static bool isValid(
const GridView& gridView)
noexcept
43 {
return gridView.comm().size() <= 1 || gridView.overlapSize(0) + gridView.ghostSize(0) > 0; }
50 template<
class Gr
idView>
51 static bool isValid(
const GridView& gridView)
noexcept
52 {
return gridView.comm().size() <= 1 || gridView.overlapSize(0) == 0; }
60 template<
class FEBasis>
61 static bool isValid(
const FEBasis& feBasis)
noexcept
62 {
return feBasis.gridView().comm().size() <= 1 || feBasis.gridView().overlapSize(0) == 0; }
69 template<
class Gr
idView>
70 static bool isValid(
const GridView& gridView)
noexcept
71 {
return gridView.comm().size() <= 1 || gridView.overlapSize(0) == 1; }
The available discretization methods in Dumux.
Adaption of the non-isothermal two-phase two-component flow model to problems with CO2.
Definition: adapt.hh:29
CVFE< CVFEMethods::PQ1 > Box
Definition: method.hh:83
Check if the overlap size is valid for a given discretization method.
Definition: checkoverlapsize.hh:40
static bool isValid(const GridView &gridView) noexcept
Definition: checkoverlapsize.hh:42
static bool isValid(const GridView &gridView) noexcept
Definition: checkoverlapsize.hh:51
static bool isValid(const FEBasis &feBasis) noexcept
Definition: checkoverlapsize.hh:61
static bool isValid(const GridView &gridView) noexcept
Definition: checkoverlapsize.hh:70