dune-grid-glue 2.9
Loading...
Searching...
No Matches
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/adapter/intersection.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 Grid0LocalGeometry = GridLocalGeometry< 0 >
 
using Grid1LocalGeometry = GridLocalGeometry< 1 >
 
template<int side>
using GridGeometry = AffineGeometry< typename GridGlue::template GridView< side >::ctype, mydim, GridGlue::template GridView< side >::dimensionworld >
 
using Grid0Geometry = GridGeometry< 0 >
 
using Grid1Geometry = GridGeometry< 1 >
 
template<int side>
using GridIndexType = typename GridGlue::template GridView< side >::IndexSet::IndexType
 
using Grid0IndexType = GridIndexType< 0 >
 
using Grid1IndexType = 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.
 
 IntersectionData ()=default
 Default Constructor.
 
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
 

Static Public Attributes

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

Detailed Description

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

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

Member Typedef Documentation

◆ Grid0Geometry

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

◆ Grid0IndexType

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

◆ Grid0LocalGeometry

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

◆ Grid1Geometry

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

◆ Grid1IndexType

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

◆ Grid1LocalGeometry

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

◆ 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

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 ( )
default

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: