Returns an instance of AMR3DData, or prepares one. Usually only used as a base class. Note that center is supplied, but only used for fields and quantities that require it.
Methods
clear_cache() | Clears out all cache, freeing memory. |
clear_data() | Clears out all data from the AMRData instance, freeing memory. |
convert(datatype) | This will attempt to convert a given unit to cgs from code units. |
cut_region(field_cuts) | Return an InLineExtractedRegion, where the grid cells are cut on the |
extract_connected_sets(field, num_levels, ...) | This function will create a set of contour objects, defined |
extract_region(indices) | Return an ExtractedRegion where the points contained in it are defined |
get_data([fields, in_grids, force_particle_read]) | |
get_field_parameter(name[, default]) | This is typically only used by derived field functions, but |
has_field_parameter(name) | Checks if a field parameter is set. |
has_key(key) | Checks if a data field already exists. |
keys() | |
paint_grids(field, value[, default_value]) | This function paints every cell in our dataset with a given value. |
save_object(name[, filename]) | Save an object. |
select_grid_indices(level) | |
select_grids(level) | Return all grids on a given level. |
set_field_parameter(name, val) | Here we set up dictionaries that get passed up and down and ultimately |
write_out(filename[, fields, format]) |