dune-grid  2.5.0
Public Types | Public Member Functions | List of all members
Dune::GridPtr< GridType >::DataHandle Struct Reference

#include <dune/grid/io/file/dgfparser/gridptr.hh>

Inheritance diagram for Dune::GridPtr< GridType >::DataHandle:
Inheritance graph

Public Types

typedef double DataType
 data type of data to communicate More...
 

Public Member Functions

 DataHandle (GridPtr &gridPtr)
 
 ~DataHandle ()
 
CommDataHandleIF< DataHandle, double > & interface ()
 
bool contains (int dim, int codim) const
 
bool fixedSize (int dim, int codim) const
 
template<class EntityType >
size_t size (const EntityType &e) const
 
template<class MessageBufferImp , class EntityType >
void gather (MessageBufferImp &buff, const EntityType &e) const
 
template<class MessageBufferImp , class EntityType >
void scatter (MessageBufferImp &buff, const EntityType &e, size_t n)
 
bool fixedsize (int dim, int codim) const
 returns true if size of data per entity of given dim and codim is a constant More...
 

Member Typedef Documentation

§ DataType

typedef double Dune::CommDataHandleIF< DataHandle , double >::DataType
inherited

data type of data to communicate

Constructor & Destructor Documentation

§ DataHandle()

template<class GridType>
Dune::GridPtr< GridType >::DataHandle::DataHandle ( GridPtr gridPtr)
inline

§ ~DataHandle()

template<class GridType>
Dune::GridPtr< GridType >::DataHandle::~DataHandle ( )
inline

Member Function Documentation

§ contains()

template<class GridType>
bool Dune::GridPtr< GridType >::DataHandle::contains ( int  dim,
int  codim 
) const
inline

§ fixedsize()

bool Dune::CommDataHandleIF< DataHandle , double >::fixedsize ( int  dim,
int  codim 
) const
inlineinherited

returns true if size of data per entity of given dim and codim is a constant

Parameters
dimvalid dimension (i.e. the grids dimension)
codimvalid codimension of the entity set for which data should be communicated

This method calls 'fixedSize' (with a capital S) of the derived class, if it exists in the derived class. Otherwise, it calls 'fixedsize'.

Deprecated:
This method (with the lower-case 's') is deprecated. Use 'fixedSize' instead!

§ fixedSize()

template<class GridType>
bool Dune::GridPtr< GridType >::DataHandle::fixedSize ( int  dim,
int  codim 
) const
inline

§ gather()

template<class GridType>
template<class MessageBufferImp , class EntityType >
void Dune::GridPtr< GridType >::DataHandle::gather ( MessageBufferImp &  buff,
const EntityType &  e 
) const
inline

§ interface()

template<class GridType>
CommDataHandleIF<DataHandle,double>& Dune::GridPtr< GridType >::DataHandle::interface ( )
inline

§ scatter()

template<class GridType>
template<class MessageBufferImp , class EntityType >
void Dune::GridPtr< GridType >::DataHandle::scatter ( MessageBufferImp &  buff,
const EntityType &  e,
size_t  n 
)
inline

§ size()

template<class GridType>
template<class EntityType >
size_t Dune::GridPtr< GridType >::DataHandle::size ( const EntityType &  e) const
inline

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