|
The Open FUSION Toolkit 1.0.0-beta6
Modeling tools for plasma and fusion research and engineering
|
Class containing data for a single mesh from OFT plot files.
Public Member Functions | |
| __init__ (self, mesh_obj) | |
| Read in data and setup object. | |
| get_field (self, name, time=None, timestep=None) | |
| Get raw data associated with field at a given time or timestep. | |
| get_pyvista_grid (self) | |
| Get pyvista representation of grid. | |
Public Attributes | |
| lc | |
| nc | |
| np | |
| r | |
| static_fields | |
| time_field_names | |
| time_fields | |
| times | |
| type | |
| __init__ | ( | self, | |
| mesh_obj | |||
| ) |
Read in data and setup object.
| mesh_obj | HDF5 group corresponding to mesh (file needs to be open) |
| get_field | ( | self, | |
| name, | |||
time = None, |
|||
timestep = None |
|||
| ) |
Get raw data associated with field at a given time or timestep.
| name | Name of field |
| time | Time value to evaluate field (linear interpolation) |
| timestep | Timestep index to retrieve |
| get_pyvista_grid | ( | self | ) |
Get pyvista representation of grid.
pyvista.UnstructuredGrid object for grid | lc |
| nc |
| np |
| r |
| static_fields |
| time_field_names |
| time_fields |
| times |
| type |