|
| | LagrangeDataCollector (GridView const &gridView, int order=ORDER) |
| |
| void | updateImpl () |
| | Construct the point sets. More...
|
| |
| std::uint64_t | numPointsImpl () const |
| | Return number of lagrange nodes. More...
|
| |
| template<class T > |
| std::vector< T > | pointsImpl () const |
| | Return a vector of point coordinates. More...
|
| |
| std::uint64_t | numCellsImpl () const |
| | Return number of grid cells. More...
|
| |
| Cells | cellsImpl () const |
| | Return cell types, offsets, and connectivity. More...
|
| |
| template<class T , class GlobalFunction > |
| std::vector< T > | pointDataImpl (GlobalFunction const &fct) const |
| | Evaluate the fct at element vertices and edge centers in the same order as the point coords. 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, int ORDER = -1>
class Dune::Vtk::LagrangeDataCollector< GridView, ORDER >
Implementation of DataCollector for lagrange cells.
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)
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