shamo.utils.onelab.gmsh_open

shamo.utils.onelab.gmsh_open(mesh_path, logger=None)[source]

A context manager where Gmsh is initialized and its output is piped.

Parameters
mesh_path :

The path to the mesh file to open.

loggerlogging.Logger, optional

The logger to use. (The default is None)