Opm::GridPropertyAccess::ArrayPolicy::ExtractFromDeck< T > Class Template Reference
Detailed Descriptiontemplate<typename T>
|
T | Array element type. Must be int or double . |
typedef std::size_t Opm::GridPropertyAccess::ArrayPolicy::ExtractFromDeck< T >::size_type |
Index type for accessing data array.
typedef T Opm::GridPropertyAccess::ArrayPolicy::ExtractFromDeck< T >::value_type |
Publicly accessible data array element type.
|
inline |
Constructor.
PropertyContainer | Pointer type representing collection of (global) grid properties. Typically EclipseStatePtr or EclipseStateConstPtr . Must implement methods hasIntGridProperty and getIntGridProperty if T is int , or hasDoubleGridProperty and getDoubleGridProperty if T is double . |
[in] | ecl | Property container. |
[in] | kw | ECLIPSE keyword from which to extract data array. |
[in] | dlft | Default/fall-back data array value if kw is not defined. |
|
inline |
Read-only data array access.
[in] | i | Array index. Assumed to identify a global (uncompressed) cell. |
i
if present in input or user specified fall-back value if not.