The Open FUSION Toolkit 1.0.0-beta6
Modeling tools for plasma and fusion research 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

 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.