Add support for SLAVES keyword

This commit is contained in:
Håkon Hægland 2024-06-20 22:52:33 +02:00
parent a373fc004e
commit 71612e72e5
2 changed files with 13 additions and 1 deletions

View File

@ -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",
{
@ -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",
{

View File

@ -570,7 +570,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}},