Opm::ECLRegionMapping Class Reference
Detailed DescriptionMapping of region IDs to subsets of explicit cell ID collection. The typical client code is use(regID, subset[ix]);
}
}
ECLRegionMapping(const std::vector< int > ®ion, const std::vector< int > ®Subset=std::vector< int >()) std::vector< typename std::result_of< F(typename C::const_iterator::value_type &) >::type > map(F f, const C &src) Definition: Functional.hpp:84 Member Typedef Documentation◆ IndexView
Convenience alias to simplify declaring return type of member function IndexView getRegionIndices(const int region) const . Constructor & Destructor Documentation◆ ECLRegionMapping()
Constructor.
If empty or defaulted, [ 0 .. region.size() - 1]
. The common use case for this is working on the entire set of active cells implied by the region ID vector. The typical use case of an explicit region subset is when sampling PVT or saturation function curves for graphical representation. Member Function Documentation◆ activeRegions()
Retrieve sorted list of unique region IDs in the subset defined by { region[i] }_{i \in regionSubset()}
const std::vector< int > & regionSubset() const . ◆ getRegionIndices()
Retrive linear indices into that correspond to particular region ID.
◆ regionSubset()
Retrieve index subset. Identical to constructor argument [ 0 .. region.size()-1 ]
. The documentation for this class was generated from the following file: |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||