The Open FUSION Toolkit 1.0.0-8905cc5
Modeling tools for plasma and fusion research and engineering
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
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

 err
 
 loc
 
 type
 
 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

◆ loc

loc

◆ type

type

◆ val

val

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