mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-24 00:10:02 -06:00
Improved messages about equilibration regions.
This commit is contained in:
parent
c2d1236cff
commit
6496e871ed
@ -129,16 +129,17 @@ finishInit()
|
|||||||
// in the vector
|
// in the vector
|
||||||
OPM_THROW(std::invalid_argument,
|
OPM_THROW(std::invalid_argument,
|
||||||
(fmt::format("The maximum number of supported "
|
(fmt::format("The maximum number of supported "
|
||||||
"equilibration regions by OPM flow is {}!",
|
"equilibration regions by OPM flow is {}, but "
|
||||||
maxRegions)));
|
"{} are used!",
|
||||||
|
maxRegions, numEquilRegions_)));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (numEquilRegions_ > 2048) {
|
if (numEquilRegions_ > 2048) {
|
||||||
// warn about performance
|
// warn about performance
|
||||||
OpmLog::warning(fmt::format("Number of equil regions is {}. This larger "
|
OpmLog::warning(fmt::format("Number of equilibration regions is {}, which is "
|
||||||
"than 2048. Note, that this might "
|
"rather large. Note, that this might "
|
||||||
"might have a negative impact on performance "
|
"have a negative impact on performance "
|
||||||
"and memory consumption", numEquilRegions_));
|
"and memory consumption.", numEquilRegions_));
|
||||||
}
|
}
|
||||||
|
|
||||||
// internalize the data specified using the EQLNUM keyword
|
// internalize the data specified using the EQLNUM keyword
|
||||||
|
Loading…
Reference in New Issue
Block a user