AMRProj is a projection of a field along an axis. The field can have an associated weight_field, in which case the values are multiplied by a weight before being summed, and then divided by the sum of that weight.
Methods
add_fields(fields[, weight]) | |
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. |
get_data([fields]) | |
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. |
interpolate_discretize(LE, RE, field, side) | This returns a uniform grid of points between LE and RE, |
keys() | |
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]) |