dune-grid  2.5-git
Classes | Public Types | Static Public Member Functions | List of all members
Dune::HostGridAccess< IdentityGrid< HG > > Struct Template Reference

#include <dune/grid/utility/hostgridaccess.hh>

Classes

struct  Codim
 A Traits struct that collects return types of class member methods. More...
 

Public Types

typedef Grid::Traits::LeafIntersection LeafIntersection
 type of the IdGrid leaf intersection More...
 
typedef Grid::Traits::LevelIntersection LevelIntersection
 type of the IdGrid level intersection More...
 
typedef HostGrid::Traits::LeafIntersection HostLeafIntersection
 type of the host leaf intersection More...
 
typedef HostGrid::Traits::LevelIntersection HostLevelIntersection
 type of the host level intersection More...
 
Exported Types
typedef IdentityGrid< HG > Grid
 
typedef HG HostGrid
 type of HostGrid More...
 

Static Public Member Functions

static const HostGridhostGrid (const Grid &grid)
 Get underlying HostGrid. More...
 
template<class Entity >
static const Codim< Entity::codimension >::HostEntity & hostEntity (const Entity &entity)
 
template<int codim>
static const Codim< codim >::HostEntity & hostEntity (const typename Codim< codim >::Entity &entity)
 
static const HostLeafIntersectionhostIntersection (const LeafIntersection &intersection)
 
static const HostLevelIntersectionhostIntersection (const LevelIntersection &intersection)
 

Member Typedef Documentation

§ Grid

template<class HG >
typedef IdentityGrid< HG > Dune::HostGridAccess< IdentityGrid< HG > >::Grid

§ HostGrid

template<class HG >
typedef HG Dune::HostGridAccess< IdentityGrid< HG > >::HostGrid

type of HostGrid

§ HostLeafIntersection

template<class HG >
typedef HostGrid::Traits::LeafIntersection Dune::HostGridAccess< IdentityGrid< HG > >::HostLeafIntersection

type of the host leaf intersection

§ HostLevelIntersection

template<class HG >
typedef HostGrid::Traits::LevelIntersection Dune::HostGridAccess< IdentityGrid< HG > >::HostLevelIntersection

type of the host level intersection

§ LeafIntersection

type of the IdGrid leaf intersection

§ LevelIntersection

type of the IdGrid level intersection

Member Function Documentation

§ hostEntity() [1/2]

template<class HG >
template<class Entity >
static const Codim< Entity::codimension >::HostEntity& Dune::HostGridAccess< IdentityGrid< HG > >::hostEntity ( const Entity entity)
inlinestatic

§ hostEntity() [2/2]

template<class HG >
template<int codim>
static const Codim< codim >::HostEntity& Dune::HostGridAccess< IdentityGrid< HG > >::hostEntity ( const typename Codim< codim >::Entity entity)
inlinestatic

§ hostGrid()

template<class HG >
static const HostGrid& Dune::HostGridAccess< IdentityGrid< HG > >::hostGrid ( const Grid grid)
inlinestatic

Get underlying HostGrid.

Parameters
[in]gridgrid, whose host grid shall be returned
Returns
HostGrid

§ hostIntersection() [1/2]

template<class HG >
static const HostLeafIntersection& Dune::HostGridAccess< IdentityGrid< HG > >::hostIntersection ( const LeafIntersection intersection)
inlinestatic

§ hostIntersection() [2/2]

template<class HG >
static const HostLevelIntersection& Dune::HostGridAccess< IdentityGrid< HG > >::hostIntersection ( const LevelIntersection intersection)
inlinestatic

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