Warn about about long fault -name

This commit is contained in:
Markus Blatt 2022-06-27 12:37:54 +02:00
parent e14823c6d8
commit ebb8fc7aae

View File

@ -82,6 +82,14 @@ partiallySupported()
{2,{false, allow_values<std::string> {"TAB"}, "FOAMOPTS(FOAMOPT2): only the default option of TAB is supported value ignored"}}, // MODEL {2,{false, allow_values<std::string> {"TAB"}, "FOAMOPTS(FOAMOPT2): only the default option of TAB is supported value ignored"}}, // MODEL
}, },
}, },
{
"FAULTS",
{
{1, {false, [](const std::string& val){ return val.size()<=8;},
"FAULTS(FLTNAME): Only names of faults up to 8 characters are supported. Will ignore excess characters."
}
},},
},
{ {
"GCONINJE", "GCONINJE",
{ {
@ -123,6 +131,15 @@ partiallySupported()
{3,{false, allow_values<std::string> {"NONE"}, "MISCIBLE(MISOPT): only option NONE is supported value ignored"}}, // TWOPOINT {3,{false, allow_values<std::string> {"NONE"}, "MISCIBLE(MISOPT): only option NONE is supported value ignored"}}, // TWOPOINT
}, },
}, },
{
"MULTFLT",
{
{1, {false, [](const std::string& val){ return val.size()<=8;},
"MLTFLT(FLTNAME): Only names of faults up to 8 characters are supported. Will ignore excess characters."
}
},
},
},
{ {
"MULTIREG", "MULTIREG",
{ {
@ -198,6 +215,15 @@ partiallySupported()
{25,{false, allow_values<std::string> {}, "TABDIMS(RESVED): should be defaulted (1*) - ignored as not used"}}, // RESERVED {25,{false, allow_values<std::string> {}, "TABDIMS(RESVED): should be defaulted (1*) - ignored as not used"}}, // RESERVED
}, },
}, },
{
"THPRESFT",
{
{1, {false, [](const std::string& val){ return val.size()<=8;},
"THPRESFT(FLTNAME): Only names of faults up to 8 characters are supported. Will ignore excess characters."
}
},
},
},
{ {
"TRACER", "TRACER",
{ {