simnibs.read_msh

simnibs.read_msh(fn, m=None, skip_data=False)

Reads a gmsh ‘.msh’ file

Parameters:
  • fn (str) – File name

  • m (simnibs.msh.Msh (optional)) – Mesh structure to be overwritten. If unset, will create a new structure

  • skip_data (bool (optional)) – If True, reading of NodeData and ElementData will be skipped (Default: False)

Returns:

msh – Mesh structure

Return type:

simnibs.msh.Msh