Dune Core Modules (2.4.1)
#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 >
class Dune::GrapeDataDisplay< GridType >
- Todo:
- Please doc me!
Member Function Documentation
◆ dataDisplay()
template<class GridType >
template<class DiscFuncType >
|
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 >
|
inline |
display data stored in vector
- Parameters
-
name Name of data (i.e. solution) data Data vector storing data to display indexSet The corresponding index set related to the data polOrd polynominal order of Lagrangespace, only 0 and 1 allowed at the momnent dimRange dimension of the result data (scalar: 1) continuous continuous or not (i.e polOrd = 0 ==> discontinuous) default is discontinuous
The documentation for this class was generated from the following files:
- dune/grid/io/visual/grapedatadisplay.hh
- dune/grid/io/visual/grape/grapedatadisplay.cc
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Dec 22, 23:30, 2024)