The Open FUSION Toolkit 1.0.0-beta7
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.

Public Member Functions

 __init__ (self, name, sens_mask=False)
 Initialize I-coil.
 add_subcoil (self, RZ=None, pts=None, scale=None, npoints=None)
 Add a subcoil to this I-coil set.
 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
namestring, name of the coil set
sens_maskbool or array, sensitivity mask for coil points

Member Function Documentation

◆ add_subcoil()

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

Add a subcoil to this I-coil set.

Parameters
RZarray of [R, Z] positions (for non-custom coils)
ptsarray of [x, y, z] positions (for custom coils)
scalefloat, scaling factor for coil current (None if not specified)
npointsint, number of points (for custom coils)

◆ build_XML()

build_XML ( self,
parent_tag )

Build XML structure for this I-coil.

Parameters
parent_tagET.Element, parent XML element to attach to

Member Data Documentation

◆ name

name = name

◆ sens_mask

sens_mask = sens_mask

◆ subcoils

list subcoils = []

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