mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Added warning about memory/performance for large number of equil regions.
This commit is contained in:
parent
a6809c84f3
commit
c2d1236cff
@ -133,6 +133,14 @@ finishInit()
|
|||||||
maxRegions)));
|
maxRegions)));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (numEquilRegions_ > 2048) {
|
||||||
|
// warn about performance
|
||||||
|
OpmLog::warning(fmt::format("Number of equil regions is {}. This larger "
|
||||||
|
"than 2048. Note, that this might "
|
||||||
|
"might have a negative impact on performance "
|
||||||
|
"and memory consumption", numEquilRegions_));
|
||||||
|
}
|
||||||
|
|
||||||
// internalize the data specified using the EQLNUM keyword
|
// internalize the data specified using the EQLNUM keyword
|
||||||
const auto& fp = eclState_.fieldProps();
|
const auto& fp = eclState_.fieldProps();
|
||||||
const auto& equilRegionData = fp.get_int("EQLNUM");
|
const auto& equilRegionData = fp.get_int("EQLNUM");
|
||||||
|
Loading…
Reference in New Issue
Block a user