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

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

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

Inheritance diagram for ALUGrid::GatherScatterBaseImpl< GridType, DataCollectorType, 0 >:
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
 
virtual bool containsItem (const HGhostType &ghost) const =0
 
void sendData (ObjectStreamType &str, const HElementType &elem)
 write Data of one element to stream More...
 
void sendData (ObjectStreamType &str, const HGhostType &ghost)
 write Data of one ghost element to stream More...
 
void recvData (ObjectStreamType &str, HElementType &elem)
 read Data of one element from stream More...
 
void recvData (ObjectStreamType &str, HGhostType &ghost)
 read Data of one element from stream More...
 

Protected Types

enum  { codim = 0 }
 
enum  { dimension = GridType::dimension }
 
typedef GridType::template Codim< 0 >::Entity EntityType
 
typedef GridType::template Codim< 0 >::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 ImplTraits::template Codim< dimension, 1 >::InterfaceType HFaceType
 
typedef ImplTraits::template Codim< dimension, codim >::GhostInterfaceType HGhostType
 
typedef ImplTraits::template Codim< dimension, codim >::GhostImplementationType ImplGhostType
 
typedef ImplTraits::PllElementType PllElementType
 
typedef GatherScatter ::ObjectStreamType ObjectStreamType
 

Protected Member Functions

size_t getSize (ObjectStreamType &str, EntityType &en)
 
void writeSize (ObjectStreamType &str, EntityType &en)
 

Protected Attributes

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

Detailed Description

template<class GridType, class DataCollectorType>
class ALUGrid::GatherScatterBaseImpl< GridType, DataCollectorType, 0 >

the corresponding interface class is defined in alu3dinclude.hh

Member Typedef Documentation

◆ Comm

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

◆ EntityType

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

◆ HElementType

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

◆ HFaceType

template<class GridType , class DataCollectorType >
typedef ImplTraits::template Codim< dimension, 1 >::InterfaceType ALUGrid::GatherScatterBaseImpl< GridType, DataCollectorType, 0 >::HFaceType
protected

◆ HGhostType

template<class GridType , class DataCollectorType >
typedef ImplTraits::template Codim< dimension, codim >::GhostInterfaceType ALUGrid::GatherScatterBaseImpl< GridType, DataCollectorType, 0 >::HGhostType
protected

◆ ImplElementType

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

◆ ImplGhostType

template<class GridType , class DataCollectorType >
typedef ImplTraits::template Codim< dimension, codim >::GhostImplementationType ALUGrid::GatherScatterBaseImpl< GridType, DataCollectorType, 0 >::ImplGhostType
protected

◆ ImplTraits

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

◆ ObjectStreamType

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

◆ PllElementType

template<class GridType , class DataCollectorType >
typedef ImplTraits::PllElementType ALUGrid::GatherScatterBaseImpl< GridType, DataCollectorType, 0 >::PllElementType
protected

◆ RealEntityType

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

Member Enumeration Documentation

◆ anonymous enum

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

◆ anonymous enum

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

Constructor & Destructor Documentation

◆ GatherScatterBaseImpl()

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

Constructor.

Member Function Documentation

◆ contains()

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

◆ containsItem() [1/2]

template<class GridType , class DataCollectorType >
virtual bool ALUGrid::GatherScatterBaseImpl< GridType, DataCollectorType, 0 >::containsItem ( const HElementType elem) const
inlinevirtual

◆ containsItem() [2/2]

template<class GridType , class DataCollectorType >
virtual bool ALUGrid::GatherScatterBaseImpl< GridType, DataCollectorType, 0 >::containsItem ( const HGhostType ghost) const
pure virtual

◆ getSize()

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

◆ recvData() [1/2]

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

read Data of one element from stream

◆ recvData() [2/2]

template<class GridType , class DataCollectorType >
void ALUGrid::GatherScatterBaseImpl< GridType, DataCollectorType, 0 >::recvData ( ObjectStreamType str,
HGhostType ghost 
)
inline

read Data of one element from stream

◆ sendData() [1/2]

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

write Data of one element to stream

◆ sendData() [2/2]

template<class GridType , class DataCollectorType >
void ALUGrid::GatherScatterBaseImpl< GridType, DataCollectorType, 0 >::sendData ( ObjectStreamType str,
const HGhostType ghost 
)
inline

write Data of one ghost element to stream

◆ writeSize()

template<class GridType , class DataCollectorType >
void ALUGrid::GatherScatterBaseImpl< GridType, DataCollectorType, 0 >::writeSize ( ObjectStreamType str,
EntityType en 
)
inlineprotected

Member Data Documentation

◆ dc_

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

◆ entity_

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

◆ grid_

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

◆ realEntity_

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

◆ variableSize_

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

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