|
dune-vtk 2.12
|
Loading...
Searching...
No Matches
celltypedatacollector.hh
Go to the documentation of this file.
19 : public UnstructuredDataCollectorInterface<GridView, CellTypeDataCollector<GridView>, Partitions::All>
38 using Super::partition; // NOTE: cell-type data-collector currently implemented for the All partition only
42 CellTypeDataCollector (GridView const& gridView, Vtk::CellType::Parametrization param = Vtk::CellType::LINEAR)
Definition datacollector.hh:19
unspecified value type referenceElement(T &&... t)
size_type size() const
Index subIndex(const typename GV::template Codim< 0 >::Entity &e, int i, unsigned int codim) const
void update(const GV &gridView)
std::uint64_t numCells() const
Return the number of cells in (this partition of the) grid.
Definition datacollectorinterface.hh:59
std::uint64_t numPoints() const
Return the number of points in (this partition of the) grid.
Definition datacollectorinterface.hh:65
GridView const & gridView() const
Return the bound grid view.
Definition datacollectorinterface.hh:41
Implementation of DataCollector for cells, with continuous data.
Definition celltypedatacollector.hh:20
std::vector< T > pointsImpl() const
Return a vector of point coordinates.
Definition celltypedatacollector.hh:66
CellTypeDataCollector(GridView const &gridView, Vtk::CellType::Parametrization param=Vtk::CellType::LINEAR)
Definition celltypedatacollector.hh:42
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.
Definition celltypedatacollector.hh:125
std::uint64_t numPointsImpl() const
Return number of vertices + number of edge.
Definition celltypedatacollector.hh:55
void updateImpl()
Update the mapper.
Definition celltypedatacollector.hh:49
std::uint64_t numCellsImpl() const
Return number of grid cells.
Definition celltypedatacollector.hh:89
Cells cellsImpl() const
Return cell types, offsets, and connectivity.
Definition celltypedatacollector.hh:99
Definition unstructureddatacollector.hh:14
std::vector< std::int64_t > offsets
Definition unstructureddatacollector.hh:16
std::vector< std::int64_t > connectivity
Definition unstructureddatacollector.hh:17
Definition unstructureddatacollector.hh:28
static constexpr auto partition
The partitionset to collect data from.
Definition datacollectorinterface.hh:26
Cells cells() const
Return cell types, offsets, and connectivity.
Definition unstructureddatacollector.hh:47
T push_back(T... args)
T reserve(T... args)
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8