wolfgpu.simplesimu.infiltrations
Module Contents
- class wolfgpu.simplesimu.infiltrations.InfiltrationInterpolation(*args, **kwds)[source]
Bases:
enum.Enum
Describes the way the infiltration are computed across an infiltration time interval.
- class wolfgpu.simplesimu.infiltrations.InfiltrationChronology[source]
This is optimized for access where inserts and reads are not frequently mixed togehter.
- get_row_at_time(time: float) Tuple[float, List[float]][source]
Get infiltration chronology row active at time time.
- Parameters:
time – a positive number of seconds.
- set(time: float, quantities: list[float])[source]
Sets or replaces an entry in the chronology.
- Parameters:
time – the moment at which the water must be injected. It is expressed in seconds. If there’s already something at that moment, it will be discarded.
quantities – A list giving the quantities of water to inject at the given time. Each quantity in the list corresponds to a infiltration zone of the infiltration map.