The Open FUSION Toolkit 26.9
An open-source framework for fusion and plasma science and engineering
Loading...
Searching...
No Matches
OpenFUSIONToolkit._gmsh_cli Namespace Reference

Detailed Description

Python cli for GMSH to native Open FUSION Toolkit mesh conversion.

See OFT_convert_gmsh: GMSH to native Open FUSION Toolkit mesh conversion

Authors
Chris Hansen
Date
July 2026

Functions

 convert_gmsh_to_native (in_file, out_file=None)
 Convert GMSH mesh to native Open FUSION Toolkit mesh.
 read_legacy (fid)
 read_mesh (filename)
 read_new (fid)
 script_entry ()
 Command line interface for GMSH to native Open FUSION Toolkit mesh conversion.

Variables

 ed_map_tet
 ed_map_tri

Function Documentation

◆ convert_gmsh_to_native()

convert_gmsh_to_native ( in_file,
out_file = None )

Convert GMSH mesh to native Open FUSION Toolkit mesh.

Parameters
in_fileInput mesh file
out_fileOutput mesh file (optional, default is in_file with .h5 extension)

◆ read_legacy()

read_legacy ( fid)

◆ read_mesh()

read_mesh ( filename)

◆ read_new()

read_new ( fid)

◆ script_entry()

script_entry ( )

Command line interface for GMSH to native Open FUSION Toolkit mesh conversion.

See @convert_gmsh

Variable Documentation

◆ ed_map_tet

ed_map_tet
Initial value:
= np.array([
[0,1],
[1,2],
[0,2],
[0,3],
[1,3],
[2,3]
])

◆ ed_map_tri

ed_map_tri
Initial value:
= np.array([
[0,1],
[1,2],
[2,0]
])