timflow.transient.circareasink.CircAreaSink#
- class timflow.transient.circareasink.CircAreaSink(model, xc=0, yc=0, R=0.1, tsandN=[(0, 1)], name='CircAreaSink', label=None)#
Bases:
timflow.transient.element.ElementCreate a circular area-sink with uniform infiltration rate in aquifer layer 0.
Infiltration rate in length / time, positive for water entering the aquifer.
- Parameters:
model (Model object) – model to which the element is added
xc (float) – x-coordinate of center of area-sink
yc (float) – y-coordinate of center of area-sink
R (radius of area-sink)
tsandN (list of tuples) – tuples of starting time and infiltration rate after starting time
label (string or None (default: None)) – label of the area-sink
Methods#
Initialize the element. |
|
Separate function so that this can be overloaded for other types. |
|
|
Can be called with only one x,y value. |
|
Can be called with only one x,y value. |
|
Plot the element. |
|
Returns complex array of size (ngvbc, naq, npval). |
|
Returns complex array of size (naq, npval). |
|
Returns complex array of size (naq, npval). |
|
Returns 2 complex arrays of size (ngvbc, naq, npval). |
|
Returns 2 complex arrays of size (naq, npval). |
|
Layers can be scalar, list, or array. |
|
Returns complex array of size (ngvbc, len(layers),npval). |
|
Returns complex array of size (len(layers), npval). |
|
Layers can be scalar, list, or array. |
|
Returns 2 complex array of size (ngvbc, len(layers), npval). |
|
Returns complex array of size (len(layers), npval). |
|
The discharge in each layer. |
|
The discharge in each layer. |
Function to run after a solution is completed. |