Skip to content

[GPU] Refactor FileWriter and introduce WriterUtilites

This merge is extracts some functions from FileWriter and moves the to WriterUtilities. The purpose of this move ist to make these functions usable for a new writer. The new writer for zhe distributions will be introduced in a separate merge request.

This merge also adds a new method for identifying periodic cells in the writing process. The old version was not working for rotating grids.

I also created functions in Parameter that returns a constant instance of LBMSimulationParameter. The problem is that for const LBMSimulationParameter* parH the following statement compiles: parH->coordinateX[0] = 10.5. So using const LBMSimulationParameter* parH may be misleading. What do you think?

Merge request reports

Loading