GLVis / pyglvis

GLVis Jupyter Widget
BSD 3-Clause "New" or "Revised" License
12 stars 3 forks source link

About In-memory data transfer to glvis #4

Closed sshiraiwa closed 3 years ago

sshiraiwa commented 3 years ago

Hi,

Base on the previous discussion, WriteToStream is added in PyMFEM (https://github.com/mfem/PyMFEM/pull/55). This allows to write a data from Mesh/Gridfunction/Vector object to io.IOString. I think this allows to eliminate a need to write a temporary file in https://github.com/GLVis/pyglvis/blob/master/glvis/widget.py#L25. Please use 4.2.0.8

tzanio commented 3 years ago

Thank you @sshiraiwa !

tzanio commented 3 years ago

@rw-anderson, fyi you can now WriteToStream directly in PyMFEM see also #6 🎉