mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
WellState: add assertion on wells->name[].
This commit is contained in:
parent
14d7ce43a6
commit
50bf1d7e62
@ -63,6 +63,7 @@ namespace Opm
|
|||||||
|
|
||||||
// setup wellname -> well index mapping
|
// setup wellname -> well index mapping
|
||||||
{
|
{
|
||||||
|
assert( wells->name[ w ] );
|
||||||
std::string name( wells->name[ w ] );
|
std::string name( wells->name[ w ] );
|
||||||
assert( name.size() > 0 );
|
assert( name.size() > 0 );
|
||||||
mapentry_t& wellMapEntry = wellMap_[name];
|
mapentry_t& wellMapEntry = wellMap_[name];
|
||||||
|
Loading…
Reference in New Issue
Block a user