dune-grid  2.3.1
Public Types | Public Member Functions | Public Attributes | Protected Types | List of all members
Dune::GrapeGridDisplay< GridType > Class Template Reference

#include <dune/grid/io/visual/grapegriddisplay.hh>

Inheritance diagram for Dune::GrapeGridDisplay< GridType >:
Inheritance graph

Public Types

typedef
GridType::HierarchicIterator 
HierarchicIteratorType
 
typedef
GridType::Traits::LocalIdSet 
LocalIdSetType
 
typedef
GridType::Traits::LeafIndexSet 
LeafIndexSetType
 

Public Member Functions

 GrapeGridDisplay (const GridType &grid, const int myrank=-1)
 Constructor, make a GrapeGridDisplay for given grid. More...
 
template<class GridPartType >
 GrapeGridDisplay (const GridPartType &gridPart, const int myrank=-1)
 Constructor, make a GrapeGridDisplay for given grid. More...
 
template<class VT >
 GrapeGridDisplay (const GridView< VT > &gridView, const int myrank=-1)
 
 ~GrapeGridDisplay ()
 Destructor for GrapeGridDisplay. More...
 
void display ()
 
int myRank () const
 return rank of this display, for visualisation of parallel grid More...
 
const GridType & getGrid () const
 return reference to Dune Grid More...
 

Public Attributes

const GridType & grid_
 
const bool hasLevelIntersections_
 
void * gridPart_
 
void * indexSet_
 
const LocalIdSetTypelid_
 
const int myRank_
 
void * hmesh_
 
HierarchicIteratorList hierList_
 

Protected Types

typedef std::list
< HierarchicIteratorType * > 
HierarchicIteratorList
 
typedef
HierarchicIteratorList::iterator 
ListIteratorType
 

Detailed Description

template<class GridType>
class Dune::GrapeGridDisplay< GridType >

Todo:
Please doc me!

Member Typedef Documentation

template<class GridType >
typedef std::list<HierarchicIteratorType *> Dune::GrapeGridDisplay< GridType >::HierarchicIteratorList
protected
template<class GridType >
typedef GridType::HierarchicIterator Dune::GrapeGridDisplay< GridType >::HierarchicIteratorType
template<class GridType >
typedef GridType::Traits::LeafIndexSet Dune::GrapeGridDisplay< GridType >::LeafIndexSetType
template<class GridType >
typedef HierarchicIteratorList::iterator Dune::GrapeGridDisplay< GridType >::ListIteratorType
protected
template<class GridType >
typedef GridType::Traits::LocalIdSet Dune::GrapeGridDisplay< GridType >::LocalIdSetType

Constructor & Destructor Documentation

template<class GridType >
Dune::GrapeGridDisplay< GridType >::GrapeGridDisplay ( const GridType &  grid,
const int  myrank = -1 
)
inline

Constructor, make a GrapeGridDisplay for given grid.

References Dune::GrapeGridDisplay< GridType >::hmesh_, and setupHmesh().

template<class GridType >
template<class GridPartType >
Dune::GrapeGridDisplay< GridType >::GrapeGridDisplay ( const GridPartType &  gridPart,
const int  myrank = -1 
)
inline

Constructor, make a GrapeGridDisplay for given grid.

References Dune::GrapeGridDisplay< GridType >::hmesh_, and setupHmesh().

template<class GridType >
template<class VT >
Dune::GrapeGridDisplay< GridType >::GrapeGridDisplay ( const GridView< VT > &  gridView,
const int  myrank = -1 
)
inline

References setupHmesh().

template<class GridType >
Dune::GrapeGridDisplay< GridType >::~GrapeGridDisplay ( )
inline

Destructor for GrapeGridDisplay.

References deleteHmesh().

Member Function Documentation

template<class GridType >
void Dune::GrapeGridDisplay< GridType >::display ( )
inline

Calls the display of the grid and draws the discrete function if discretefunction is NULL, then only the grid is displayed

References handleMesh().

template<class GridType >
const GridType & Dune::GrapeGridDisplay< GridType >::getGrid ( ) const
inline

return reference to Dune Grid

template<class GridType >
int Dune::GrapeGridDisplay< GridType >::myRank ( ) const
inline

return rank of this display, for visualisation of parallel grid

References Dune::GrapeGridDisplay< GridType >::myRank_.

Member Data Documentation

template<class GridType >
const GridType& Dune::GrapeGridDisplay< GridType >::grid_
template<class GridType >
void* Dune::GrapeGridDisplay< GridType >::gridPart_
template<class GridType >
const bool Dune::GrapeGridDisplay< GridType >::hasLevelIntersections_
template<class GridType >
HierarchicIteratorList Dune::GrapeGridDisplay< GridType >::hierList_
template<class GridType >
void* Dune::GrapeGridDisplay< GridType >::hmesh_
template<class GridType >
void* Dune::GrapeGridDisplay< GridType >::indexSet_
template<class GridType >
const LocalIdSetType& Dune::GrapeGridDisplay< GridType >::lid_
template<class GridType >
const int Dune::GrapeGridDisplay< GridType >::myRank_

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