Open komatits opened 7 years ago
From Emanuele @casarotti :
probably because the new version will set also the block with all the hex, not only the sides.......
Do you think this can be fixed or improved (without taking too much time for you to make the change)?
Ccing @jpampuero and @kbai , since they use that script all the time and thus they might be surprised to see that it has become significantly slower.
yes I think that I can improve it
On Wed, Jan 11, 2017 at 5:48 PM, Dimitri Komatitsch < notifications@github.com> wrote:
Do you think this can be fixed or improved (without taking too much time for you to make the change)?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/geodynamics/specfem3d/issues/915#issuecomment-271922728, or mute the thread https://github.com/notifications/unsubscribe-auth/AAEDaJHujLC4PD9bKmAWoUQYMkOTHqJYks5rRQfOgaJpZM4Lgzhz .
From Bence @bencesolymosi :
Sorry to bother you again, but I have compared the new version of cubit2specfem3d.py with an older version from December: the new version is significantly slower. Exporting mesh_file is still very fast, but the new version is by orders of magnitude slower in exporting the boundaries (e.g.absorbing_surface_file_xmax).
To give you an idea I show here the time difference between the first (mesh_file) and last (nummaterial_velocity_file) files exported using the December and the recent versions: December: 47 seconds Recent version: 1080 seconds (!) (~ factor of 23)
Otherwise the recent version works perfectly, it's just the exporting time that has become huge.