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
|
template<class GV , int dimR, int polOrd> |
void | addData (const GrapeFunction< GV, dimR, polOrd > &function) |
int | myRank () const |
| return rank of this display, for visualisation of parallel grid
|
const GridType & | getGrid () const |
| return reference to Dune Grid
|
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
-
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 |
References Dune::Alberta::abs(), handleMesh(), Dune::Alberta::max(), and Dune::Alberta::min().