Make Derivation of Enumerated Well Items Public

We need this ability to handle segment level UDQ ASSIGN statements
too, so give the operation a well defined home and call it where
applicable.
This commit is contained in:
Bård Skaflestad
2023-01-31 19:04:29 +01:00
parent 72519e3e1f
commit cf9b66d8ec
4 changed files with 29 additions and 36 deletions

View File

@@ -29,6 +29,10 @@
#include <unordered_map>
#include <vector>
namespace Opm {
class SegmentSet;
} // namespace Opm
namespace Opm {
class UDQScalar
@@ -197,6 +201,9 @@ public:
}
};
static std::vector<EnumeratedWellItems>
getSegmentItems(const SegmentSet& segmentSet);
/// Construct empty, named UDQ set of specific variable type
///
/// \param[in] name UDQ set name