madreher / radahn

Radahn is an interactive molecular dynamic application allowing users to steer their MD simulations and getting live feedback. The framework is currently build around LAMMPS as a simulation backend and will be extended to Gromacs in the future.
MIT License
0 stars 0 forks source link

CSV Writer for dynamic field list #50

Closed madreher closed 3 months ago

madreher commented 3 months ago

Add a CSV writer for cases where the list of fields is not known at compile time and may change over time. When the class is writing the file, the complete list of field is evaluated and each frame is written. For each frame, if a given field is not available, it writes an empty data. Consequently, the csv file may contain empty cells.