Dune::GrapeGridDisplay< GridType > Class Template Reference
[Grape]

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

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

List of all members.

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

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

Reimplemented in Dune::GrapeDataDisplay< GridType >.

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

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

return reference to Dune Grid

References Dune::GrapeGridDisplay< GridType >::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 >::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:

Generated on Fri Apr 29 2011 with Doxygen (ver 1.7.1) [doxygen-log,error-log].