Dune::CartesianIndexMapper< Dune::ALUGrid< 3, 3, Dune::cube, Dune::nonconforming > >::GlobalIndexDataHandle Class Reference

#include <AluGridCartesianIndexMapper.hpp>

Inheritance diagram for Dune::CartesianIndexMapper< Dune::ALUGrid< 3, 3, Dune::cube, Dune::nonconforming > >::GlobalIndexDataHandle:
Inheritance graph

Public Member Functions

 GlobalIndexDataHandle (const GridView &gridView, std::vector< int > &cartesianIndex)
 
 GlobalIndexDataHandle (const GlobalIndexDataHandle &other)=delete
 
 ~GlobalIndexDataHandle ()
 
bool contains (int, int codim) const
 
bool fixedsize (int, int) const
 
template<class MessageBufferImp , class EntityType >
void gather (MessageBufferImp &buff, const EntityType &element) const
 loop over all internal data handlers and call gather for given entity More...
 
template<class MessageBufferImp , class EntityType >
void scatter (MessageBufferImp &buff, const EntityType &element, std::size_t)
 loop over all internal data handlers and call scatter for given entity More...
 
template<class EntityType >
std::size_t size (const EntityType &) const
 loop over all internal data handlers and return sum of data size of given entity More...
 

Protected Member Functions

void initialize ()
 
void finalize ()
 

Protected Attributes

GridView gridView_
 
GlobalIndexContainer globalIndex_
 
std::vector< int > & cartesianIndex_
 

Constructor & Destructor Documentation

◆ GlobalIndexDataHandle() [1/2]

Dune::CartesianIndexMapper< Dune::ALUGrid< 3, 3, Dune::cube, Dune::nonconforming > >::GlobalIndexDataHandle::GlobalIndexDataHandle ( const GridView &  gridView,
std::vector< int > &  cartesianIndex 
)
inline

◆ GlobalIndexDataHandle() [2/2]

Dune::CartesianIndexMapper< Dune::ALUGrid< 3, 3, Dune::cube, Dune::nonconforming > >::GlobalIndexDataHandle::GlobalIndexDataHandle ( const GlobalIndexDataHandle &  other)
delete

◆ ~GlobalIndexDataHandle()

Dune::CartesianIndexMapper< Dune::ALUGrid< 3, 3, Dune::cube, Dune::nonconforming > >::GlobalIndexDataHandle::~GlobalIndexDataHandle ( )
inline

Member Function Documentation

◆ contains()

bool Dune::CartesianIndexMapper< Dune::ALUGrid< 3, 3, Dune::cube, Dune::nonconforming > >::GlobalIndexDataHandle::contains ( int  ,
int  codim 
) const
inline

◆ finalize()

void Dune::CartesianIndexMapper< Dune::ALUGrid< 3, 3, Dune::cube, Dune::nonconforming > >::GlobalIndexDataHandle::finalize ( )
inlineprotected

◆ fixedsize()

bool Dune::CartesianIndexMapper< Dune::ALUGrid< 3, 3, Dune::cube, Dune::nonconforming > >::GlobalIndexDataHandle::fixedsize ( int  ,
int   
) const
inline

◆ gather()

template<class MessageBufferImp , class EntityType >
void Dune::CartesianIndexMapper< Dune::ALUGrid< 3, 3, Dune::cube, Dune::nonconforming > >::GlobalIndexDataHandle::gather ( MessageBufferImp &  buff,
const EntityType &  element 
) const
inline

loop over all internal data handlers and call gather for given entity

◆ initialize()

void Dune::CartesianIndexMapper< Dune::ALUGrid< 3, 3, Dune::cube, Dune::nonconforming > >::GlobalIndexDataHandle::initialize ( )
inlineprotected

◆ scatter()

template<class MessageBufferImp , class EntityType >
void Dune::CartesianIndexMapper< Dune::ALUGrid< 3, 3, Dune::cube, Dune::nonconforming > >::GlobalIndexDataHandle::scatter ( MessageBufferImp &  buff,
const EntityType &  element,
std::size_t   
)
inline

loop over all internal data handlers and call scatter for given entity

◆ size()

template<class EntityType >
std::size_t Dune::CartesianIndexMapper< Dune::ALUGrid< 3, 3, Dune::cube, Dune::nonconforming > >::GlobalIndexDataHandle::size ( const EntityType &  ) const
inline

loop over all internal data handlers and return sum of data size of given entity

Member Data Documentation

◆ cartesianIndex_

std::vector<int>& Dune::CartesianIndexMapper< Dune::ALUGrid< 3, 3, Dune::cube, Dune::nonconforming > >::GlobalIndexDataHandle::cartesianIndex_
protected

◆ globalIndex_

GlobalIndexContainer Dune::CartesianIndexMapper< Dune::ALUGrid< 3, 3, Dune::cube, Dune::nonconforming > >::GlobalIndexDataHandle::globalIndex_
protected

◆ gridView_

GridView Dune::CartesianIndexMapper< Dune::ALUGrid< 3, 3, Dune::cube, Dune::nonconforming > >::GlobalIndexDataHandle::gridView_
protected

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