-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Leading Zeros in Output Files #145
Comments
You mean, something along the lines of Could you explain more the motivation for this? |
The latter. It could be an option in the run_simulation(nsteps, ...; ..., n_leading_zeros=nothing)
if n_leading_zeros === nothing
n_leading_zeros = ndigits(nsteps) +2 # add some margin for more steps in future
end
fname = lpad(string(10), n_leading_zeros, "0")
println(fname)
end |
That's odd. I have never run into issues with ParaView being able to sort time steps from the format |
Although I've not had this problem, I think this might happen when Paraview is built with Qt4. |
Win11, Paraview 5.12 |
It would be better if the output files (.vtk, h5, xmf, ...) of
run_simulation
had leading zeros by default for Paraview.In the meantime, I think I will write a script that renames all result files.
The text was updated successfully, but these errors were encountered: