Implementation of DataCollector for linear cells, with continuous data.
More...
#include <dune/vtk/datacollectors/continuousdatacollector.hh>
|
enum | { dim = GridView::dimension
} |
| The dimension of the grid. More...
|
|
enum | { dow = GridView::dimensionworld
} |
| The dimension of the world. More...
|
|
using | GridView = GridViewType |
|
|
| ContinuousDataCollector (GridView const &gridView) |
|
void | updateImpl () |
| Collect the vertex indices. More...
|
|
std::uint64_t | numPointsImpl () const |
| Return number of grid vertices. More...
|
|
template<class T > |
std::vector< T > | pointsImpl () const |
| Return the coordinates of all grid vertices in the order given by the indexSet. More...
|
|
std::vector< std::uint64_t > | pointIdsImpl () const |
| Return a vector of global unique ids of the points. More...
|
|
std::uint64_t | numCellsImpl () const |
| Return number of grid cells. More...
|
|
Cells | cellsImpl () const |
|
template<class T , class GlobalFunction > |
std::vector< T > | pointDataImpl (GlobalFunction const &fct) const |
| Evaluate the fct at the corners of the elements. 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...
|
|
template<class T > |
std::vector< T > | points () const |
| Return a flat vector of point coordinates. More...
|
|
template<class T , class VtkFunction > |
std::vector< T > | pointData (VtkFunction const &fct) const |
| Return a flat vector of function values evaluated at the points. More...
|
|
template<class T , class VtkFunction > |
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 |
|
template<class T , class VtkFunction > |
std::vector< T > | cellDataImpl (VtkFunction const &fct) const |
|
template<class GridView, class Partition = Partitions::InteriorBorder>
class Dune::Vtk::ContinuousDataCollector< GridView, Partition >
Implementation of DataCollector for linear cells, with continuous data.
◆ GridView
template<class GridViewType , class Derived , class Partition = Partitions::InteriorBorder>
◆ anonymous enum
template<class GridViewType , class Derived , class Partition = Partitions::InteriorBorder>
The dimension of the grid.
◆ anonymous enum
template<class GridViewType , class Derived , class Partition = Partitions::InteriorBorder>
The dimension of the world.
◆ ContinuousDataCollector()
template<class GridView , class Partition = Partitions::InteriorBorder>
◆ asDerived() [1/2]
template<class GridViewType , class Derived , class Partition = Partitions::InteriorBorder>
◆ asDerived() [2/2]
template<class GridViewType , class Derived , class Partition = Partitions::InteriorBorder>
◆ cellData()
template<class GridViewType , class Derived , class Partition = Partitions::InteriorBorder>
template<class T , class VtkFunction >
Return a flat vector of function values evaluated at the cells in the order of traversal.
- See also
- pointData. Note: Cells might be described explicitly by connectivity, offsets, and types, e.g. in an UnstructuredGrid, or might be described implicitly by the grid type, e.g. in StructuredGrid.
◆ cellDataImpl()
template<class GV , class D , class P >
template<class T , class VtkFunction >
◆ cells()
Return cell types, offsets, and connectivity.
- See also
- Cells
◆ cellsImpl()
template<class GridView , class Partition = Partitions::InteriorBorder>
Return the types, offsets and connectivity of the cells, using the same connectivity as given by the grid.
◆ ghostLevel()
template<class GridViewType , class Derived , class Partition = Partitions::InteriorBorder>
Return the number of ghost elements.
◆ ghostLevelImpl()
template<class GridViewType , class Derived , class Partition = Partitions::InteriorBorder>
◆ numCells()
template<class GridViewType , class Derived , class Partition = Partitions::InteriorBorder>
Return the number of cells in (this partition of the) grid.
◆ numCellsImpl()
template<class GridView , class Partition = Partitions::InteriorBorder>
Return number of grid cells.
◆ numPoints()
template<class GridViewType , class Derived , class Partition = Partitions::InteriorBorder>
Return the number of points in (this partition of the) grid.
◆ numPointsImpl()
template<class GridView , class Partition = Partitions::InteriorBorder>
Return number of grid vertices.
◆ pointData()
template<class GridViewType , class Derived , class Partition = Partitions::InteriorBorder>
template<class T , class VtkFunction >
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)
◆ pointDataImpl()
template<class GridView , class Partition = Partitions::InteriorBorder>
template<class T , class GlobalFunction >
Evaluate the fct
at the corners of the elements.
◆ pointIds()
◆ pointIdsImpl()
template<class GridView , class Partition = Partitions::InteriorBorder>
Return a vector of global unique ids of the points.
◆ points()
template<class GridViewType , class Derived , class Partition = Partitions::InteriorBorder>
template<class T >
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
◆ pointsImpl()
template<class GridView , class Partition = Partitions::InteriorBorder>
template<class T >
Return the coordinates of all grid vertices in the order given by the indexSet.
◆ update()
template<class GridViewType , class Derived , class Partition = Partitions::InteriorBorder>
Update the DataCollector on the current GridView.
◆ updateImpl()
template<class GridView , class Partition = Partitions::InteriorBorder>
Collect the vertex indices.
◆ gridView_
◆ indexMap_
template<class GridView , class Partition = Partitions::InteriorBorder>
◆ numCells_
template<class GridView , class Partition = Partitions::InteriorBorder>
◆ numPoints_
template<class GridView , class Partition = Partitions::InteriorBorder>
◆ partition
The partitionset to collect data from.
The documentation for this class was generated from the following file: