Opm::GridPropertyAccess::Details::EclipsePropertyArray< T > Struct Template Reference

#include <CompressedPropertyAccess.hpp>

Static Public Member Functions

template<class PropertyContainer >
static std::shared_ptr
< GridProperty< T > > 
value (PropertyContainer &ecl, const std::string &kw)
 

Detailed Description

template<typename T>
struct Opm::GridPropertyAccess::Details::EclipsePropertyArray< T >

Conditional retrieval of property values from an ECLIPSE input deck.

Supported for types int and double.

Template Parameters
TProperty element type.

Member Function Documentation

template<typename T >
template<class PropertyContainer >
std::shared_ptr< GridProperty< T > > Opm::GridPropertyAccess::Details::EclipsePropertyArray< T >::value ( PropertyContainer &  ecl,
const std::string &  kw 
)
static

Retrieve property values if present in container.

Template Parameters
PropertyContainerPointer type representing collection of (global) grid properties.
Parameters
[in]eclProperty container.
[in]kwECLIPSE property keyword.
Returns
Data values for property kw if present, an empty
shared_ptr<>
if not.

The documentation for this struct was generated from the following file: