zoomy_core.mesh.browse_meshes

zoomy_core.mesh.browse_meshes#

Backward-compatible free functions around MeshCatalog; new code should use MeshCatalog directly.

Module Contents#

Functions#

show_meshes_async

Async: refresh the catalog, optionally print it, and return its entries.

show_meshes

Return (and optionally print) the catalog entries; returns a coroutine under Pyodide.

download_mesh_async

Async: download mesh_name of the given size and filetype into folder.

download_mesh

Download mesh_name of the given size and filetype into folder; returns a coroutine under Pyodide.

get_boundary_names

Return the gmsh physical tags per cell type of a mesh file (needs meshio).

API#

async zoomy_core.mesh.browse_meshes.show_meshes_async(do_print=True)#

Async: refresh the catalog, optionally print it, and return its entries.

zoomy_core.mesh.browse_meshes.show_meshes(do_print=True)#

Return (and optionally print) the catalog entries; returns a coroutine under Pyodide.

async zoomy_core.mesh.browse_meshes.download_mesh_async(mesh_name, folder='./', filetype='msh', size='medium')#

Async: download mesh_name of the given size and filetype into folder.

zoomy_core.mesh.browse_meshes.download_mesh(mesh_name, folder='./', filetype='msh', size='medium')#

Download mesh_name of the given size and filetype into folder; returns a coroutine under Pyodide.

zoomy_core.mesh.browse_meshes.get_boundary_names(mesh_path, do_print=True)#

Return the gmsh physical tags per cell type of a mesh file (needs meshio).