dune-alugrid  2.6-git
Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | List of all members
ALUGrid::GatherScatterBaseImpl< GridType, DataCollectorType, codim > Class Template Referenceabstract

the corresponding interface class is defined in bsinclude.hh More...

#include <dune/alugrid/3d/datahandle.hh>

Inheritance diagram for ALUGrid::GatherScatterBaseImpl< GridType, DataCollectorType, codim >:
Inheritance graph

Public Member Functions

 GatherScatterBaseImpl (const GridType &grid, EntityType &en, RealEntityType &realEntity, DataCollectorType &dc)
 Constructor. More...
 
bool contains (int dim, int cd) const
 
virtual bool containsItem (const HElementType &elem) const =0
 
virtual void setElement (const HElementType &elem)=0
 
void setData (ObjectStreamType &str, HElementType &elem)
 
void sendData (ObjectStreamType &str, HElementType &elem)
 write Data of one element to stream More...
 
void recvData (ObjectStreamType &str, HElementType &elem)
 read Data of one element from stream More...
 

Protected Types

enum  { dimension = GridType::dimension }
 
typedef GridType::template Codim< codim >::Entity EntityType
 
typedef GridType::template Codim< codim >::EntityImp RealEntityType
 
typedef GridType::MPICommunicatorType Comm
 
typedef Dune::ALU3dImplTraits< GridType::elementType, CommImplTraits
 
typedef ImplTraits::template Codim< dimension, codim >::ImplementationType ImplElementType
 
typedef ImplTraits::template Codim< dimension, codim >::InterfaceType HElementType
 
typedef GatherScatter ::ObjectStreamType ObjectStreamType
 
typedef DataCollectorType::DataType DataType
 

Protected Member Functions

size_t getSize (ObjectStreamType &str, EntityType &en)
 

Protected Attributes

const GridType & grid_
 
EntityTypeentity_
 
RealEntityTyperealEntity_
 
DataCollectorType & dc_
 
const bool variableSize_
 

Detailed Description

template<class GridType, class DataCollectorType, int codim>
class ALUGrid::GatherScatterBaseImpl< GridType, DataCollectorType, codim >

the corresponding interface class is defined in bsinclude.hh

Member Typedef Documentation

◆ Comm

template<class GridType , class DataCollectorType , int codim>
typedef GridType::MPICommunicatorType ALUGrid::GatherScatterBaseImpl< GridType, DataCollectorType, codim >::Comm
protected

◆ DataType

template<class GridType , class DataCollectorType , int codim>
typedef DataCollectorType:: DataType ALUGrid::GatherScatterBaseImpl< GridType, DataCollectorType, codim >::DataType
protected

◆ EntityType

template<class GridType , class DataCollectorType , int codim>
typedef GridType::template Codim<codim>::Entity ALUGrid::GatherScatterBaseImpl< GridType, DataCollectorType, codim >::EntityType
protected

◆ HElementType

template<class GridType , class DataCollectorType , int codim>
typedef ImplTraits::template Codim< dimension, codim >::InterfaceType ALUGrid::GatherScatterBaseImpl< GridType, DataCollectorType, codim >::HElementType
protected

◆ ImplElementType

template<class GridType , class DataCollectorType , int codim>
typedef ImplTraits::template Codim< dimension, codim >::ImplementationType ALUGrid::GatherScatterBaseImpl< GridType, DataCollectorType, codim >::ImplElementType
protected

◆ ImplTraits

template<class GridType , class DataCollectorType , int codim>
typedef Dune::ALU3dImplTraits< GridType::elementType, Comm > ALUGrid::GatherScatterBaseImpl< GridType, DataCollectorType, codim >::ImplTraits
protected

◆ ObjectStreamType

template<class GridType , class DataCollectorType , int codim>
typedef GatherScatter :: ObjectStreamType ALUGrid::GatherScatterBaseImpl< GridType, DataCollectorType, codim >::ObjectStreamType
protected

◆ RealEntityType

template<class GridType , class DataCollectorType , int codim>
typedef GridType::template Codim<codim>::EntityImp ALUGrid::GatherScatterBaseImpl< GridType, DataCollectorType, codim >::RealEntityType
protected

Member Enumeration Documentation

◆ anonymous enum

template<class GridType , class DataCollectorType , int codim>
anonymous enum
protected
Enumerator
dimension 

Constructor & Destructor Documentation

◆ GatherScatterBaseImpl()

template<class GridType , class DataCollectorType , int codim>
ALUGrid::GatherScatterBaseImpl< GridType, DataCollectorType, codim >::GatherScatterBaseImpl ( const GridType &  grid,
EntityType en,
RealEntityType realEntity,
DataCollectorType &  dc 
)
inline

Constructor.

Member Function Documentation

◆ contains()

template<class GridType , class DataCollectorType , int codim>
bool ALUGrid::GatherScatterBaseImpl< GridType, DataCollectorType, codim >::contains ( int  dim,
int  cd 
) const
inline

◆ containsItem()

template<class GridType , class DataCollectorType , int codim>
virtual bool ALUGrid::GatherScatterBaseImpl< GridType, DataCollectorType, codim >::containsItem ( const HElementType elem) const
pure virtual

◆ getSize()

template<class GridType , class DataCollectorType , int codim>
size_t ALUGrid::GatherScatterBaseImpl< GridType, DataCollectorType, codim >::getSize ( ObjectStreamType str,
EntityType en 
)
inlineprotected

◆ recvData()

template<class GridType , class DataCollectorType , int codim>
void ALUGrid::GatherScatterBaseImpl< GridType, DataCollectorType, codim >::recvData ( ObjectStreamType str,
HElementType elem 
)
inline

read Data of one element from stream

◆ sendData()

template<class GridType , class DataCollectorType , int codim>
void ALUGrid::GatherScatterBaseImpl< GridType, DataCollectorType, codim >::sendData ( ObjectStreamType str,
HElementType elem 
)
inline

write Data of one element to stream

◆ setData()

template<class GridType , class DataCollectorType , int codim>
void ALUGrid::GatherScatterBaseImpl< GridType, DataCollectorType, codim >::setData ( ObjectStreamType str,
HElementType elem 
)
inline

◆ setElement()

template<class GridType , class DataCollectorType , int codim>
virtual void ALUGrid::GatherScatterBaseImpl< GridType, DataCollectorType, codim >::setElement ( const HElementType elem)
pure virtual

Member Data Documentation

◆ dc_

template<class GridType , class DataCollectorType , int codim>
DataCollectorType& ALUGrid::GatherScatterBaseImpl< GridType, DataCollectorType, codim >::dc_
protected

◆ entity_

template<class GridType , class DataCollectorType , int codim>
EntityType& ALUGrid::GatherScatterBaseImpl< GridType, DataCollectorType, codim >::entity_
protected

◆ grid_

template<class GridType , class DataCollectorType , int codim>
const GridType& ALUGrid::GatherScatterBaseImpl< GridType, DataCollectorType, codim >::grid_
protected

◆ realEntity_

template<class GridType , class DataCollectorType , int codim>
RealEntityType& ALUGrid::GatherScatterBaseImpl< GridType, DataCollectorType, codim >::realEntity_
protected

◆ variableSize_

template<class GridType , class DataCollectorType , int codim>
const bool ALUGrid::GatherScatterBaseImpl< GridType, DataCollectorType, codim >::variableSize_
protected

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