yt.frontends.stream.data_structures.
load_hexahedral_mesh
(data, connectivity, coordinates, length_unit=None, bbox=None, sim_time=0.0, mass_unit=None, time_unit=None, velocity_unit=None, magnetic_unit=None, periodicity=(True, True, True), geometry='cartesian')[source]¶Load a hexahedral mesh of data into yt as a
StreamHandler
.
This should allow a semistructured grid of data to be loaded directly into yt and analyzed as would any others. This comes with several caveats:
Particle fields are detected as one-dimensional fields. The number of particles is set by the “number_of_particles” key in data.
Parameters: | data : dict
connectivity : array_like
coordinates : array_like
bbox : array_like (xdim:zdim, LE:RE), optional
sim_time : float, optional
mass_unit : string
time_unit : string
velocity_unit : string
magnetic_unit : string
periodicity : tuple of booleans
geometry : string or tuple
|
---|