dune-grid  2.4
Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | List of all members
ALUGridSpace::GatherScatterBaseImpl< GridType, DataCollectorType, 0 > Class Template Referenceabstract

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

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

Inheritance diagram for ALUGridSpace::GatherScatterBaseImpl< GridType, DataCollectorType, 0 >:
Inheritance graph

Public Member Functions

 GatherScatterBaseImpl (const GridType &grid, MakeableEntityType &en, RealEntityType &realEntity, DataCollectorType &dc)
 Constructor. More...
 
bool contains (int dim, int codim) 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 }
 
typedef GridType::template Codim< 0 >::Entity EntityType
 
typedef Dune::MakeableInterfaceObject< typename GridType::template Codim< 0 >::Entity > MakeableEntityType
 
typedef MakeableEntityType::ImplementationType RealEntityType
 
typedef GridType::MPICommunicatorType Comm
 
typedef Dune::ALU3dImplTraits< GridType::elementType, CommImplTraits
 
typedef ImplTraits::template Codim< codim >::ImplementationType ImplElementType
 
typedef ImplTraits::template Codim< codim >::InterfaceType HElementType
 
typedef ImplTraits::template Codim< 1 >::InterfaceType HFaceType
 
typedef ImplTraits::template Codim< codim >::GhostInterfaceType HGhostType
 
typedef ImplTraits::template Codim< 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 ALUGridSpace::GatherScatterBaseImpl< GridType, DataCollectorType, 0 >

the corresponding interface class is defined in bsinclude.hh

Member Typedef Documentation

template<class GridType , class DataCollectorType >
typedef GridType::MPICommunicatorType ALUGridSpace::GatherScatterBaseImpl< GridType, DataCollectorType, 0 >::Comm
protected
template<class GridType , class DataCollectorType >
typedef GridType::template Codim<0>::Entity ALUGridSpace::GatherScatterBaseImpl< GridType, DataCollectorType, 0 >::EntityType
protected
template<class GridType , class DataCollectorType >
typedef ImplTraits::template Codim< codim >::InterfaceType ALUGridSpace::GatherScatterBaseImpl< GridType, DataCollectorType, 0 >::HElementType
protected
template<class GridType , class DataCollectorType >
typedef ImplTraits::template Codim< 1 >::InterfaceType ALUGridSpace::GatherScatterBaseImpl< GridType, DataCollectorType, 0 >::HFaceType
protected
template<class GridType , class DataCollectorType >
typedef ImplTraits::template Codim< codim >::GhostInterfaceType ALUGridSpace::GatherScatterBaseImpl< GridType, DataCollectorType, 0 >::HGhostType
protected
template<class GridType , class DataCollectorType >
typedef ImplTraits::template Codim< codim >::ImplementationType ALUGridSpace::GatherScatterBaseImpl< GridType, DataCollectorType, 0 >::ImplElementType
protected
template<class GridType , class DataCollectorType >
typedef ImplTraits::template Codim< codim >::GhostImplementationType ALUGridSpace::GatherScatterBaseImpl< GridType, DataCollectorType, 0 >::ImplGhostType
protected
template<class GridType , class DataCollectorType >
typedef Dune::ALU3dImplTraits< GridType::elementType, Comm > ALUGridSpace::GatherScatterBaseImpl< GridType, DataCollectorType, 0 >::ImplTraits
protected
template<class GridType , class DataCollectorType >
typedef Dune :: MakeableInterfaceObject< typename GridType::template Codim<0>::Entity> ALUGridSpace::GatherScatterBaseImpl< GridType, DataCollectorType, 0 >::MakeableEntityType
protected
template<class GridType , class DataCollectorType >
typedef GatherScatter :: ObjectStreamType ALUGridSpace::GatherScatterBaseImpl< GridType, DataCollectorType, 0 >::ObjectStreamType
protected
template<class GridType , class DataCollectorType >
typedef ImplTraits::PllElementType ALUGridSpace::GatherScatterBaseImpl< GridType, DataCollectorType, 0 >::PllElementType
protected
template<class GridType , class DataCollectorType >
typedef MakeableEntityType :: ImplementationType ALUGridSpace::GatherScatterBaseImpl< GridType, DataCollectorType, 0 >::RealEntityType
protected

Member Enumeration Documentation

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

Constructor & Destructor Documentation

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

Constructor.

Member Function Documentation

template<class GridType , class DataCollectorType >
bool ALUGridSpace::GatherScatterBaseImpl< GridType, DataCollectorType, 0 >::contains ( int  dim,
int  codim 
) const
inline
template<class GridType , class DataCollectorType >
virtual bool ALUGridSpace::GatherScatterBaseImpl< GridType, DataCollectorType, 0 >::containsItem ( const HElementType elem) const
inlinevirtual
template<class GridType , class DataCollectorType >
virtual bool ALUGridSpace::GatherScatterBaseImpl< GridType, DataCollectorType, 0 >::containsItem ( const HGhostType ghost) const
pure virtual
template<class GridType , class DataCollectorType >
size_t ALUGridSpace::GatherScatterBaseImpl< GridType, DataCollectorType, 0 >::getSize ( ObjectStreamType str,
EntityType en 
)
inlineprotected
template<class GridType , class DataCollectorType >
void ALUGridSpace::GatherScatterBaseImpl< GridType, DataCollectorType, 0 >::recvData ( ObjectStreamType str,
HElementType elem 
)
inline
template<class GridType , class DataCollectorType >
void ALUGridSpace::GatherScatterBaseImpl< GridType, DataCollectorType, 0 >::recvData ( ObjectStreamType str,
HGhostType ghost 
)
inline
template<class GridType , class DataCollectorType >
void ALUGridSpace::GatherScatterBaseImpl< GridType, DataCollectorType, 0 >::sendData ( ObjectStreamType str,
const HElementType elem 
)
inline
template<class GridType , class DataCollectorType >
void ALUGridSpace::GatherScatterBaseImpl< GridType, DataCollectorType, 0 >::sendData ( ObjectStreamType str,
const HGhostType ghost 
)
inline
template<class GridType , class DataCollectorType >
void ALUGridSpace::GatherScatterBaseImpl< GridType, DataCollectorType, 0 >::writeSize ( ObjectStreamType str,
EntityType en 
)
inlineprotected

Member Data Documentation

template<class GridType , class DataCollectorType >
DataCollectorType& ALUGridSpace::GatherScatterBaseImpl< GridType, DataCollectorType, 0 >::dc_
protected
template<class GridType , class DataCollectorType >
EntityType& ALUGridSpace::GatherScatterBaseImpl< GridType, DataCollectorType, 0 >::entity_
protected
template<class GridType , class DataCollectorType >
const GridType& ALUGridSpace::GatherScatterBaseImpl< GridType, DataCollectorType, 0 >::grid_
protected
template<class GridType , class DataCollectorType >
RealEntityType& ALUGridSpace::GatherScatterBaseImpl< GridType, DataCollectorType, 0 >::realEntity_
protected
template<class GridType , class DataCollectorType >
const bool ALUGridSpace::GatherScatterBaseImpl< GridType, DataCollectorType, 0 >::variableSize_
protected

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