Open zengbs opened 4 years ago
We don't have this in directly, no. In essence we'd be extracting the code from the _figure_data
function in https://github.com/harpolea/r3d2/blob/master/r3d2/riemann_problem.py where the data is temporarily stored in the data
variable. Note that the data
returned from the function is not the data array - it's been overwritten by the figure data.
For any given wave you can get the data using wave.plotting_data
(taking care about the direction of the wave). That could be dumped directly right now, but would require more work.
Dear maintainers, Does r3d2 code support printing ASCII data to file? In my opinion, this feature is very helpful for comparing exact solution and the data obtained from sr-hydro solver. thanks!