dune-grid 2.10
Loading...
Searching...
No Matches
Dune::HostGridAccess< IdentityGrid< HG > > Struct Template Reference

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

Inheritance diagram for Dune::HostGridAccess< IdentityGrid< HG > >:
Inheritance graph

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
typedef Grid::Traits::LevelIntersection LevelIntersection
 type of the IdGrid level intersection
typedef HostGrid::Traits::LeafIntersection HostLeafIntersection
 type of the host leaf intersection
typedef HostGrid::Traits::LevelIntersection HostLevelIntersection
 type of the host level intersection
Exported Types
typedef IdentityGrid< HG > Grid
typedef HG HostGrid
 type of HostGrid

Static Public Member Functions

static const HostGridhostGrid (const Grid &grid)
 Get underlying HostGrid.
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

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

type of the IdGrid leaf intersection

◆ LevelIntersection

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

type of the IdGrid level intersection

Member Function Documentation

◆ hostEntity() [1/2]

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

◆ hostEntity() [2/2]

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

◆ hostGrid()

template<class HG>
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>
const HostLeafIntersection & Dune::HostGridAccess< IdentityGrid< HG > >::hostIntersection ( const LeafIntersection & intersection)
inlinestatic

◆ hostIntersection() [2/2]

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

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