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
As of right now, you must provide the file path to your .msh mesh using a python string. Since many users utilize python's built in pathlib.Path objects for indicating the mesh directory it would be nice to be able to pass them as arguments. I believe the solution could be added to firedrake/mesh.py _from_gmsh(filename, comm=None) as follows:
if isinstance(filename, Path):
filename = filename.as_posix()
Or something similar.
The text was updated successfully, but these errors were encountered:
As of right now, you must provide the file path to your .msh mesh using a python string. Since many users utilize python's built in
pathlib.Path
objects for indicating the mesh directory it would be nice to be able to pass them as arguments. I believe the solution could be added to firedrake/mesh.py_from_gmsh(filename, comm=None)
as follows:Or something similar.
The text was updated successfully, but these errors were encountered: