#include <TxtWriter.h>
◆ writeToFile()
Writes particles from a given particle container to a .txt file.
- Parameters
-
| pc | Particle Container which contains the particles that should be written to the .txt file. |
| filename | Name of the file the contents of the particle container are written to. Important: Do not call the file checkpointTest14562547.txt since it could somehow interfere with the remove command in the TxtWriterTest.cpp |
- Returns
- 0, if the operation was successful, 1 otherwise.
The documentation for this class was generated from the following files:
- /home/runner/work/MolSim/MolSim/src/fileHandling/outputWriter/TXTWriter/TxtWriter.h
- /home/runner/work/MolSim/MolSim/src/fileHandling/outputWriter/TXTWriter/TxtWriter.cpp