The Open FUSION Toolkit 26.6
An open-source framework for fusion and plasma science and engineering
Loading...
Searching...
No Matches
util.py File Reference

Namespaces

namespace  OpenFUSIONToolkit
 Python interface for Open FUSION Toolkit.
namespace  OpenFUSIONToolkit.util
 Helper functions for Open FUSION Toolkit (OFT) Python interfaces.

Functions

 oft_warning (warning, details=[])
 Print warning in common format.
 read_fortran_namelist (file0, silent=True, b_arr=False)
 run_shell_command (command, timeout=10, env_vars={})
 Run a shell command.
 write_native_mesh (filename, r, lc, reg, nodesets=[], sidesets=[], ho_info=None, periodic_info=None)

Variables

float eC = 1.60217663e-19
 Electron charge.
int mu0 = numpy.pi*4.E-7
 Vacuum magnetic permeability.