|
The Open FUSION Toolkit 1.0.0-beta6
Modeling tools for plasma and fusion research and engineering
|
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 | |
| __init__ | ( | self, | |
| type = None, | |||
| loc = 0., | |||
| val = None, | |||
| err = None ) |
Create local safety factor constraint.
| type | Type of constraint |
| loc | Location of constraint in \( \hat{\psi} \) |
| val | Value of constraint |
| err | Error in constraint |
| read | ( | self, | |
| file ) |
Read local safety factor constraint from file.
| file | Open file object containing constraint, must be positioned at start of constraint |
| write | ( | self, | |
| file ) |
Write local safety factor constraint to file.
| file | Open file object for saving constraints |
| err = err |
| loc = loc |
| type = type |
| val = val |