|
The Open FUSION Toolkit 1.0.0-beta5
Modeling tools for plasma and fusion research and engineering
|
Python interface for TokaMaker Grad-Shafranov functionality.
Classes | |
| class | gs_Domain |
| Grad-Sharvanov domain definitions for TokaMaker with Triangle library meshing. More... | |
| class | Mesh |
| Mesh builder class for triangle library. More... | |
| class | Region |
| Region class for oftpy.Mesh class. More... | |
Functions | |
| load_gs_mesh (filename, use_hdf5=True) | |
| Load G-S mesh to file in HDF5 format. | |
| run_triangle (alpha) | |
| save_gs_mesh (pts, tris, regions, coil_dict, cond_dict, filename, use_hdf5=True) | |
| Save G-S mesh to file in HDF5 format. | |
| load_gs_mesh | ( | filename, | |
use_hdf5 = True |
|||
| ) |
Load G-S mesh to file in HDF5 format.
| filename | Path to HDF5 mesh file |
| run_triangle | ( | alpha | ) |
| save_gs_mesh | ( | pts, | |
| tris, | |||
| regions, | |||
| coil_dict, | |||
| cond_dict, | |||
| filename, | |||
use_hdf5 = True |
|||
| ) |
Save G-S mesh to file in HDF5 format.
| pts[np,2] | Vertex list |
| tris[nc,3] | Cell list |
| regions[nc] | Region list |
| coil_dict | Coil region dictionary |
| cond_dict | Conducting region dictionary |
| filename | Path to create HDF5 mesh file |