The Open FUSION Toolkit 1.0.0-beta6
Modeling tools for plasma and fusion research and engineering
Loading...
Searching...
No Matches
meshing.py File Reference

Classes

class  ThinCurr_periodic_toroid
 Helper class for working with periodic toroid models. More...

Namespaces

namespace  OpenFUSIONToolkit
 Python interface for Open FUSION Toolkit.
namespace  OpenFUSIONToolkit.ThinCurr
 Python interface for ThinCurr thin-wall E-M functionality.
namespace  OpenFUSIONToolkit.ThinCurr.meshing
 ThinCurr utilities for mesh generation and manipulation.

Functions

 build_regcoil_grid (filename, field_suffix, ntheta, nphi, full_torus=False)
 Build a uniform grid from a REGCOIL definition.
 build_ThinCurr_dummy (center, size=1.0, nsplit=0)
 Build simple square dummy mesh for ThinCurr (1 active node).
 build_torus_bnorm_grid (filename, nsample, nphi, resample_type='theta', use_spline=False)
 Build a uniform grid from a toroidal surface B-norm definition file.
 build_triangles_from_grid (data_grid, wrap_n=True, wrap_m=True)
 Build triangles from a uniform grid of points.
 write_ThinCurr_mesh (filename, r, lc, reg, holes=[], closures=[], pmap=None, nfp=None)
 Create a native HDF5 mesh file for ThinCurr from the given mesh information.