All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Pages
CompressedPropertyAccess.hpp File Reference

Facility for accessing active subset of data arrays defined for all global cells. More...

#include <opm/parser/eclipse/EclipseState/Grid/GridProperty.hpp>
#include <cassert>
#include <cstddef>
#include <memory>
#include <string>
#include <vector>

Go to the source code of this file.

Classes

struct  Opm::GridPropertyAccess::Details::EclPropImpl::HasProperty< T >
 Property existence predicate. More...
 
struct  Opm::GridPropertyAccess::Details::EclPropImpl::GetProperty< T >
 Property value retrieval. More...
 
struct  Opm::GridPropertyAccess::Details::EclPropImpl::HasProperty< int >
 Specialization of property existence predicate for type int. More...
 
struct  Opm::GridPropertyAccess::Details::EclPropImpl::HasProperty< double >
 Specialization of property existence predicate for type double. More...
 
struct  Opm::GridPropertyAccess::Details::EclPropImpl::GetProperty< int >
 Specialization of property value retrieval for type int. More...
 
struct  Opm::GridPropertyAccess::Details::EclPropImpl::GetProperty< double >
 Specialization of property value retrieval for type double. More...
 
struct  Opm::GridPropertyAccess::Details::EclipsePropertyArray< T >
 Conditional retrieval of property values from an ECLIPSE input deck. More...
 
class  Opm::GridPropertyAccess::ArrayPolicy::ExtractFromDeck< T >
 Data array policy that extracts the array values from an ECLIPSE input deck or returns a user specified default value if the data vector is not present in a particular input deck. More...
 
class  Opm::GridPropertyAccess::ArrayPolicy::Constant< T >
 Data array policy that returns a single, constant user specified value for every global cell. More...
 
struct  Opm::GridPropertyAccess::Tag::Any
 Default tag that implies no restriction. More...
 
struct  Opm::GridPropertyAccess::Tag::NTG
 Tag that restricts usage to NTG (net-to-gross) contexts. More...
 
class  Opm::GridPropertyAccess::Compressed< DataArray, PropertyTag >
 Provide compressed (active cell) read-only access to globally defined data array. More...
 

Namespaces

 Opm::GridPropertyAccess
 Nested name-space that serves no other purpose than to contextualise Compressed class name.
 
 Opm::GridPropertyAccess::Details
 Glue code for interacting with ECLIPSE input decks as defined by module opm-parser.
 
 Opm::GridPropertyAccess::Details::EclPropImpl
 Implementation of property query and retrieval from an ECLIPSE property container.
 
 Opm::GridPropertyAccess::ArrayPolicy
 Predefined data array policies for use with class template.
 
 Opm::GridPropertyAccess::Tag
 Collection of tags to help enforce semantic type checks when using class.
 

Detailed Description

Facility for accessing active subset of data arrays defined for all global cells.

The main component is class template

* GridPropertyAccess::Compressed<>

which encapsulates and provides read-only access to a data array and while translating active cell indices to "global" cell indices. The data array is a policy parameter for which preexisting implementations "constant" and "extract from ECLIPSE input" are defined in this module. Data values in the array must be defined for all global cells.