|
#include <ParticleVtkWriter.h>
Public Member Functions | |
ParticleVtkWriter (ParticleHandler &particleHandler) | |
virtual | ~ParticleVtkWriter ()=default |
virtual std::string | getName () const =0 |
Public Member Functions inherited from BaseVTKWriter< ParticleHandler > | |
BaseVTKWriter (ParticleHandler &handler) | |
BaseVTKWriter (const BaseVTKWriter &other) | |
virtual void | writeVTK () const=0 |
unsigned | getFileCounter () const |
void | setFileCounter (unsigned fileCounter) |
Protected Member Functions | |
void | writeExtraFields (std::fstream &file) const |
void | writeVTKIndSpecies (std::fstream &file) const |
void | writeVTKPositions (std::fstream &file) const |
bool | particleMustBeWritten (BaseParticle *particle) const |
Protected Member Functions inherited from BaseVTKWriter< ParticleHandler > | |
std::fstream | makeVTKFileWithHeader () const |
void | writeVTKFooterAndClose (std::fstream &file) const |
Additional Inherited Members | |
Protected Attributes inherited from BaseVTKWriter< ParticleHandler > | |
ParticleHandler & | handler_ |
particle handler from which the particles should be written More... | |
unsigned int | fileCounter |
|
inlineexplicit |
|
virtualdefault |
|
pure virtual |
Implemented in SuperQuadricParticleVtkWriter, and SphericalParticleVtkWriter.
|
inlineprotected |
References BaseParticle::isMPIParticle(), and BaseParticle::isPeriodicGhostParticle().
Referenced by writeExtraFields(), SphericalParticleVtkWriter::writeVTKAngularVelocity(), SphericalParticleVtkWriter::writeVTKId(), writeVTKIndSpecies(), writeVTKPositions(), SphericalParticleVtkWriter::writeVTKRadius(), and SphericalParticleVtkWriter::writeVTKVelocity().
|
protected |
References BaseHandler< T >::getLastObject(), BaseParticle::getNameVTK(), BaseHandler< T >::getSize(), BaseParticle::getTypeVTK(), BaseVTKWriter< ParticleHandler >::handler_, constants::i, and particleMustBeWritten().
Referenced by SphericalParticleVtkWriter::writeVTK().
|
protected |
References BaseVTKWriter< ParticleHandler >::handler_, and particleMustBeWritten().
Referenced by SphericalParticleVtkWriter::writeVTK(), and SuperQuadricParticleVtkWriter::writeVTK().
|
protected |
References BaseVTKWriter< ParticleHandler >::handler_, and particleMustBeWritten().
Referenced by SphericalParticleVtkWriter::writeVTK(), and SuperQuadricParticleVtkWriter::writeVTK().