All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Dune::cpgrid::OrientedEntityRange< codim_to > Class Template Reference

A class used as a row type for OrientedEntityTable. More...

#include <OrientedEntityTable.hpp>

Inheritance diagram for Dune::cpgrid::OrientedEntityRange< codim_to >:

Public Types

typedef EntityRep< codim_to > ToType
 
typedef ToTypeToTypePtr
 
typedef Opm::SparseTable
< ToType >::row_type 
R
 

Public Member Functions

 OrientedEntityRange ()
 Default constructor yielding an empty range.
 
 OrientedEntityRange (const R &r, bool orientation)
 Constructor taking a row type and an orientation. More...
 
int size () const
 
ToType operator[] (int subindex) const
 Random access operator. More...
 

Detailed Description

template<int codim_to>
class Dune::cpgrid::OrientedEntityRange< codim_to >

A class used as a row type for OrientedEntityTable.

Template Parameters
codim_toCodimension.

Constructor & Destructor Documentation

template<int codim_to>
Dune::cpgrid::OrientedEntityRange< codim_to >::OrientedEntityRange ( const R &  r,
bool  orientation 
)
inline

Constructor taking a row type and an orientation.

Parameters
RRow type
orientationTrue if positive orientation.

Member Function Documentation

template<int codim_to>
ToType Dune::cpgrid::OrientedEntityRange< codim_to >::operator[] ( int  subindex) const
inline

Random access operator.

Parameters
subindexColumn index.
Returns
Entity representation.

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