Molecular Dynamics  v0.4
Project for the Practical hosted by the Scientific Computing Chair
VTKWriter.h
Go to the documentation of this file.
1 /*
2  * VTKWriter.h
3  *
4  * Created on: 01.03.2010
5  * Author: eckhardw
6  */
7 
8 #pragma once
9 
12 #include <cstdlib>
13 #include <fstream>
14 #include <iomanip>
15 #include <string>
16 
17 namespace outputWriter {
18 
23 class VTKWriter {
24 
25 public:
27 
28  virtual ~VTKWriter();
29 
33  void initializeOutput(int numParticles);
34 
40  void plotParticle(Particle &p);
41 
49  void writeFile(const std::string &filename, int iteration);
50 
51 private:
53 };
54 
55 } // namespace outputWriter
Definition: Particle.h:16
Class corresponding to the VTKFile_t schema type.
Definition: vtk-unstructured.h:1904
Definition: VTKWriter.h:23
void initializeOutput(int numParticles)
Definition: VTKWriter.cpp:16
void plotParticle(Particle &p)
Definition: VTKWriter.cpp:58
VTKFile_t * vtkFile
Definition: VTKWriter.h:52
void writeFile(const std::string &filename, int iteration)
Definition: VTKWriter.cpp:49
Definition: VTKWriter.cpp:10
::xsd::cxx::tree::string< char, simple_type > string
C++ type corresponding to the string XML Schema built-in type.
Definition: vtk-unstructured.h:270
Generated from vtk-unstructured.xsd.