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

Detailed Description

I-coil class for defining current-driven coils in OpenFUSIONToolkit.

Inheritance diagram for ThinCurr_Icoil:

Public Member Functions

 __init__ (self, name, sens_mask=False)
 Initialize I-coil.
 add_subcoil (self, RZ=None, pts=None, scale=None, npoints=None, hdf5_path=None)
 Add a subcoil to this V-coil set.
 build_coil_XML (self, coil_set)
 Build XML structure for this V-coil.
 build_XML (self, parent_tag)
 Build XML structure for this I-coil.

Public Attributes

 name = name
 sens_mask = sens_mask
list subcoils = []

Constructor & Destructor Documentation

◆ __init__()

__init__ ( self,
name,
sens_mask = False )

Initialize I-coil.

Parameters
nameName of the coil set
sens_maskMasking flag for coil (if True, coil is masked from sensors)

Member Function Documentation

◆ add_subcoil()

add_subcoil ( self,
RZ = None,
pts = None,
scale = None,
npoints = None,
hdf5_path = None )
inherited

Add a subcoil to this V-coil set.

Parameters
RZ[R, Z] position (for circular coils; centered on Z-axis)
ptsArray of [x, y, z] positions (for general coils)
scaleScaling factor for coil current (1.0 if not specified)
npointsNumber of points (for general coils)
hdf5_pathPath to HDF5 dataset containing coil points (alternative to pts and RZ)

◆ build_coil_XML()

build_coil_XML ( self,
coil_set )
inherited

Build XML structure for this V-coil.

Parameters
coil_setCoil set XML element to attach to

◆ build_XML()

build_XML ( self,
parent_tag )

Build XML structure for this I-coil.

Parameters
parent_tagParent XML element to attach to

Member Data Documentation

◆ name

name = name
inherited

◆ sens_mask

sens_mask = sens_mask
inherited

◆ subcoils

list subcoils = []
inherited

The documentation for this class was generated from the following file: