mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
[bugfix][GridCommHandle] fix incorrect signature of overloaded interface
method causing segfault with >= DUNE 2.7.
This commit is contained in:
parent
1afaba329a
commit
f1b2fc2baf
@ -111,14 +111,14 @@ public:
|
||||
{
|
||||
}
|
||||
|
||||
bool contains(unsigned dim OPM_UNUSED, unsigned codim) const
|
||||
bool contains(int dim OPM_UNUSED, int codim) const
|
||||
{
|
||||
// return true if the codim is the same as the codim which we
|
||||
// are asked to communicate with.
|
||||
return codim == commCodim;
|
||||
}
|
||||
|
||||
bool fixedsize(unsigned dim OPM_UNUSED, unsigned codim OPM_UNUSED) const
|
||||
bool fixedsize(int dim OPM_UNUSED, int codim OPM_UNUSED) const
|
||||
{
|
||||
// for each DOF we communicate a single value which has a
|
||||
// fixed size
|
||||
@ -166,14 +166,14 @@ public:
|
||||
: mapper_(mapper), container_(container)
|
||||
{}
|
||||
|
||||
bool contains(unsigned dim OPM_UNUSED, unsigned codim) const
|
||||
bool contains(int dim OPM_UNUSED, int codim) const
|
||||
{
|
||||
// return true if the codim is the same as the codim which we
|
||||
// are asked to communicate with.
|
||||
return codim == commCodim;
|
||||
}
|
||||
|
||||
bool fixedsize(unsigned dim OPM_UNUSED, unsigned codim OPM_UNUSED) const
|
||||
bool fixedsize(int dim OPM_UNUSED, int codim OPM_UNUSED) const
|
||||
{
|
||||
// for each DOF we communicate a single value which has a
|
||||
// fixed size
|
||||
@ -223,14 +223,14 @@ public:
|
||||
: mapper_(mapper), container_(container)
|
||||
{}
|
||||
|
||||
bool contains(unsigned dim OPM_UNUSED, unsigned codim) const
|
||||
bool contains(int dim OPM_UNUSED, int codim) const
|
||||
{
|
||||
// return true if the codim is the same as the codim which we
|
||||
// are asked to communicate with.
|
||||
return codim == commCodim;
|
||||
}
|
||||
|
||||
bool fixedsize(unsigned dim OPM_UNUSED, unsigned codim OPM_UNUSED) const
|
||||
bool fixedsize(int dim OPM_UNUSED, int codim OPM_UNUSED) const
|
||||
{
|
||||
// for each DOF we communicate a single value which has a
|
||||
// fixed size
|
||||
|
Loading…
Reference in New Issue
Block a user