MaMiCo 1.2
|
This class writes molecule data to streams for .vtk file. More...
#include <VTKMoleculePlotter.h>
Public Member Functions | |
VTKMoleculePlotter (std::stringstream &moleculeVelocities, std::stringstream &moleculePositions, std::stringstream &moleculePotentials, const std::string &appendFloatZeros, coupling::interface::MDSolverInterface< LinkedCell, dim > *const mdSolverInterface) | |
~VTKMoleculePlotter () | |
void | beginCellIteration () |
void | endCellIteration () |
void | handleCell (LinkedCell &cell) |
const unsigned int & | getParticleCounter () const |
Private Attributes | |
coupling::interface::MDSolverInterface< LinkedCell, dim > *const | _mdSolverInterface |
std::stringstream & | _moleculeVelocities |
std::stringstream & | _moleculePositions |
std::stringstream & | _moleculePotentials |
const std::string & | _appendFloatZeros |
unsigned int | _particleCounter |
This class writes molecule data to streams for .vtk file.
LinkedCell | cell type |
dim | Number of dimensions; it can be 1, 2 or 3 |
|
inline |
Constructor
moleculeVelocities | |
moleculePositions | |
moleculePotentials | |
appendFloatZeros | |
mdSolverInterface |
|
inline |
Destructor
|
inline |
sets the particle counter to zero, before the iteration process begins.
|
inline |
empty function
|
inline |
returns number if the particles
|
inline |
writes molecule data to the corresponding stringstreams.
cell |