dune-grid
2.1.1
|
the corresponding interface class is defined in bsinclude.hh More...
#include <dune/grid/alugrid/3d/datahandle.hh>
Public Member Functions | |
GatherScatterBaseImpl (const GridType &grid, MakeableEntityType &en, RealEntityType &realEntity, DataCollectorType &dc) | |
Constructor. | |
bool | contains (int dim, int cd) const |
returns contains of dc_ | |
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 | |
void | recvData (ObjectStreamType &str, HElementType &elem) |
read Data of one element from stream | |
Protected Types | |
typedef GridType::template Codim< codim >::Entity | EntityType |
typedef Dune::MakeableInterfaceObject < typename GridType::template Codim< codim >::Entity > | MakeableEntityType |
typedef MakeableEntityType::ImplementationType | RealEntityType |
typedef GridType::MPICommunicatorType | Comm |
typedef Dune::ALU3dImplTraits < GridType::elementType, Comm > | ImplTraits |
typedef ImplTraits::template Codim< codim > ::ImplementationType | ImplElementType |
typedef ImplTraits::template Codim< 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_ |
EntityType & | entity_ |
RealEntityType & | realEntity_ |
DataCollectorType & | dc_ |
const bool | variableSize_ |
the corresponding interface class is defined in bsinclude.hh
typedef GridType::MPICommunicatorType ALUGridSpace::GatherScatterBaseImpl< GridType, DataCollectorType, codim >::Comm [protected] |
typedef DataCollectorType:: DataType ALUGridSpace::GatherScatterBaseImpl< GridType, DataCollectorType, codim >::DataType [protected] |
typedef GridType::template Codim<codim>::Entity ALUGridSpace::GatherScatterBaseImpl< GridType, DataCollectorType, codim >::EntityType [protected] |
typedef ImplTraits::template Codim< codim >::InterfaceType ALUGridSpace::GatherScatterBaseImpl< GridType, DataCollectorType, codim >::HElementType [protected] |
typedef ImplTraits::template Codim< codim >::ImplementationType ALUGridSpace::GatherScatterBaseImpl< GridType, DataCollectorType, codim >::ImplElementType [protected] |
typedef Dune::ALU3dImplTraits< GridType::elementType, Comm > ALUGridSpace::GatherScatterBaseImpl< GridType, DataCollectorType, codim >::ImplTraits [protected] |
typedef Dune :: MakeableInterfaceObject< typename GridType::template Codim<codim>::Entity> ALUGridSpace::GatherScatterBaseImpl< GridType, DataCollectorType, codim >::MakeableEntityType [protected] |
typedef GatherScatter :: ObjectStreamType ALUGridSpace::GatherScatterBaseImpl< GridType, DataCollectorType, codim >::ObjectStreamType [protected] |
typedef MakeableEntityType :: ImplementationType ALUGridSpace::GatherScatterBaseImpl< GridType, DataCollectorType, codim >::RealEntityType [protected] |
ALUGridSpace::GatherScatterBaseImpl< GridType, DataCollectorType, codim >::GatherScatterBaseImpl | ( | const GridType & | grid, |
MakeableEntityType & | en, | ||
RealEntityType & | realEntity, | ||
DataCollectorType & | dc | ||
) | [inline] |
Constructor.
bool ALUGridSpace::GatherScatterBaseImpl< GridType, DataCollectorType, codim >::contains | ( | int | dim, |
int | cd | ||
) | const [inline] |
returns contains of dc_
References ALUGridSpace::GatherScatterBaseImpl< GridType, DataCollectorType, codim >::dc_.
virtual bool ALUGridSpace::GatherScatterBaseImpl< GridType, DataCollectorType, codim >::containsItem | ( | const HElementType & | elem | ) | const [pure virtual] |
Referenced by ALUGridSpace::GatherScatterBaseImpl< GridType, DataCollectorType, codim >::recvData(), ALUGridSpace::GatherScatterBaseImpl< GridType, DataCollectorType, 0 >::recvData(), ALUGridSpace::GatherScatterBaseImpl< GridType, DataCollectorType, 0 >::sendData(), and ALUGridSpace::GatherScatterBaseImpl< GridType, DataCollectorType, codim >::setData().
size_t ALUGridSpace::GatherScatterBaseImpl< GridType, DataCollectorType, codim >::getSize | ( | ObjectStreamType & | str, |
EntityType & | en | ||
) | [inline, protected] |
References ALUGridSpace::GatherScatterBaseImpl< GridType, DataCollectorType, codim >::dc_, and ALUGridSpace::GatherScatterBaseImpl< GridType, DataCollectorType, codim >::variableSize_.
Referenced by ALUGridSpace::GatherScatterBaseImpl< GridType, DataCollectorType, codim >::recvData(), ALUGridSpace::GatherScatterBaseImpl< GridType, DataCollectorType, 0 >::recvData(), and ALUGridSpace::GatherScatterBaseImpl< GridType, DataCollectorType, codim >::setData().
void ALUGridSpace::GatherScatterBaseImpl< GridType, DataCollectorType, codim >::recvData | ( | ObjectStreamType & | str, |
HElementType & | elem | ||
) | [inline] |
read Data of one element from stream
References ALUGridSpace::GatherScatterBaseImpl< GridType, DataCollectorType, codim >::containsItem(), ALUGridSpace::GatherScatterBaseImpl< GridType, DataCollectorType, codim >::dc_, ALUGridSpace::GatherScatterBaseImpl< GridType, DataCollectorType, codim >::entity_, ALUGridSpace::GatherScatterBaseImpl< GridType, DataCollectorType, codim >::getSize(), and ALUGridSpace::GatherScatterBaseImpl< GridType, DataCollectorType, codim >::setElement().
void ALUGridSpace::GatherScatterBaseImpl< GridType, DataCollectorType, codim >::sendData | ( | ObjectStreamType & | str, |
HElementType & | elem | ||
) | [inline] |
write Data of one element to stream
References ALUGridSpace::GatherScatterBaseImpl< GridType, DataCollectorType, codim >::dc_, ALUGridSpace::GatherScatterBaseImpl< GridType, DataCollectorType, codim >::entity_, ALUGridSpace::GatherScatterBaseImpl< GridType, DataCollectorType, codim >::setElement(), and ALUGridSpace::GatherScatterBaseImpl< GridType, DataCollectorType, codim >::variableSize_.
void ALUGridSpace::GatherScatterBaseImpl< GridType, DataCollectorType, codim >::setData | ( | ObjectStreamType & | str, |
HElementType & | elem | ||
) | [inline] |
References ALUGridSpace::GatherScatterBaseImpl< GridType, DataCollectorType, codim >::containsItem(), ALUGridSpace::GatherScatterBaseImpl< GridType, DataCollectorType, codim >::dc_, ALUGridSpace::GatherScatterBaseImpl< GridType, DataCollectorType, codim >::entity_, ALUGridSpace::GatherScatterBaseImpl< GridType, DataCollectorType, codim >::getSize(), Dune::GhostEntity, and ALUGridSpace::GatherScatterBaseImpl< GridType, DataCollectorType, codim >::setElement().
virtual void ALUGridSpace::GatherScatterBaseImpl< GridType, DataCollectorType, codim >::setElement | ( | const HElementType & | elem | ) | [pure virtual] |
DataCollectorType& ALUGridSpace::GatherScatterBaseImpl< GridType, DataCollectorType, codim >::dc_ [protected] |
Referenced by ALUGridSpace::GatherScatterBaseImpl< GridType, DataCollectorType, codim >::contains(), ALUGridSpace::GatherScatterBaseImpl< GridType, DataCollectorType, 0 >::contains(), ALUGridSpace::GatherScatterBaseImpl< GridType, DataCollectorType, codim >::getSize(), ALUGridSpace::GatherScatterBaseImpl< GridType, DataCollectorType, 0 >::getSize(), ALUGridSpace::GatherScatterBaseImpl< GridType, DataCollectorType, codim >::recvData(), ALUGridSpace::GatherScatterBaseImpl< GridType, DataCollectorType, 0 >::recvData(), ALUGridSpace::GatherScatterBaseImpl< GridType, DataCollectorType, codim >::sendData(), ALUGridSpace::GatherScatterBaseImpl< GridType, DataCollectorType, 0 >::sendData(), ALUGridSpace::GatherScatterBaseImpl< GridType, DataCollectorType, codim >::setData(), and ALUGridSpace::GatherScatterBaseImpl< GridType, DataCollectorType, 0 >::writeSize().
EntityType& ALUGridSpace::GatherScatterBaseImpl< GridType, DataCollectorType, codim >::entity_ [protected] |
Referenced by ALUGridSpace::GatherScatterBaseImpl< GridType, DataCollectorType, codim >::recvData(), ALUGridSpace::GatherScatterBaseImpl< GridType, DataCollectorType, 0 >::recvData(), ALUGridSpace::GatherScatterBaseImpl< GridType, DataCollectorType, codim >::sendData(), ALUGridSpace::GatherScatterBaseImpl< GridType, DataCollectorType, 0 >::sendData(), and ALUGridSpace::GatherScatterBaseImpl< GridType, DataCollectorType, codim >::setData().
const GridType& ALUGridSpace::GatherScatterBaseImpl< GridType, DataCollectorType, codim >::grid_ [protected] |
RealEntityType& ALUGridSpace::GatherScatterBaseImpl< GridType, DataCollectorType, codim >::realEntity_ [protected] |
const bool ALUGridSpace::GatherScatterBaseImpl< GridType, DataCollectorType, codim >::variableSize_ [protected] |
Referenced by ALUGridSpace::GatherScatterBaseImpl< GridType, DataCollectorType, codim >::getSize(), ALUGridSpace::GatherScatterBaseImpl< GridType, DataCollectorType, 0 >::getSize(), ALUGridSpace::GatherScatterBaseImpl< GridType, DataCollectorType, codim >::sendData(), and ALUGridSpace::GatherScatterBaseImpl< GridType, DataCollectorType, 0 >::writeSize().