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 >:
Inheritance graph

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. More...
 
 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...
 
bool empty () const
 
Iter begin () const
 
Iter end () const
 

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.

Member Typedef Documentation

◆ R

template<int codim_to>
typedef Opm::SparseTable<ToType>::row_type Dune::cpgrid::OrientedEntityRange< codim_to >::R

◆ ToType

template<int codim_to>
typedef EntityRep<codim_to> Dune::cpgrid::OrientedEntityRange< codim_to >::ToType

◆ ToTypePtr

template<int codim_to>
typedef ToType* Dune::cpgrid::OrientedEntityRange< codim_to >::ToTypePtr

Constructor & Destructor Documentation

◆ OrientedEntityRange() [1/2]

template<int codim_to>
Dune::cpgrid::OrientedEntityRange< codim_to >::OrientedEntityRange ( )
inline

Default constructor yielding an empty range.

◆ OrientedEntityRange() [2/2]

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

◆ begin()

template<int codim_to>
Iter Opm::iterator_range< Iter >::begin ( ) const
inline

◆ empty()

template<int codim_to>
bool Opm::iterator_range< Iter >::empty ( ) const
inline

◆ end()

template<int codim_to>
Iter Opm::iterator_range< Iter >::end ( ) const
inline

◆ operator[]()

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

Random access operator.

Parameters
subindexColumn index.
Returns
Entity representation.

References Dune::cpgrid::OrientedEntityRange< codim_to >::begin(), and Dune::cpgrid::EntityRep< codim >::opposite().

◆ size()


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