|
Peano
|
Implementation of the point data writer that basically maps the points onto a vtk text file, i.e. More...
#include <VTKWriter.h>


Data Structures | |
| class | PointDataWriter |
| A writer to assign points a value. More... | |
Public Member Functions | |
| VTKWriter (bool binaryFile, const std::string &fileName, const std::string &indexFileName, tarch::plotter::PVDTimeSeriesWriter::IndexFileMode modeFile, double timeStamp) | |
| virtual | ~VTKWriter () |
| virtual bool | writeToFile () override |
| Before we write to a file, we have to close the. | |
| virtual bool | isOpen () override |
| virtual void | clear () override |
| Clear the writer, i.e. | |
| virtual int | plotPoint (const tarch::la::Vector< 2, double > &position) override |
| virtual int | plotPoint (const tarch::la::Vector< 3, double > &position) override |
| virtual PointWriter::PointDataWriter * | createPointDataWriter (const std::string &identifier, int recordsPerPoint) override |
| Caller has to destroy this instance manually. | |
Public Member Functions inherited from tarch.plotter::pointdata::PointWriter | |
| virtual | ~PointWriter ()=default |
Private Member Functions | |
| VTKWriter (const VTKWriter &writer)=delete | |
| Copy constructor. | |
| VTKWriter & | operator= (const VTKWriter &writer)=delete |
| Assignment operator. | |
Static Private Attributes | |
| static tarch::mpi::BooleanSemaphore | _sempahore |
| This is a global (mpi) semaphore that I use to update/modify the index file over all files. | |
Implementation of the point data writer that basically maps the points onto a vtk text file, i.e.
it uses the unstructured grid writer.
Definition at line 35 of file VTKWriter.h.
|
privatedelete |
Copy constructor.
A writer never should be copied. However, we have to make this operation protected to allow implementations to hide their copy constructor as well.
| tarch.plotter::pointdata::vtk::VTKWriter::VTKWriter | ( | bool | binaryFile, |
| const std::string & | fileName, | ||
| const std::string & | indexFileName, | ||
| tarch::plotter::PVDTimeSeriesWriter::IndexFileMode | modeFile, | ||
| double | timeStamp | ||
| ) |
| fileName | Name of the file to write. Has to be unique per dump. |
| indexFileName | Name of the index file. Can we empty if you select NoIndexFile. |
|
virtual |
|
overridevirtual |
Clear the writer, i.e.
erase all the data. However, as the writer does not track how many vertex and cell writers you've created, it's up to you to ensure that none of these instances is left.
Implements tarch.plotter::pointdata::PointWriter.
Referenced by peano4.api.output.Makefile.Makefile::__init__().

|
overridevirtual |
Caller has to destroy this instance manually.
Implements tarch.plotter::pointdata::PointWriter.
|
overridevirtual |
Implements tarch.plotter::pointdata::PointWriter.
|
privatedelete |
Assignment operator.
A writer never should be copied. However, we have to make this operation protected to allow implementations to hide their copy constructor as well.
|
overridevirtual |
Implements tarch.plotter::pointdata::PointWriter.
|
overridevirtual |
Implements tarch.plotter::pointdata::PointWriter.
|
overridevirtual |
Before we write to a file, we have to close the.
However, we might have closed the point data plotters already and thus they might be down already. So we close them only if they are still up.
Implements tarch.plotter::pointdata::PointWriter.
|
private |
Definition at line 46 of file VTKWriter.h.
|
staticprivate |
This is a global (mpi) semaphore that I use to update/modify the index file over all files.
The individual data writes are totally concurrent.
Definition at line 42 of file VTKWriter.h.
|
private |
Definition at line 45 of file VTKWriter.h.
|
private |
Definition at line 44 of file VTKWriter.h.