mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-16 20:24:48 -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:
parent
7fb622bba6
commit
1c203cd504
@ -58,7 +58,11 @@ public:
|
||||
return codim == commCodim;
|
||||
}
|
||||
|
||||
#if DUNE_VERSION_LT(DUNE_GRID, 2, 8)
|
||||
bool fixedsize(int, int) const
|
||||
#else
|
||||
bool fixedSize(int, int) const
|
||||
#endif
|
||||
{
|
||||
// for each DOF we communicate a single value which has a
|
||||
// fixed size
|
||||
@ -118,7 +122,11 @@ public:
|
||||
return codim == commCodim;
|
||||
}
|
||||
|
||||
#if DUNE_VERSION_LT(DUNE_GRID, 2, 8)
|
||||
bool fixedsize(int, int) const
|
||||
#else
|
||||
bool fixedSize(int, int) const
|
||||
#endif
|
||||
{
|
||||
// for each DOF we communicate a single value which has a
|
||||
// fixed size
|
||||
@ -173,7 +181,11 @@ public:
|
||||
return codim == commCodim;
|
||||
}
|
||||
|
||||
#if DUNE_VERSION_LT(DUNE_GRID, 2, 8)
|
||||
bool fixedsize(int, int) const
|
||||
#else
|
||||
bool fixedSize(int, int) const
|
||||
#endif
|
||||
{
|
||||
// for each DOF we communicate a single value which has a
|
||||
// fixed size
|
||||
@ -230,7 +242,11 @@ public:
|
||||
return codim == commCodim;
|
||||
}
|
||||
|
||||
#if DUNE_VERSION_LT(DUNE_GRID, 2, 8)
|
||||
bool fixedsize(int, int) const
|
||||
#else
|
||||
bool fixedSize(int, int) const
|
||||
#endif
|
||||
{
|
||||
// for each DOF we communicate a single value which has a
|
||||
// fixed size
|
||||
|
@ -84,7 +84,11 @@ class ElementBorderListFromGrid
|
||||
bool contains(int, int codim) const
|
||||
{ return codim == 0; }
|
||||
|
||||
#if DUNE_VERSION_LT(DUNE_GRID, 2, 8)
|
||||
bool fixedsize(int, int) const
|
||||
#else
|
||||
bool fixedSize(int, int) const
|
||||
#endif
|
||||
{ return true; }
|
||||
|
||||
template <class EntityType>
|
||||
@ -174,7 +178,11 @@ class ElementBorderListFromGrid
|
||||
bool contains(int, int codim) const
|
||||
{ return codim == 0; }
|
||||
|
||||
#if DUNE_VERSION_LT(DUNE_GRID, 2, 8)
|
||||
bool fixedsize(int, int) const
|
||||
#else
|
||||
bool fixedSize(int, int) const
|
||||
#endif
|
||||
{ return true; }
|
||||
|
||||
template <class EntityType>
|
||||
|
@ -83,7 +83,11 @@ public:
|
||||
bool contains(int dim, int codim) const
|
||||
{ return dim == codim; }
|
||||
|
||||
#if DUNE_VERSION_LT(DUNE_GRID, 2, 8)
|
||||
bool fixedsize(int, int) const
|
||||
#else
|
||||
bool fixedSize(int, int) const
|
||||
#endif
|
||||
{ return true; }
|
||||
|
||||
template <class EntityType>
|
||||
|
Loading…
Reference in New Issue
Block a user