dune-alugrid 2.8.0
Loading...
Searching...
No Matches
Classes | Public Types | Public Member Functions | Protected Attributes | List of all members
Dune::DefaultBoundarySegmentIndexSet< Grid > Class Template Reference

DefaultBoundarySegmentIndexSet creates an index set for the macro boundary segments. More...

#include <dune/alugrid/common/defaultindexsets.hh>

Inheritance diagram for Dune::DefaultBoundarySegmentIndexSet< Grid >:
Inheritance graph

Classes

struct  Index
 

Public Types

typedef int IndexType
 type of index More...
 
typedef std::vector< IndexSegmentIndexVectorType
 type of geometry types More...
 

Public Member Functions

 DefaultBoundarySegmentIndexSet ()
 
IndexType index (const int segmentId) const
 return LevelIndex of given entity More...
 
IndexType size () const
 
template<class GridViewType >
void update (const GridViewType &gridView)
 
bool valid () const
 
void invalidate ()
 

Protected Attributes

SegmentIndexVectorType segmentIndex_
 
int numSegments_
 

Detailed Description

template<class Grid>
class Dune::DefaultBoundarySegmentIndexSet< Grid >

DefaultBoundarySegmentIndexSet creates an index set for the macro boundary segments.

Member Typedef Documentation

◆ IndexType

template<class Grid >
typedef int Dune::DefaultBoundarySegmentIndexSet< Grid >::IndexType

type of index

◆ SegmentIndexVectorType

template<class Grid >
typedef std::vector< Index > Dune::DefaultBoundarySegmentIndexSet< Grid >::SegmentIndexVectorType

type of geometry types

Constructor & Destructor Documentation

◆ DefaultBoundarySegmentIndexSet()

template<class Grid >
Dune::DefaultBoundarySegmentIndexSet< Grid >::DefaultBoundarySegmentIndexSet ( )
inline

Member Function Documentation

◆ index()

template<class Grid >
IndexType Dune::DefaultBoundarySegmentIndexSet< Grid >::index ( const int  segmentId) const
inline

return LevelIndex of given entity

◆ invalidate()

template<class Grid >
void Dune::DefaultBoundarySegmentIndexSet< Grid >::invalidate ( )
inline

◆ size()

template<class Grid >
IndexType Dune::DefaultBoundarySegmentIndexSet< Grid >::size ( ) const
inline

◆ update()

template<class Grid >
template<class GridViewType >
void Dune::DefaultBoundarySegmentIndexSet< Grid >::update ( const GridViewType &  gridView)
inline

do calculation of the index set, has to be called when grid was changed or if index set is created

◆ valid()

template<class Grid >
bool Dune::DefaultBoundarySegmentIndexSet< Grid >::valid ( ) const
inline

Member Data Documentation

◆ numSegments_

template<class Grid >
int Dune::DefaultBoundarySegmentIndexSet< Grid >::numSegments_
protected

◆ segmentIndex_

template<class Grid >
SegmentIndexVectorType Dune::DefaultBoundarySegmentIndexSet< Grid >::segmentIndex_
protected

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