You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that some of the tests or at least test_thermo_mechanical_cube
write xdmf files to disk for no apparent reason.
If there is a reason, but the files are not compared to some reference data afterwards, I would suggest that these could simply be temporary files. Something like
importtempfileimportpathlibtf=tempfile.NamedTemporaryFile(suffix=".xmdf")
pv_name=pathlib.Path(tf.name).stem# it seems class below does not want suffix?# ... lots of code ...problem_elastic=LinearElasticity(experiment, parameters, pv_name=f"{pv_name}_{dim}", pv_path="")
problem_elastic.solve()
problem_elastic.pv_plot()
tf.close() # temporary file is deleted when closed
The text was updated successfully, but these errors were encountered:
I noticed that some of the tests or at least test_thermo_mechanical_cube
write xdmf files to disk for no apparent reason.
If there is a reason, but the files are not compared to some reference data afterwards, I would suggest that these could simply be temporary files. Something like
The text was updated successfully, but these errors were encountered: