My Project
Loading...
Searching...
No Matches
Dune::cpgrid::MutableOrientedEntityRange< codim_to > Class Template Reference

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

#include <OrientedEntityTable.hpp>

Inheritance diagram for Dune::cpgrid::MutableOrientedEntityRange< codim_to >:
Opm::mutable_iterator_range< Iter >

Public Types

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

Public Member Functions

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

Detailed Description

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

A class used as a row type for OrientedEntityTable.

Template Parameters
codim_toCodimension.

Constructor & Destructor Documentation

◆ MutableOrientedEntityRange()

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

Constructor taking a row type and an orientation.

Parameters
RRow type
orientationTrue if positive orientation.

Member Function Documentation

◆ operator[]()

template<int codim_to>
ToType Dune::cpgrid::MutableOrientedEntityRange< 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: