dune-grid-glue  2.5.0
Public Types | Public Member Functions | 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

enum  { coorddim = GridGlue::dimworld }
 Dimension of the world space of the intersection. More...
 
enum  { mydim = (dim0<dim1) ? dim0 : dim1 }
 Dimension of the intersection. More...
 
typedef ::Dune::GridGlue::GridGlue< P0, P1 > GridGlue
 
typedef GridGlue::IndexType IndexType
 
typedef AffineGeometry< typename GridGlue::Grid0View::ctype, mydim, GridGlue::Grid0View::dimension > Grid0LocalGeometry
 
typedef AffineGeometry< typename GridGlue::Grid0View::ctype, mydim, GridGlue::Grid0View::dimensionworld > Grid0Geometry
 
typedef AffineGeometry< typename GridGlue::Grid1View::ctype, mydim, GridGlue::Grid1View::dimension > Grid1LocalGeometry
 
typedef AffineGeometry< typename GridGlue::Grid1View::ctype, mydim, GridGlue::Grid1View::dimensionworld > Grid1Geometry
 
typedef GridGlue::Grid0View::IndexSet::IndexType Grid0IndexType
 
typedef GridGlue::Grid1View::IndexSet::IndexType Grid1IndexType
 

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...
 

Public Attributes

IndexType index_
 index of this intersection after GridGlue interface More...
 
bool grid0local_
 true if the associated grid0 entity is local More...
 
std::vector< Grid0IndexTypegrid0indices_
 indices of the associated local grid0 entity More...
 
bool grid1local_
 true if the associated grid1 entity is local More...
 
std::vector< Grid1IndexTypegrid1indices_
 indices of the associated local grid1 entity More...
 
std::vector< std::shared_ptr< Grid0LocalGeometry > > grid0localgeom_
 
std::shared_ptr< Grid0Geometrygrid0geom_
 
std::vector< std::shared_ptr< Grid1LocalGeometry > > grid1localgeom_
 
std::shared_ptr< Grid1Geometrygrid1geom_
 

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>
typedef AffineGeometry<typename GridGlue::Grid0View::ctype, mydim, GridGlue::Grid0View::dimensionworld> Dune::GridGlue::IntersectionData< P0, P1 >::Grid0Geometry

◆ Grid0IndexType

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

◆ Grid0LocalGeometry

template<typename P0, typename P1>
typedef AffineGeometry<typename GridGlue::Grid0View::ctype, mydim, GridGlue::Grid0View::dimension> Dune::GridGlue::IntersectionData< P0, P1 >::Grid0LocalGeometry

◆ Grid1Geometry

template<typename P0, typename P1>
typedef AffineGeometry<typename GridGlue::Grid1View::ctype, mydim, GridGlue::Grid1View::dimensionworld> Dune::GridGlue::IntersectionData< P0, P1 >::Grid1Geometry

◆ Grid1IndexType

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

◆ Grid1LocalGeometry

template<typename P0, typename P1>
typedef AffineGeometry<typename GridGlue::Grid1View::ctype, mydim, GridGlue::Grid1View::dimension> Dune::GridGlue::IntersectionData< P0, P1 >::Grid1LocalGeometry

◆ GridGlue

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

◆ IndexType

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

Member Enumeration Documentation

◆ anonymous enum

template<typename P0, typename P1>
anonymous enum

Dimension of the world space of the intersection.

Enumerator
coorddim 

◆ anonymous enum

template<typename P0, typename P1>
anonymous enum

Dimension of the intersection.

Enumerator
mydim 

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 Data Documentation

◆ grid0geom_

template<typename P0, typename P1>
std::shared_ptr<Grid0Geometry> Dune::GridGlue::IntersectionData< P0, P1 >::grid0geom_

Global intersection geometry on grid0 side.

This is the same as g∘i for the first embedding i into a grid0 entity as stored in grid0localgeom_ and that entities global geometry g.

◆ grid0indices_

template<typename P0, typename P1>
std::vector<Grid0IndexType> Dune::GridGlue::IntersectionData< P0, P1 >::grid0indices_

indices of the associated local grid0 entity

◆ grid0local_

template<typename P0, typename P1>
bool Dune::GridGlue::IntersectionData< P0, P1 >::grid0local_

true if the associated grid0 entity is local

◆ grid0localgeom_

template<typename P0, typename P1>
std::vector<std::shared_ptr<Grid0LocalGeometry> > Dune::GridGlue::IntersectionData< P0, P1 >::grid0localgeom_

Embedding of intersection into local grid0 entity coordinates.

◆ grid1geom_

template<typename P0, typename P1>
std::shared_ptr<Grid1Geometry> Dune::GridGlue::IntersectionData< P0, P1 >::grid1geom_

Global intersection geometry on grid1 side.

This is the same as g∘i for the first embedding i into a grid1 entity as stored in grid1localgeom_ and that entities global geometry g.

◆ grid1indices_

template<typename P0, typename P1>
std::vector<Grid1IndexType> Dune::GridGlue::IntersectionData< P0, P1 >::grid1indices_

indices of the associated local grid1 entity

◆ grid1local_

template<typename P0, typename P1>
bool Dune::GridGlue::IntersectionData< P0, P1 >::grid1local_

true if the associated grid1 entity is local

◆ grid1localgeom_

template<typename P0, typename P1>
std::vector<std::shared_ptr<Grid1LocalGeometry> > Dune::GridGlue::IntersectionData< P0, P1 >::grid1localgeom_

Embedding of intersection into local grid1 entity coordinates.

◆ index_

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

index of this intersection after GridGlue interface


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