dune-grid 2.10
Loading...
Searching...
No Matches
Dune::HostGridAccess< GeometryGrid< HG, CoordFunction, Allocator > > Struct Template Reference

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

Inheritance diagram for Dune::HostGridAccess< GeometryGrid< HG, CoordFunction, Allocator > >:
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 GeometryGrid leaf intersection
typedef Grid::Traits::LevelIntersection LevelIntersection
 type of the GeometryGrid 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 GeometryGrid< HG, CoordFunction, Allocator > Grid
typedef Grid::HostGrid 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)
template<class HostIntersection>
static const HostIntersection & hostIntersection (const Intersection< const Grid, GeoGrid::Intersection< const Grid, HostIntersection > > &intersection)

Member Typedef Documentation

◆ Grid

template<class HG, class CoordFunction, class Allocator>
typedef GeometryGrid< HG, CoordFunction, Allocator > Dune::HostGridAccess< GeometryGrid< HG, CoordFunction, Allocator > >::Grid

◆ HostGrid

template<class HG, class CoordFunction, class Allocator>
typedef Grid::HostGrid Dune::HostGridAccess< GeometryGrid< HG, CoordFunction, Allocator > >::HostGrid

type of HostGrid

◆ HostLeafIntersection

template<class HG, class CoordFunction, class Allocator>
typedef HostGrid::Traits::LeafIntersection Dune::HostGridAccess< GeometryGrid< HG, CoordFunction, Allocator > >::HostLeafIntersection

type of the host leaf intersection

◆ HostLevelIntersection

template<class HG, class CoordFunction, class Allocator>
typedef HostGrid::Traits::LevelIntersection Dune::HostGridAccess< GeometryGrid< HG, CoordFunction, Allocator > >::HostLevelIntersection

type of the host level intersection

◆ LeafIntersection

template<class HG, class CoordFunction, class Allocator>
typedef Grid::Traits::LeafIntersection Dune::HostGridAccess< GeometryGrid< HG, CoordFunction, Allocator > >::LeafIntersection

type of the GeometryGrid leaf intersection

◆ LevelIntersection

template<class HG, class CoordFunction, class Allocator>
typedef Grid::Traits::LevelIntersection Dune::HostGridAccess< GeometryGrid< HG, CoordFunction, Allocator > >::LevelIntersection

type of the GeometryGrid level intersection

Member Function Documentation

◆ hostEntity() [1/2]

template<class HG, class CoordFunction, class Allocator>
template<class Entity>
const Codim< Entity::codimension >::HostEntity & Dune::HostGridAccess< GeometryGrid< HG, CoordFunction, Allocator > >::hostEntity ( const Entity & entity)
inlinestatic

◆ hostEntity() [2/2]

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

◆ hostGrid()

template<class HG, class CoordFunction, class Allocator>
const HostGrid & Dune::HostGridAccess< GeometryGrid< HG, CoordFunction, Allocator > >::hostGrid ( const Grid & grid)
inlinestatic

Get underlying HostGrid.

Parameters
[in]gridGeometryGrid
Returns
HostGrid

◆ hostIntersection()

template<class HG, class CoordFunction, class Allocator>
template<class HostIntersection>
const HostIntersection & Dune::HostGridAccess< GeometryGrid< HG, CoordFunction, Allocator > >::hostIntersection ( const Intersection< const Grid, GeoGrid::Intersection< const Grid, HostIntersection > > & intersection)
inlinestatic

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