anuga.Set_elevation_operator
- class anuga.Set_elevation_operator(domain, elevation=None, region=None, indices=None, polygon=None, center=None, radius=None, description=None, label=None, logging=False, verbose=False)[source]
- __init__(domain, elevation=None, region=None, indices=None, polygon=None, center=None, radius=None, description=None, label=None, logging=False, verbose=False)[source]
Set the elevation in a region (careful to maintain continuitiy of elevation)
indices: None == all triangles, Empty list [] no triangles
elevation can be a function of time.
Methods
__init__(domain[, elevation, region, ...])Set the elevation in a region (careful to maintain continuitiy of elevation)
activate_logging()get_time()get_timestep()get_value([x, y, t])Get value of quantity at time t.
log_timestepping_statistics()parallel_safe()Operator is applied independently on each cell and so is parallel safe.
print_statistics()print_timestepping_statistics()set_elevation([value])set_label([label])set_logging([flag])set_value([value])setup_node_structures()For setting elevation we need to ensure that the elevation quantity remains continuous (at least for version 1.3 of anuga)
statistics()timestepping_statistics()update_quantities()Update the vertex and centroid values of the quantities to model erosion
Attributes
counter