HeadLineSink1D#

class timflow.steady.linesink1d.HeadLineSink1D(*args, **kwargs)#

Bases: River1D

Deprecated alias for River1D.

Deprecated since version Use: River1D instead. This alias will be removed in a future version.

potinf(x, y, aq=None)#

Returns array of size (nparam, naq).

disvecinf(x, y, aq=None)#

Returns array of size (2, nparam, naq).

discharge()#

Discharge per unit length.

potinflayers(x, y, layers, aq=None)#

Returns array of size (len(layers),nparam).

Only used in building equations.

potentiallayers(x, y, layers, aq=None)#

Returns array of size len(layers) only used in building equations.

disvec(x, y, aq=None)#

Returns array of size (2, nparam, naq).

disvecinflayers(x, y, layers, aq=None)#

Returns two arrays of size (len(layers),nparam).

Only used in building equations.

disveclayers(x, y, layers, aq=None)#

Returns two arrays of size len(layers) only used in building equations.

equation()#

Mix-in class that returns matrix rows for head-specified conditions.

Notes

Now written as heads.

Returns:

  • matrix – (nunknowns,neq)

  • rhs – (nunknowns)