dune-grid-glue  2.6-git
Classes | Public Types | Public Member Functions | Public Attributes | Static Public Attributes | List of all members
Dune::GridGlue::IntersectionData< P0, P1 > Class Template Reference

storage class for Dune::GridGlue::Intersection related data More...

#include <dune/grid-glue/gridglue.hh>

Public Types

typedef ::Dune::GridGlue::GridGlue< P0, P1 > GridGlue
 
typedef GridGlue::IndexType IndexType
 
template<int side>
using GridLocalGeometry = AffineGeometry< typename GridGlue::template GridView< side >::ctype, mydim, GridGlue::template GridView< side >::dimension >
 
using instead = GridLocalGeometry< 0 >
 
using instead = GridLocalGeometry< 1 >
 
template<int side>
using GridGeometry = AffineGeometry< typename GridGlue::template GridView< side >::ctype, mydim, GridGlue::template GridView< side >::dimensionworld >
 
using instead = GridGeometry< 0 >
 
using instead = GridGeometry< 1 >
 
template<int side>
using GridIndexType = typename GridGlue::template GridView< side >::IndexSet::IndexType
 
using instead = GridIndexType< 0 >
 
using instead = GridIndexType< 1 >
 

Public Member Functions

 IntersectionData (const GridGlue &glue, unsigned int mergeindex, unsigned int offset, bool grid0local, bool grid1local)
 Constructor the n'th IntersectionData of a given GridGlue. More...
 
 IntersectionData ()
 Default Constructor. More...
 
template<int side>
const GridLocalGeometry< side > & localGeometry (unsigned int parentId=0) const
 
template<int side>
const GridGeometry< side > & geometry () const
 
template<int side>
bool local () const
 
template<int side>
IndexType index (unsigned int parentId=0) const
 
template<int side>
IndexType parents () const
 

Public Attributes

IndexType index_
 index of this intersection after GridGlue interface More...
 

Static Public Attributes

static constexpr int coorddim = GridGlue::dimworld
 Dimension of the world space of the intersection. More...
 
static constexpr int mydim = dim<0>() < dim<1>() ? dim<0>() : dim<1>()
 Dimension of the intersection. More...
 

Detailed Description

template<typename P0, typename P1>
class Dune::GridGlue::IntersectionData< P0, P1 >

storage class for Dune::GridGlue::Intersection related data

Member Typedef Documentation

◆ GridGeometry

template<typename P0 , typename P1 >
template<int side>
using Dune::GridGlue::IntersectionData< P0, P1 >::GridGeometry = AffineGeometry< typename GridGlue::template GridView<side>::ctype, mydim, GridGlue::template GridView<side>::dimensionworld>

◆ GridGlue

template<typename P0 , typename P1 >
typedef ::Dune::GridGlue::GridGlue<P0, P1> Dune::GridGlue::IntersectionData< P0, P1 >::GridGlue

◆ GridIndexType

template<typename P0 , typename P1 >
template<int side>
using Dune::GridGlue::IntersectionData< P0, P1 >::GridIndexType = typename GridGlue::template GridView<side>::IndexSet::IndexType

◆ GridLocalGeometry

template<typename P0 , typename P1 >
template<int side>
using Dune::GridGlue::IntersectionData< P0, P1 >::GridLocalGeometry = AffineGeometry< typename GridGlue::template GridView<side>::ctype, mydim, GridGlue::template GridView<side>::dimension>

◆ IndexType

template<typename P0 , typename P1 >
typedef GridGlue::IndexType Dune::GridGlue::IntersectionData< P0, P1 >::IndexType

◆ instead [1/6]

template<typename P0 , typename P1 >
using Dune::GridGlue::IntersectionData< P0, P1 >::instead = GridLocalGeometry<0>

◆ instead [2/6]

template<typename P0 , typename P1 >
using Dune::GridGlue::IntersectionData< P0, P1 >::instead = GridLocalGeometry<1>

◆ instead [3/6]

template<typename P0 , typename P1 >
using Dune::GridGlue::IntersectionData< P0, P1 >::instead = GridGeometry<0>

◆ instead [4/6]

template<typename P0 , typename P1 >
using Dune::GridGlue::IntersectionData< P0, P1 >::instead = GridGeometry<1>

◆ instead [5/6]

template<typename P0 , typename P1 >
using Dune::GridGlue::IntersectionData< P0, P1 >::instead = GridIndexType<0>

◆ instead [6/6]

template<typename P0 , typename P1 >
using Dune::GridGlue::IntersectionData< P0, P1 >::instead = GridIndexType<1>

Constructor & Destructor Documentation

◆ IntersectionData() [1/2]

template<typename P0 , typename P1 >
Dune::GridGlue::IntersectionData< P0, P1 >::IntersectionData ( const GridGlue glue,
unsigned int  mergeindex,
unsigned int  offset,
bool  grid0local,
bool  grid1local 
)

Constructor the n'th IntersectionData of a given GridGlue.

Todo:
move this functionality to GridGlue

◆ IntersectionData() [2/2]

template<typename P0 , typename P1 >
Dune::GridGlue::IntersectionData< P0, P1 >::IntersectionData ( )
inline

Default Constructor.

Member Function Documentation

◆ geometry()

template<typename P0 , typename P1 >
template<int side>
const GridGeometry<side>& Dune::GridGlue::IntersectionData< P0, P1 >::geometry ( ) const
inline

◆ index()

template<typename P0 , typename P1 >
template<int side>
IndexType Dune::GridGlue::IntersectionData< P0, P1 >::index ( unsigned int  parentId = 0) const
inline

◆ local()

template<typename P0 , typename P1 >
template<int side>
bool Dune::GridGlue::IntersectionData< P0, P1 >::local ( ) const
inline

◆ localGeometry()

template<typename P0 , typename P1 >
template<int side>
const GridLocalGeometry<side>& Dune::GridGlue::IntersectionData< P0, P1 >::localGeometry ( unsigned int  parentId = 0) const
inline

◆ parents()

template<typename P0 , typename P1 >
template<int side>
IndexType Dune::GridGlue::IntersectionData< P0, P1 >::parents ( ) const
inline

Member Data Documentation

◆ coorddim

template<typename P0 , typename P1 >
constexpr int Dune::GridGlue::IntersectionData< P0, P1 >::coorddim = GridGlue::dimworld
staticconstexpr

Dimension of the world space of the intersection.

◆ index_

template<typename P0 , typename P1 >
IndexType Dune::GridGlue::IntersectionData< P0, P1 >::index_

index of this intersection after GridGlue interface

◆ mydim

template<typename P0 , typename P1 >
constexpr int Dune::GridGlue::IntersectionData< P0, P1 >::mydim = dim<0>() < dim<1>() ? dim<0>() : dim<1>()
staticconstexpr

Dimension of the intersection.


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