opm-simulators/opm
Bård Skaflestad 03ac2cbd93 Add Property Tree Array Retrieval Mechanism
This commit adds a new member function

    template <typename T>
    std::optional<std::vector<T>>
    get_child_items_as_vector(const std::string& child) const;

which retrieves an array-type property value from a property tree.
Initially defined for 'int' and 'double', but could be extended to
'std::string', 'float', or other element types as needed.
2025-01-29 15:15:49 +01:00
..
models Merge pull request #5910 from atgeirr/fix-compile-error-and-warnings 2025-01-23 12:42:27 +01:00
simulators Add Property Tree Array Retrieval Mechanism 2025-01-29 15:15:49 +01:00