mooflow.classes.Register¶
-
class
mooflow.classes.Register(reg_type)¶ -
__init__(reg_type)¶ Registry for wells, well_groups or ground water level sensitive areas.
- Parameters
- reg_type: str
- well, well_group or area_gw
Methods
__init__(reg_type)Registry for wells, well_groups or ground water level sensitive areas.
add(obj)add an object to the register -> only if its ID is not already in the registry
discard(obj)dicard on object from the Registry
entries_in_rectangle(ul_lr)find_well_loc(loc)find the index of a well, defined by it’s coordinates, in the Registry
-