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.TokaMaker
 Python interface for TokaMaker Grad-Shafranov functionality.
namespace  OpenFUSIONToolkit.TokaMaker.util
 General utility and supporting functions for TokaMaker.

Functions

 compute_forces_components (tMaker_obj, psi, cell_centered=False)
 Compute terms needed for evaluating forces in passively conducting regions.
 create_isoflux (npts, r0, z0, a, kappa, delta, kappaL=None, deltaL=None)
 Create isoflux points using simple analytic form.
 create_power_flux_fun (npts, alpha, gamma)
 Build power law flux function of the form \( (1-\hat{\psi}^{\alpha})^{\gamma} \).
 create_spline_flux_fun (npts, x, y, axis_bc=[1, 0.0], edge_bc=[1, 0.0], normalize=True)
 Build cubic spline flux function.
 eval_green (x, xc)
 Evaluate Green's function for a toroidal filament.
 read_eqdsk (filename)
 Read gEQDSK file.
 read_ifile (filename)
 Read i-file inverse equilibrium file.
 read_kfile (path, machine_dict, e_coil_names=None, f_coil_names=None)
 read_mhdin (path, e_coil_names=None, f_coil_names=None)