Improve error message: WELLDIMS item 4 can be wells/groups

This commit is contained in:
Joakim Hove 2020-10-02 12:18:52 +02:00
parent b3050cfbf5
commit 1529509efb

View File

@ -142,7 +142,7 @@ namespace {
if (location) {
std::string fmt_message = fmt::format("Problem with keyword {{keyword}}\n"
"In {{file}} line {{line}}\n"
"The case has a maximum group size of {0} wells, the WELLDIMS keyword specifies {1}.\n"
"The case has a maximum group size of {0} wells/groups, the WELLDIMS keyword specifies {1}.\n"
"Please increase item 4 in WELLDIMS to at least {0}", size, wdims.maxWellsPerGroup());
ctxt.handleError(Opm::ParseContext::RUNSPEC_GROUPSIZE_TOO_LARGE,