Dune Core Modules (2.11.0)
datacollectorinterface.hh
Base class for data collectors in a CRTP style.
Definition: datacollectorinterface.hh:18
void update()
Update the DataCollector on the current GridView.
Definition: datacollectorinterface.hh:45
std::uint64_t numCells() const
Return the number of cells in (this partition of the) grid.
Definition: datacollectorinterface.hh:57
std::vector< T > pointData(VtkFunction const &fct) const
Return a flat vector of function values evaluated at the points.
Definition: datacollectorinterface.hh:91
std::vector< T > cellData(VtkFunction const &fct) const
Return a flat vector of function values evaluated at the cells in the order of traversal.
Definition: datacollectorinterface.hh:104
int ghostLevel() const
Return the number of ghost elements.
Definition: datacollectorinterface.hh:51
std::vector< T > points() const
Return a flat vector of point coordinates.
Definition: datacollectorinterface.hh:76
std::uint64_t numPoints() const
Return the number of points in (this partition of the) grid.
Definition: datacollectorinterface.hh:63
static constexpr auto partition
The partitionset to collect data from.
Definition: datacollectorinterface.hh:24
GV GridView
Type of the bound grid view.
Definition: datacollectorinterface.hh:21
GridView const & gridView() const
Return the bound grid view.
Definition: datacollectorinterface.hh:39
DataCollectorInterface(GridView const &gridView)
Store a copy of the GridView.
Definition: datacollectorinterface.hh:34
static constexpr int dimension
The dimension of the grid.
Definition: gridview.hh:134
static constexpr int dimensionworld
The dimension of the world the grid lives in.
Definition: gridview.hh:137
|
Legal Statements / Impressum |
Hosted by TU Dresden & Uni Heidelberg |
generated with Hugo v0.111.3
(Feb 14, 23:39, 2026)