|
dune-vtk 0.2
|
#include <dune/vtk/datacollectors/yaspdatacollector.hh>

Public Types | |
| enum | |
| The dimension of the grid. More... | |
| enum | |
| The dimension of the world. More... | |
| using | GridView = GridView |
Public Member Functions | |
| YaspDataCollector (GridView const &gridView) | |
| std::array< int, 6 > const & | wholeExtentImpl () const |
| std::array< int, 6 > const & | extentImpl () const |
| auto const & | originImpl () const |
| auto const & | spacingImpl () const |
| void | updateImpl () |
| void | initGeometry (EquidistantCoordinates< ctype, dim > const &coords) |
| void | initGeometry (EquidistantOffsetCoordinates< ctype, dim > const &coords) |
| void | initGeometry (TensorProductCoordinates< ctype, dim > const &coords) |
| template<class T > | |
| std::array< std::vector< T >, 3 > | coordinatesImpl () const |
| Extract the ordinates from the coordinates object of the current level. More... | |
| std::array< int, 6 > | wholeExtent () const |
| Sequence of Index pairs [begin, end) for the cells in each direction. More... | |
| std::array< int, 6 > | extent () const |
| Sequence of Index pairs [begin, end) for the cells in each direction of the local partition. More... | |
| void | writeLocalPiece (Writer const &writer) const |
Call the writer with extent. More... | |
| void | writePieces (Writer const &writer) const |
Call the writer with piece number and piece extent. More... | |
| std::uint64_t | numCellsImpl () const |
| Return number of grid cells. More... | |
| std::uint64_t | numPointsImpl () const |
| Return number of grid vertices. More... | |
| std::vector< T > | pointsImpl () const |
| std::vector< T > | pointDataImpl (GlobalFunction const &fct) const |
| void | writeLocalPieceImpl (Writer const &writer) const |
| void | writePiecesImpl (Writer const &writer) 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 |
| FieldVector< ctype, 3 > | origin () const |
| Lower left corner of the grid. More... | |
| FieldVector< ctype, 3 > | spacing () const |
| Constant grid spacing in each coordinate direction. More... | |
| std::array< std::vector< T >, 3 > | coordinates () const |
| The coordinates defines point coordinates for an extent by specifying the ordinate along each axis. More... | |
Static Public Attributes | |
| static constexpr auto | partition |
| The partitionset to collect data from. More... | |
Protected Types | |
| using | SubDataCollector = ContinuousDataCollector< GridView > |
Protected Member Functions | |
| YaspDataCollector< GridView > & | asDerived () |
| const YaspDataCollector< GridView > & | asDerived () const |
Protected Attributes | |
| std::array< int, 6 > | wholeExtent_ |
| std::array< int, 6 > | extent_ |
| FieldVector< ctype, 3 > | origin_ |
| FieldVector< ctype, 3 > | spacing_ |
| int | level_ |
| SubDataCollector | subDataCollector_ |
| std::vector< std::array< int, 6 > > | extents_ |
| std::vector< MPI_Request > | requests_ |
| MPI_Request | sendRequest_ |
| GridView | gridView_ |
|
inherited |
|
protectedinherited |
|
inherited |
The dimension of the grid.
|
inherited |
The dimension of the world.
|
inline |
|
inlineprotectedinherited |
|
inlineprotectedinherited |
|
inlineinherited |
|
inherited |
|
inlineinherited |
The coordinates defines point coordinates for an extent by specifying the ordinate along each axis.
Interface for RectilinearGrid
|
inline |
Extract the ordinates from the coordinates object of the current level.
|
inlineinherited |
Sequence of Index pairs [begin, end) for the cells in each direction of the local partition.
|
inline |
|
inlineinherited |
Return the number of ghost elements.
|
inlineinherited |
|
inline |
|
inline |
|
inline |
|
inlineinherited |
Return the number of cells in (this partition of the) grid.
|
inlineinherited |
Return number of grid cells.
|
inlineinherited |
Return the number of points in (this partition of the) grid.
|
inlineinherited |
Return number of grid vertices.
|
inlineinherited |
Lower left corner of the grid.
Interface for ImageData:
|
inline |
|
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)
|
inlineinherited |
|
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
|
inlineinherited |
|
inlineinherited |
Constant grid spacing in each coordinate direction.
|
inline |
|
inlineinherited |
Update the DataCollector on the current GridView.
|
inline |
|
inlineinherited |
Sequence of Index pairs [begin, end) for the cells in each direction.
|
inline |
|
inlineinherited |
Call the writer with extent.
|
inlineinherited |
|
inlineinherited |
Call the writer with piece number and piece extent.
|
inlineinherited |
|
protected |
|
mutableprotectedinherited |
|
protectedinherited |
|
protected |
|
protected |
|
staticconstexprinherited |
The partitionset to collect data from.
|
mutableprotectedinherited |
|
mutableprotectedinherited |
|
protected |
|
protectedinherited |
|
protected |