|
dune-vtk 0.2
|
Implementation of DataCollector for linear cells, with discontinuous data. More...
#include <dune/vtk/datacollectors/discontinuousdatacollector.hh>

Public Types | |
| enum | |
| The dimension of the grid. More... | |
| enum | |
| The dimension of the world. More... | |
| using | GridView = GridView |
Public Member Functions | |
| DiscontinuousDataCollector (GridView const &gridView) | |
| void | updateImpl () |
| Create an index map the uniquely assigns an index to each pair (element,corner) More... | |
| std::uint64_t | numPointsImpl () const |
| The number of points approx. #cell * #corners-per-cell. More... | |
| template<class T > | |
| std::vector< T > | pointsImpl () const |
| Return the coordinates of the corners of all cells. More... | |
| std::uint64_t | numCellsImpl () const |
| Return number of grid cells. More... | |
| Cells | cellsImpl () const |
| Connect the corners of each cell. The leads to a global discontinuous grid. More... | |
| template<class T , class GlobalFunction > | |
| std::vector< T > | pointDataImpl (GlobalFunction const &fct) const |
Evaluate the fct in the corners of each cell. More... | |
| Cells | cells () const |
| Return cell types, offsets, and connectivity. More... | |
| std::vector< std::uint64_t > | pointIds () const |
| void | update () |
| Update the DataCollector on the current GridView. More... | |
| int | ghostLevel () const |
| Return the number of ghost elements. More... | |
| std::uint64_t | numCells () const |
| Return the number of cells in (this partition of the) grid. More... | |
| std::uint64_t | numPoints () const |
| Return the number of points in (this partition of the) grid. More... | |
| std::vector< T > | points () const |
| Return a flat vector of point coordinates. More... | |
| std::vector< T > | pointData (VtkFunction const &fct) const |
| Return a flat vector of function values evaluated at the points. More... | |
| std::vector< T > | cellData (VtkFunction const &fct) const |
| Return a flat vector of function values evaluated at the cells in the order of traversal. More... | |
| int | ghostLevelImpl () const |
| std::vector< T > | cellDataImpl (VtkFunction const &fct) const |
Static Public Attributes | |
| static constexpr auto | partition |
| The partitionset to collect data from. More... | |
Protected Member Functions | |
| std::vector< std::uint64_t > | pointIdsImpl () const |
| DiscontinuousDataCollector< GridView, Partitions::InteriorBorder > & | asDerived () |
| const DiscontinuousDataCollector< GridView, Partitions::InteriorBorder > & | asDerived () const |
Protected Attributes | |
| std::uint64_t | numCells_ = 0 |
| std::uint64_t | numPoints_ = 0 |
| std::vector< std::int64_t > | indexMap_ |
| GridView | gridView_ |
Implementation of DataCollector for linear cells, with discontinuous data.
|
inherited |
|
inherited |
The dimension of the grid.
|
inherited |
The dimension of the world.
|
inline |
|
inlineprotectedinherited |
|
inlineprotectedinherited |
|
inlineinherited |
|
inherited |
|
inlineinherited |
Return cell types, offsets, and connectivity.
|
inline |
Connect the corners of each cell. The leads to a global discontinuous grid.
|
inlineinherited |
Return the number of ghost elements.
|
inlineinherited |
|
inlineinherited |
Return the number of cells in (this partition of the) grid.
|
inline |
Return number of grid cells.
|
inlineinherited |
Return the number of points in (this partition of the) grid.
|
inline |
The number of points approx. #cell * #corners-per-cell.
|
inlineinherited |
Return a flat vector of function values evaluated at the points.
In case of a vector valued function, flat the vector entries: [fct(p0)_0, fct(p0)_1, fct(p0)_2, fct(p1)_0, ...] where the vector dimension must be 3 (possible extended by 0s) In case of tensor valued function, flat the tensor row-wise: [fct(p0)_00, fct(p0)_01, fct(p0)_02, fct(p0)_10, fct(p0)_11, fct(p0)_12, fct(p0)_20...] where the tensor dimension must be 3x3 (possible extended by 0s)
|
inline |
Evaluate the fct in the corners of each cell.
|
inlineinherited |
|
inlineprotectedinherited |
|
inlineinherited |
Return a flat vector of point coordinates.
All coordinates are extended to 3 components and concatenated. [p0_x, p0_y, p0_z, p1_x, p1_y, p1_z, ...] If the GridView::dimensionworld < 3, the remaining components are set to 0
|
inline |
Return the coordinates of the corners of all cells.
|
inlineinherited |
Update the DataCollector on the current GridView.
|
inline |
Create an index map the uniquely assigns an index to each pair (element,corner)
|
protectedinherited |
|
protected |
|
protected |
|
protected |
|
staticconstexprinherited |
The partitionset to collect data from.