timflow.transient.linesink1d.FluxDiffLineSink1D#
- class timflow.transient.linesink1d.FluxDiffLineSink1D(model, xls=0, layers=0, label=None, aq=None)#
Bases:
LineSink1DBase,timflow.transient.equation.FluxDiffEquation1D flux-difference linesink element.
Used to ensure continuity of flux in a cross-section model, e.g. at the boundary of an inhomogeneity.
- Parameters:
model (Model object) – Model to which the element is added
xls (float) – x-coordinate of the linesink
layers (int, array or list) – layer (int) or layers (list or array) in which linesink is located
label (string, optional) – label of the element
Methods#
Initialize the element. |
|
|
Plot the element. |
Separate function so that this can be overloaded for other types. |
|
|
Can be called with only one x value. |
|
Can be called with only one x,y value. |
|
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. |
|
|
Mix-in class that returns matrix rows for continuity of flow. |