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

#include <grapegriddisplay.hh>

Inheritance diagram for Dune::GrapeGridDisplay< GridType >:

Dune::GrapeDataDisplay< GridType >

List of all members.


Detailed Description

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

Todo:
Please doc me!

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.
 ~GrapeGridDisplay ()
 Destructor for GrapeGridDisplay.
void display ()
int myRank () const
 return rank of this display, for visualisation of parallel grid
void * getHmesh ()
 return pointer to Grape Hmesh
DUNE_DAT & getDuneDat ()
void addMyMeshToTimeScene (void *timescene, double time, int proc)
const GridTypegetGrid () const
 return reference to Dune Grid
template<class IntersectionIteratorType>
void checkNeighbors (IntersectionIteratorType &, const IntersectionIteratorType &, DUNE_ELEM *)

Protected Attributes

const GridTypegrid_
 the grid we want to display
const bool hasLevelIntersections_
 true if we can use LevelIntersectionIterator
void * indexSet_
 leaf index set of the grid
const LocalIdSetType & lid_
 leaf index set of the grid
const int myRank_
 my process number
DUNE_ELEM hel_
 store the actual element pointer
void * hmesh_
 pointer to hmesh

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

template<class GridType>
DUNE_DAT& Dune::GrapeGridDisplay< GridType >::getDuneDat (  )  [inline]

Todo:
Please doc me!

template<class GridType>
void Dune::GrapeGridDisplay< GridType >::addMyMeshToTimeScene ( void *  timescene,
double  time,
int  proc 
) [inline]

template<class GridType>
template<class IntersectionIteratorType>
void Dune::GrapeGridDisplay< GridType >::checkNeighbors ( IntersectionIteratorType &  nit,
const IntersectionIteratorType &  endnit,
DUNE_ELEM *  he 
) [inline]


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

Generated on Sun Nov 15 22:29:02 2009 for dune-grid by  doxygen 1.5.6