![]() |
Peano
|
#include <PeanoHDF5PatchFileWriter.h>
Public Member Functions | |
CellDataWriter (const std::string &identifier, int unknownsPerAxis, int numberOfUnknowns, const std::string &description, const std::string &metaData, double *mapping, tarch::plotter::griddata::blockstructured::PeanoHDF5PatchFileWriter &writer) | |
virtual | ~CellDataWriter () |
virtual void | plotCell (int index, double value) override |
Write data for one cell. | |
virtual void | plotCell (int index, double *values) override |
virtual void | close () override |
If you close your writer, each cell/vertex has to be assigned a value, i.e. | |
virtual void | assignRemainingCellsDefaultValues () override |
virtual int | getFirstCellWithinPatch (int index) const override |
Protected Attributes | |
tarch::plotter::griddata::blockstructured::PeanoHDF5PatchFileWriter & | _writer |
const std::string | _identifier |
const int | _numberOfUnknowns |
std::vector< double > | _data |
Definition at line 66 of file PeanoHDF5PatchFileWriter.h.
tarch::plotter::griddata::blockstructured::PeanoHDF5PatchFileWriter::CellDataWriter::CellDataWriter | ( | const std::string & | identifier, |
int | unknownsPerAxis, | ||
int | numberOfUnknowns, | ||
const std::string & | description, | ||
const std::string & | metaData, | ||
double * | mapping, | ||
tarch::plotter::griddata::blockstructured::PeanoHDF5PatchFileWriter & | writer ) |
Definition at line 4 of file PeanoHDF5PatchFileWriter_CellDataWriter.cpp.
References tarch::plotter::griddata::blockstructured::PeanoHDF5PatchFileWriter::_dimensions, _identifier, _numberOfUnknowns, _writer, and tarch::plotter::griddata::blockstructured::PeanoHDF5PatchFileWriter::getNameOfCurrentDataset().
|
virtual |
Reimplemented from tarch::plotter::griddata::blockstructured::PatchWriter::CellDataWriter.
Definition at line 105 of file PeanoHDF5PatchFileWriter_CellDataWriter.cpp.
|
overridevirtual |
Implements tarch::plotter::griddata::blockstructured::PatchWriter::CellDataWriter.
Definition at line 199 of file PeanoHDF5PatchFileWriter_CellDataWriter.cpp.
|
overridevirtual |
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
Implements tarch::plotter::griddata::blockstructured::PatchWriter::CellDataWriter.
Definition at line 142 of file PeanoHDF5PatchFileWriter_CellDataWriter.cpp.
References assertion5, assertion6, and logDebug.
|
overridevirtual |
Implements tarch::plotter::griddata::blockstructured::PatchWriter::CellDataWriter.
Definition at line 207 of file PeanoHDF5PatchFileWriter_CellDataWriter.cpp.
|
overridevirtual |
Implements tarch::plotter::griddata::blockstructured::PatchWriter::CellDataWriter.
Definition at line 123 of file PeanoHDF5PatchFileWriter_CellDataWriter.cpp.
|
overridevirtual |
Write data for one cell.
index | Index of the cell. This index has to equal the index used for the cell within the VTKWriter class interface. |
value | Value for the cell. |
Implements tarch::plotter::griddata::blockstructured::PatchWriter::CellDataWriter.
Definition at line 108 of file PeanoHDF5PatchFileWriter_CellDataWriter.cpp.
|
protected |
Definition at line 72 of file PeanoHDF5PatchFileWriter.h.
Referenced by peano4.datamodel.DaStGen2.DaStGen2Generator::construct_output(), peano4.datamodel.DaStGen2.DaStGen2GeneratorForObjectsWithSmartPointers::construct_output(), peano4.toolbox.particles.ParticleSet.ParticleSetGenerator_ScatteredOnHeap_IndexByList::construct_output(), peano4.toolbox.particles.ParticleSet.ParticleSetGenerator_ScatteredOnHeap_IndexByVector::construct_output(), peano4.toolbox.particles.ParticleSet.ParticleSetGenerator_ContinuousPerVertex::construct_output(), peano4.toolbox.particles.ParticleSet.ParticleSetGenerator_GlobalContinuous::construct_output(), peano4.datamodel.DaStGen2.DaStGen2Generator::get_header_file_include(), peano4.datamodel.DaStGen2.DaStGen2GeneratorForObjectsWithSmartPointers::get_header_file_include(), peano4.toolbox.particles.ParticleSet.AbstractParticleSetGenerator::get_header_file_include(), peano4.datamodel.DaStGen2.DaStGen2Generator::get_stack_container(), peano4.datamodel.DaStGen2.DaStGen2GeneratorForObjectsWithSmartPointers::get_stack_container(), peano4.datamodel.DynamicArrayOverPrimitivesToStdVector.DynamicArrayOverPrimitivesToStdVector::get_stack_container(), and peano4.toolbox.particles.ParticleSet.AbstractParticleSetGenerator::get_stack_container().
|
protected |
Definition at line 70 of file PeanoHDF5PatchFileWriter.h.
Referenced by CellDataWriter().
|
protected |
Definition at line 71 of file PeanoHDF5PatchFileWriter.h.
Referenced by CellDataWriter().
|
protected |
Definition at line 68 of file PeanoHDF5PatchFileWriter.h.
Referenced by CellDataWriter().