Dune::cpgrid::EntityVariableBase< T > Class Template Reference

Base class for EntityVariable and SignedEntityVariable. Forwards a restricted subset of the std::vector interface. More...

#include <EntityRep.hpp>

Inheritance diagram for Dune::cpgrid::EntityVariableBase< T >:
Inheritance graph

Public Types

typedef std::vector< T > V
 
typedef std::vector< T >::iterator iterator
 
typedef std::vector< T >::const_iterator const_iterator
 

Public Member Functions

 EntityVariableBase ()
 Default constructor. More...
 
const T & get (int i) const
 
T & get (int i)
 

Friends

class CpGridData
 

Detailed Description

template<typename T>
class Dune::cpgrid::EntityVariableBase< T >

Base class for EntityVariable and SignedEntityVariable. Forwards a restricted subset of the std::vector interface.

Template Parameters
TA value type for the variable, such as double for pressure etc.

Member Typedef Documentation

◆ const_iterator

template<typename T >
typedef std::vector<T>::const_iterator Dune::cpgrid::EntityVariableBase< T >::const_iterator

◆ iterator

template<typename T >
typedef std::vector<T>::iterator Dune::cpgrid::EntityVariableBase< T >::iterator

◆ V

template<typename T >
typedef std::vector<T> Dune::cpgrid::EntityVariableBase< T >::V

Constructor & Destructor Documentation

◆ EntityVariableBase()

template<typename T >
Dune::cpgrid::EntityVariableBase< T >::EntityVariableBase ( )
inline

Default constructor.

Member Function Documentation

◆ get() [1/2]

template<typename T >
T & Dune::cpgrid::EntityVariableBase< T >::get ( int  i)
inline

◆ get() [2/2]

Friends And Related Function Documentation

◆ CpGridData

template<typename T >
friend class CpGridData
friend

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