template<class DataArray, class PropertyTag = Tag::Any>
class Opm::GridPropertyAccess::Compressed< DataArray, PropertyTag >
Provide compressed (active cell) read-only access to globally defined data array.
- Template Parameters
-
DataArray | Type representing an array of data values, one value for each global (uncompressed) cell in a model. Must implement value semantics. Typically one of the array policies of name space ArrayPolicy . Must provide public type value_type to infer the data element type and to access the property value of the i'th global cell. |
PropertyTag | Type tag that can be used to restrict applicability of the resulting Compressed array, e.g., to enforce net-to-gross ratios only. Default: No restriction. |