mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Use new function FixedSize for DataHandles with DUNE 2.8.
The lower case version is deprecated now and will be removed.
This commit is contained in:
@@ -58,7 +58,11 @@ public:
|
|||||||
return codim == commCodim;
|
return codim == commCodim;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if DUNE_VERSION_LT(DUNE_GRID, 2, 8)
|
||||||
bool fixedsize(int, int) const
|
bool fixedsize(int, int) const
|
||||||
|
#else
|
||||||
|
bool fixedSize(int, int) const
|
||||||
|
#endif
|
||||||
{
|
{
|
||||||
// for each DOF we communicate a single value which has a
|
// for each DOF we communicate a single value which has a
|
||||||
// fixed size
|
// fixed size
|
||||||
@@ -118,7 +122,11 @@ public:
|
|||||||
return codim == commCodim;
|
return codim == commCodim;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if DUNE_VERSION_LT(DUNE_GRID, 2, 8)
|
||||||
bool fixedsize(int, int) const
|
bool fixedsize(int, int) const
|
||||||
|
#else
|
||||||
|
bool fixedSize(int, int) const
|
||||||
|
#endif
|
||||||
{
|
{
|
||||||
// for each DOF we communicate a single value which has a
|
// for each DOF we communicate a single value which has a
|
||||||
// fixed size
|
// fixed size
|
||||||
@@ -173,7 +181,11 @@ public:
|
|||||||
return codim == commCodim;
|
return codim == commCodim;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if DUNE_VERSION_LT(DUNE_GRID, 2, 8)
|
||||||
bool fixedsize(int, int) const
|
bool fixedsize(int, int) const
|
||||||
|
#else
|
||||||
|
bool fixedSize(int, int) const
|
||||||
|
#endif
|
||||||
{
|
{
|
||||||
// for each DOF we communicate a single value which has a
|
// for each DOF we communicate a single value which has a
|
||||||
// fixed size
|
// fixed size
|
||||||
@@ -230,7 +242,11 @@ public:
|
|||||||
return codim == commCodim;
|
return codim == commCodim;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if DUNE_VERSION_LT(DUNE_GRID, 2, 8)
|
||||||
bool fixedsize(int, int) const
|
bool fixedsize(int, int) const
|
||||||
|
#else
|
||||||
|
bool fixedSize(int, int) const
|
||||||
|
#endif
|
||||||
{
|
{
|
||||||
// for each DOF we communicate a single value which has a
|
// for each DOF we communicate a single value which has a
|
||||||
// fixed size
|
// fixed size
|
||||||
|
|||||||
@@ -84,7 +84,11 @@ class ElementBorderListFromGrid
|
|||||||
bool contains(int, int codim) const
|
bool contains(int, int codim) const
|
||||||
{ return codim == 0; }
|
{ return codim == 0; }
|
||||||
|
|
||||||
|
#if DUNE_VERSION_LT(DUNE_GRID, 2, 8)
|
||||||
bool fixedsize(int, int) const
|
bool fixedsize(int, int) const
|
||||||
|
#else
|
||||||
|
bool fixedSize(int, int) const
|
||||||
|
#endif
|
||||||
{ return true; }
|
{ return true; }
|
||||||
|
|
||||||
template <class EntityType>
|
template <class EntityType>
|
||||||
@@ -174,7 +178,11 @@ class ElementBorderListFromGrid
|
|||||||
bool contains(int, int codim) const
|
bool contains(int, int codim) const
|
||||||
{ return codim == 0; }
|
{ return codim == 0; }
|
||||||
|
|
||||||
|
#if DUNE_VERSION_LT(DUNE_GRID, 2, 8)
|
||||||
bool fixedsize(int, int) const
|
bool fixedsize(int, int) const
|
||||||
|
#else
|
||||||
|
bool fixedSize(int, int) const
|
||||||
|
#endif
|
||||||
{ return true; }
|
{ return true; }
|
||||||
|
|
||||||
template <class EntityType>
|
template <class EntityType>
|
||||||
|
|||||||
@@ -83,7 +83,11 @@ public:
|
|||||||
bool contains(int dim, int codim) const
|
bool contains(int dim, int codim) const
|
||||||
{ return dim == codim; }
|
{ return dim == codim; }
|
||||||
|
|
||||||
|
#if DUNE_VERSION_LT(DUNE_GRID, 2, 8)
|
||||||
bool fixedsize(int, int) const
|
bool fixedsize(int, int) const
|
||||||
|
#else
|
||||||
|
bool fixedSize(int, int) const
|
||||||
|
#endif
|
||||||
{ return true; }
|
{ return true; }
|
||||||
|
|
||||||
template <class EntityType>
|
template <class EntityType>
|
||||||
|
|||||||
Reference in New Issue
Block a user