Open jomichaelis opened 2 weeks ago
I remember that we used to have that (both the indices and the header). Maybe you can check if you find it somewhere, eg some stale branch or some commented out code, and then open a pull request
I have found the following commit, where such funcitonality was commented out: https://github.com/HSU-HPC/MaMiCo/commit/c75e694e4620abb1a78fde78f855aa7ef2f94c1c#diff-033d765e13d57639ef36eda541784436456a1087b3b4187737dc22091bbc211a
It seems like the cell indexing has changed since that time, which makes adding the functionality a non-trivial task for me as "MaMiCo-newbie". I'll see what I can do as soon as I find the time.
The filter pipeline allows for the generation of csv output files, as is shown in the following exemplary
couette.xml
:This results in a file
nofilter.csv
:The first column denotes the coupling cycle, while the second and the three following columns represent the mass and the 3 dimensional momentum, as specified in the
couette.xml
file above.The developer/user is however left without information about the interpretation of the csv lines. It might be very beneficial to include the corresponding cell index to each row to prevent misinterpretation in post processing steps. Also, users need to be aware of their own configuration of the output file, as there is no header written to the csv file.
Example
The csv-files generated by MaMiCo's couette-test coupling functionality could serve as example. When specifying a postive value in the
couette.xml
:, the simulation writes out csv-files in the following format:
Goal
Include cell index to filter output files and allow for an optional header specification, like so: (
couette.xml
)generates
nofilter.csv
like so:Additional Info
This is not urgent, just a constructive input without any time constraints. The change would simplify post processing a lot and also decreases susceptibility to errors due to misinterpretation.