yt.lagos.EnzoGrid

class yt.lagos.EnzoGrid(id, hierarchy)

Class representing a single Enzo Grid instance.

Methods

check_child_masks()
clear_all() Clears all datafields from memory and calls
clear_data() Clear out the following things: child_mask, child_indices,
clear_derived_quantities() Clears coordinates, child_indices, child_mask.
convert(datatype) This will attempt to convert a given unit to cgs from code units.
find_max(field) Returns value, index of maximum value of field in this gird
find_min(field) Returns value, index of minimum value of field in this gird
get_data(field) Returns a field or set of fields for a key or set of keys
get_field_parameter(name[, default]) This is typically only used by derived field functions, but
get_global_startindex() Return the integer starting index for each dimension at the current
get_position(index) Returns center position of an index
get_vertex_centered_data(field[, smoothed])
has_field_parameter(name) Checks if a field parameter is set.
has_key(key)
keys()
retrieve_ghost_zones(n_zones, fields[, ...])
set_field_parameter(name, val) Here we set up dictionaries that get passed up and down and ultimately
set_filename(filename) Intelligently set the filename.

Returns an instance of EnzoGrid with id, associated with filename and hierarchy.

Methods

check_child_masks()
clear_all() Clears all datafields from memory and calls
clear_data() Clear out the following things: child_mask, child_indices,
clear_derived_quantities() Clears coordinates, child_indices, child_mask.
convert(datatype) This will attempt to convert a given unit to cgs from code units.
find_max(field) Returns value, index of maximum value of field in this gird
find_min(field) Returns value, index of minimum value of field in this gird
get_data(field) Returns a field or set of fields for a key or set of keys
get_field_parameter(name[, default]) This is typically only used by derived field functions, but
get_global_startindex() Return the integer starting index for each dimension at the current
get_position(index) Returns center position of an index
get_vertex_centered_data(field[, smoothed])
has_field_parameter(name) Checks if a field parameter is set.
has_key(key)
keys()
retrieve_ghost_zones(n_zones, fields[, ...])
set_field_parameter(name, val) Here we set up dictionaries that get passed up and down and ultimately
set_filename(filename) Intelligently set the filename.

Previous topic

yt.lagos.AMRHierarchy

Next topic

yt.lagos.EnzoGrid.check_child_masks

This Page