|
dune-vtk 2.12
|
Loading...
Searching...
No Matches
structureddatacollector.hh
Go to the documentation of this file.
Definition writer.hh:16
typename Impl::StructuredDataCollectorImpl< GridView, typename GridView::Grid >::type StructuredDataCollector
Definition structureddatacollector.hh:243
int size() const
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
auto comm() const
Definition datacollectorinterface.hh:110
std::uint64_t numPoints() const
Return the number of points in (this partition of the) grid.
Definition datacollectorinterface.hh:63
@ dim
Definition datacollectorinterface.hh:27
static constexpr auto partition
The partitionset to collect data from.
Definition datacollectorinterface.hh:24
GridView GridView
Type of the bound grid view.
Definition datacollectorinterface.hh:21
Derived & asDerived()
Definition datacollectorinterface.hh:117
GridView const & gridView() const
Return the bound grid view.
Definition datacollectorinterface.hh:39
Implementation of DataCollector for linear cells, with continuous data.
Definition continuousdatacollector.hh:19
The Interface for structured data-collectors.
Definition structureddatacollector.hh:17
std::uint64_t numCellsImpl() const
Return number of grid cells.
Definition structureddatacollector.hh:113
std::array< std::vector< T >, 3 > coordinatesImpl() const
Definition structureddatacollector.hh:204
void writePieces(Writer const &writer) const
Call the writer with piece number and piece extent.
Definition structureddatacollector.hh:55
FieldVector< ctype, 3 > originImpl() const
Definition structureddatacollector.hh:189
typename GridView::ctype ctype
Definition structureddatacollector.hh:21
ContinuousDataCollector< GridView > SubDataCollector
Definition structureddatacollector.hh:20
void writeLocalPiece(Writer const &writer) const
Call the writer with extent.
Definition structureddatacollector.hh:48
void writePiecesImpl(Writer const &writer) const
Definition structureddatacollector.hh:168
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:41
std::array< int, 6 > wholeExtent() const
Sequence of Index pairs [begin, end) for the cells in each direction.
Definition structureddatacollector.hh:35
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:82
std::vector< T > pointDataImpl(GlobalFunction const &fct) const
Definition structureddatacollector.hh:137
FieldVector< ctype, 3 > spacingImpl() const
Definition structureddatacollector.hh:196
void updateImpl()
\copyref DefaultDataCollector::update.
Definition structureddatacollector.hh:93
std::vector< T > pointsImpl() const
Definition structureddatacollector.hh:130
FieldVector< ctype, 3 > origin() const
Lower left corner of the grid.
Definition structureddatacollector.hh:64
StructuredDataCollectorInterface(GridView const &gridView)
Definition structureddatacollector.hh:29
std::uint64_t numPointsImpl() const
Return number of grid vertices.
Definition structureddatacollector.hh:123
void writeLocalPieceImpl(Writer const &writer) const
Definition structureddatacollector.hh:144
FieldVector< ctype, 3 > spacing() const
Constant grid spacing in each coordinate direction.
Definition structureddatacollector.hh:70
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