loganoz / horses3d

HORSES3D: A high-order discontinuous Galerkin solver for flow simulations and multi-physics applications
https://loganoz.github.io/horses3d/
MIT License
112 stars 24 forks source link

Delete temp file when using "hsol files pattern" #155

Open Andres-MG opened 1 year ago

Andres-MG commented 1 year ago

When using the "hsol files pattern" option in a control file for horses2plt, we create a temporary file to store the output of ls [hsol files pattern] and then read it. We are not deleting this file, so after running horses2plt this new file remains in the folder. I don't know if this behaviour is expected, but I think it can confuse non-developers.

This PR fixes this, we can merge if you think this is better than what we have now.