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
XDMF_plot_mesh Class Reference

Detailed Description

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
 

Constructor & Destructor Documentation

◆ __init__()

__init__ (   self,
  mesh_obj 
)

Read in data and setup object.

Parameters
mesh_objHDF5 group corresponding to mesh (file needs to be open)

Member Function Documentation

◆ get_field()

get_field (   self,
  name,
  time = None,
  timestep = None 
)

Get raw data associated with field at a given time or timestep.

Parameters
nameName of field
timeTime value to evaluate field (linear interpolation)
timestepTimestep index to retrieve

◆ get_pyvista_grid()

get_pyvista_grid (   self)

Get pyvista representation of grid.

Returns
pyvista.UnstructuredGrid object for grid

Member Data Documentation

◆ lc

lc

◆ nc

nc

◆ np

np

◆ r

r

◆ static_fields

static_fields

◆ time_field_names

time_field_names

◆ time_fields

time_fields

◆ times

times

◆ type

type

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