anuga.Set_stage_operator

class anuga.Set_stage_operator(domain, stage=None, region=None, indices=None, polygon=None, center=None, radius=None, line=None, description=None, label=None, logging=False, verbose=False)[source]

Bases: Operator, Set_stage

Set the stage over a region, enforcing stage >= elevation.

__init__(domain, stage=None, region=None, indices=None, polygon=None, center=None, radius=None, line=None, description=None, label=None, logging=False, verbose=False)[source]

Methods

__init__(domain[, stage, region, indices, ...])

activate_logging()

get_stage([x, y, t])

Get value of quantity at time t.

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_stage([value])

set_value([value])

statistics()

timestepping_statistics()

Attributes

counter

get_stage(x=None, y=None, t=None)

Get value of quantity at time t. If t not specified, return value at current domain time

parallel_safe()[source]

Operator is applied independently on each cell and so is parallel safe.