dune-grid-glue  2.4.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 SimplexGeometry< typename GridGlue::Grid0View::ctype, mydim, GridGlue::Grid0View::dimension > Grid0LocalGeometry
 
typedef SimplexGeometry< typename GridGlue::Grid0View::ctype, mydim, GridGlue::Grid0View::dimensionworld > Grid0Geometry
 
typedef SimplexGeometry< typename GridGlue::Grid1View::ctype, mydim, GridGlue::Grid1View::dimension > Grid1LocalGeometry
 
typedef SimplexGeometry< 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< shared_ptr< Grid0LocalGeometry > > grid0localgeom_
 
shared_ptr< Grid0Geometrygrid0geom_
 
std::vector< shared_ptr< Grid1LocalGeometry > > grid1localgeom_
 
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

template<typename P0, typename P1>
typedef SimplexGeometry<typename GridGlue::Grid0View::ctype, mydim, GridGlue::Grid0View::dimensionworld> Dune::GridGlue::IntersectionData< P0, P1 >::Grid0Geometry
template<typename P0, typename P1>
typedef GridGlue::Grid0View::IndexSet::IndexType Dune::GridGlue::IntersectionData< P0, P1 >::Grid0IndexType
template<typename P0, typename P1>
typedef SimplexGeometry<typename GridGlue::Grid0View::ctype, mydim, GridGlue::Grid0View::dimension> Dune::GridGlue::IntersectionData< P0, P1 >::Grid0LocalGeometry
template<typename P0, typename P1>
typedef SimplexGeometry<typename GridGlue::Grid1View::ctype, mydim, GridGlue::Grid1View::dimensionworld> Dune::GridGlue::IntersectionData< P0, P1 >::Grid1Geometry
template<typename P0, typename P1>
typedef GridGlue::Grid1View::IndexSet::IndexType Dune::GridGlue::IntersectionData< P0, P1 >::Grid1IndexType
template<typename P0, typename P1>
typedef SimplexGeometry<typename GridGlue::Grid1View::ctype, mydim, GridGlue::Grid1View::dimension> Dune::GridGlue::IntersectionData< P0, P1 >::Grid1LocalGeometry
template<typename P0, typename P1>
typedef ::Dune::GridGlue::GridGlue<P0, P1> Dune::GridGlue::IntersectionData< P0, P1 >::GridGlue
template<typename P0, typename P1>
typedef GridGlue::IndexType Dune::GridGlue::IntersectionData< P0, P1 >::IndexType

Member Enumeration Documentation

template<typename P0, typename P1>
anonymous enum

Dimension of the world space of the intersection.

Enumerator
coorddim 
template<typename P0, typename P1>
anonymous enum

Dimension of the intersection.

Enumerator
mydim 

Constructor & Destructor Documentation

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

Default Constructor.

Member Data Documentation

template<typename P0, typename P1>
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.

Referenced by Dune::GridGlue::IntersectionData< P0, P1 >::IntersectionData().

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

true if the associated grid0 entity is local

Referenced by Dune::GridGlue::GridGlue< P0, P1 >::mergePatches().

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

Embedding of intersection into local grid0 entity coordinates.

Referenced by Dune::GridGlue::IntersectionData< P0, P1 >::IntersectionData().

template<typename P0, typename P1>
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.

Referenced by Dune::GridGlue::IntersectionData< P0, P1 >::IntersectionData().

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

true if the associated grid1 entity is local

Referenced by Dune::GridGlue::GridGlue< P0, P1 >::mergePatches().

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

Embedding of intersection into local grid1 entity coordinates.

Referenced by Dune::GridGlue::IntersectionData< P0, P1 >::IntersectionData().

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: