|
Peano
|
A writer for scalar data on elements. More...
#include <PatchWriter.h>

Public Member Functions | |
| virtual | ~CellDataWriter ()=default |
| virtual void | plotCell (int index, double value)=0 |
| Write data for one cell. | |
| virtual void | plotCell (int index, double *values)=0 |
| virtual void | close ()=0 |
| If you close your writer, each cell/vertex has to be assigned a value, i.e. | |
| virtual void | assignRemainingCellsDefaultValues ()=0 |
| virtual int | getFirstCellWithinPatch (int patchIndex) const =0 |
A writer for scalar data on elements.
Definition at line 50 of file PatchWriter.h.
|
virtualdefault |
|
pure virtual |
|
pure virtual |
If you close your writer, each cell/vertex has to be assigned a value, i.e.
you may not add less data than you have cells. See
Implemented in tarch.plotter::griddata::blockstructured::PeanoBinaryPatchFileWriter::CellDataWriter, tarch.plotter::griddata::blockstructured::PeanoHDF5PatchFileWriter::CellDataWriter, and tarch.plotter::griddata::blockstructured::PeanoTextPatchFileWriter::CellDataWriter.
|
pure virtual |
|
pure virtual |
|
pure virtual |
Write data for one cell.
You have to tell the plotter which cell you want to manipulate. If you are not sure, use getFirstCellWithinPatch() of the class to transform the patch index you got from plotPatch() into a proper vertex/cell index.
| index | Index of the cell. |
| value | Value for the cell. |
Implemented in tarch.plotter::griddata::blockstructured::PeanoBinaryPatchFileWriter::CellDataWriter, tarch.plotter::griddata::blockstructured::PeanoHDF5PatchFileWriter::CellDataWriter, and tarch.plotter::griddata::blockstructured::PeanoTextPatchFileWriter::CellDataWriter.