Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for GRUPMAST #5437

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions opm/simulators/utils/PartiallySupportedFlowKeywords.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,13 @@ partiallySupported()
{5,{true, allow_values<std::string> {"F"}, "SPECGRID(TYPE): only option F (Cartesian grids supported) supported"}}, // COORD_TYPE
},
},
{
"SLAVES",
{
{1,{true, [](const std::string& val){ return val.size()<=8;}, "SLAVES(SLAVE_RESERVOIR): Only names of slave reservoirs of up to 8 characters are supported."}},
{3,{true, allow_values<std::string> {}, "SLAVES(HOST_NAME): should be defaulted. A specific host name is not implemented yet"}}, // HOST_NAME
},
},
{
"TABDIMS",
{
Expand Down Expand Up @@ -455,6 +462,12 @@ partiallySupported()
{9,{false, allow_values<int> {0}, "REGDIMS(NWKIREG): should be equal to 0 - value ignored"}}, // MAX_OPERATE_IWORK
},
},
{
"SLAVES",
{
{5,{true, [](int x) { return x >= 1; }, "SLAVES(NUM_PE): only values greater than or equal to 1 are supported"}}, // NUM_PE
},
},
{
"SPECGRID",
{
Expand Down
2 changes: 0 additions & 2 deletions opm/simulators/utils/UnsupportedFlowKeywords.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,6 @@ const KeywordValidation::UnsupportedKeywords& unsupportedKeywords()
{"GRAVDRB", {true, std::nullopt}},
{"GRAVDRM", {true, std::nullopt}},
{"GRDREACH", {true, std::nullopt}},
{"GRUPMAST", {true, std::nullopt}},
{"GRUPRIG", {true, std::nullopt}},
{"GRUPSLAV", {true, std::nullopt}},
{"GRUPTARG", {true, std::nullopt}},
Expand Down Expand Up @@ -570,7 +569,6 @@ const KeywordValidation::UnsupportedKeywords& unsupportedKeywords()
{"SKRORW", {true, std::nullopt}},
{"SKRW", {true, std::nullopt}},
{"SKRWR", {true, std::nullopt}},
{"SLAVES", {true, std::nullopt}},
{"SMULTX", {true, std::nullopt}},
{"SMULTY", {true, std::nullopt}},
{"SMULTZ", {true, std::nullopt}},
Expand Down