|
dune-vtk 2.12
|
Loading...
Searching...
No Matches
structureddatacollector.hh
Go to the documentation of this file.
Definition datacollector.hh:19
typename Impl::StructuredDataCollectorImpl< GridView, typename GridView::Grid >::type StructuredDataCollector
Definition structureddatacollector.hh:245
int size() const
Base class for data collectors in a CRTP style.
Definition datacollectorinterface.hh:20
void update()
Update the DataCollector on the current GridView.
Definition datacollectorinterface.hh:47
std::uint64_t numPoints() const
Return the number of points in (this partition of the) grid.
Definition datacollectorinterface.hh:65
@ dim
Definition datacollectorinterface.hh:29
static constexpr auto partition
The partitionset to collect data from.
Definition datacollectorinterface.hh:26
GridView GridView
Type of the bound grid view.
Definition datacollectorinterface.hh:23
Derived & asDerived()
Definition datacollectorinterface.hh:119
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
The Interface for structured data-collectors.
Definition structureddatacollector.hh:19
std::uint64_t numCellsImpl() const
Return number of grid cells.
Definition structureddatacollector.hh:115
std::array< std::vector< T >, 3 > coordinatesImpl() const
Definition structureddatacollector.hh:206
void writePieces(Writer const &writer) const
Call the writer with piece number and piece extent.
Definition structureddatacollector.hh:57
FieldVector< ctype, 3 > originImpl() const
Definition structureddatacollector.hh:191
typename GridView::ctype ctype
Definition structureddatacollector.hh:23
ContinuousDataCollector< GridView > SubDataCollector
Definition structureddatacollector.hh:22
void writeLocalPiece(Writer const &writer) const
Call the writer with extent.
Definition structureddatacollector.hh:50
void writePiecesImpl(Writer const &writer) const
Definition structureddatacollector.hh:170
std::array< int, 6 > extent() const
Sequence of Index pairs [begin, end) for the cells in each direction of the local partition.
Definition structureddatacollector.hh:43
std::array< int, 6 > wholeExtent() const
Sequence of Index pairs [begin, end) for the cells in each direction.
Definition structureddatacollector.hh:37
std::array< std::vector< T >, 3 > coordinates() const
The coordinates defines point coordinates for an extent by specifying the ordinate along each axis.
Definition structureddatacollector.hh:84
std::vector< T > pointDataImpl(GlobalFunction const &fct) const
Definition structureddatacollector.hh:139
FieldVector< ctype, 3 > spacingImpl() const
Definition structureddatacollector.hh:198
void updateImpl()
\copyref DefaultDataCollector::update.
Definition structureddatacollector.hh:95
std::vector< T > pointsImpl() const
Definition structureddatacollector.hh:132
FieldVector< ctype, 3 > origin() const
Lower left corner of the grid.
Definition structureddatacollector.hh:66
StructuredDataCollectorInterface(GridView const &gridView)
Definition structureddatacollector.hh:31
std::uint64_t numPointsImpl() const
Return number of grid vertices.
Definition structureddatacollector.hh:125
void writeLocalPieceImpl(Writer const &writer) const
Definition structureddatacollector.hh:146
FieldVector< ctype, 3 > spacing() const
Constant grid spacing in each coordinate direction.
Definition structureddatacollector.hh:72
T data(T... args)
T resize(T... args)
T size(T... args)
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8