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