Dune Core Modules (2.4.1)

Dune::GrapeDataDisplay< GridType > Class Template Reference

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

Public Member Functions

 GrapeDataDisplay (const GridType &grid, const int myrank=-1)
 Constructor, make a GrapeDataDisplay for given grid.
 
template<class GridPartType >
 GrapeDataDisplay (const GridPartType &gridPart, const int myrank=-1)
 Constructor, make a GrapeDataDisplay for given grid.
 
 ~GrapeDataDisplay ()
 Desctructor.
 
template<class VectorType , class IndexSetType >
void displayVector (const std::string name, const VectorType &data, const IndexSetType &indexSet, const int polOrd, const unsigned int dimRange, bool continuous=false)
 
template<class DiscFuncType >
void dataDisplay (const DiscFuncType &func, bool vector=false)
 
void display ()
 display grid and data without grid mode
 
template<class DiscFuncType >
void addData (const DiscFuncType &func, double time=0.0, bool vector=false)
 add discrete function to display
 
template<class DiscFuncType >
void addData (const DiscFuncType &func, std::string name, double time, bool vector=false)
 add discrete function to display
 
int myRank () const
 return rank of this display, for visualisation of parallel grid
 
const GridType & getGrid () const
 return reference to Dune Grid
 

Detailed Description

template<class GridType>
class Dune::GrapeDataDisplay< GridType >

Todo:
Please doc me!

Member Function Documentation

◆ dataDisplay()

template<class GridType >
template<class DiscFuncType >
void Dune::GrapeDataDisplay< GridType >::dataDisplay ( const DiscFuncType &  func,
bool  vector = false 
)
inline

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

◆ displayVector()

template<class GridType >
template<class VectorType , class IndexSetType >
void Dune::GrapeDataDisplay< GridType >::displayVector ( const std::string  name,
const VectorType &  data,
const IndexSetType &  indexSet,
const int  polOrd,
const unsigned int  dimRange,
bool  continuous = false 
)
inline

display data stored in vector

Parameters
nameName of data (i.e. solution)
dataData vector storing data to display
indexSetThe corresponding index set related to the data
polOrdpolynominal order of Lagrangespace, only 0 and 1 allowed at the momnent
dimRangedimension of the result data (scalar: 1)
continuouscontinuous or not (i.e polOrd = 0 ==> discontinuous) default is discontinuous

The documentation for this class was generated from the following files:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.80.0 (Apr 29, 22:29, 2024)