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

Detailed Description

TokaMaker equilibrium reconstruction local safety factor constraint.

Public Member Functions

 __init__ (self, type=None, loc=0., val=None, err=None)
 Create local safety factor constraint.
 read (self, file)
 Read local safety factor constraint from file.
 write (self, file)
 Write local safety factor constraint to file.

Public Attributes

int err = err
 loc = loc
 type = type
 val = val

Constructor & Destructor Documentation

◆ __init__()

__init__ ( self,
type = None,
loc = 0.,
val = None,
err = None )

Create local safety factor constraint.

Parameters
typeType of constraint
locLocation of constraint in \( \hat{\psi} \)
valValue of constraint
errError in constraint

Member Function Documentation

◆ read()

read ( self,
file )

Read local safety factor constraint from file.

Parameters
fileOpen file object containing constraint, must be positioned at start of constraint

◆ write()

write ( self,
file )

Write local safety factor constraint to file.

Parameters
fileOpen file object for saving constraints

Member Data Documentation

◆ err

err = err

◆ loc

loc = loc

◆ type

type = type

◆ val

val = val

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