LineSinkDitch#

class timflow.steady.linesink.LineSinkDitch(*args, **kwargs)#

Bases: Ditch

Deprecated alias for Ditch.

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

equation()#

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

Notes

Now written as heads.

Returns:

  • matrix – (nunknowns,neq)

  • rhs – (nunknowns)

potinf(x, y, aq=None)#

Can be called with only one x,y value.

Returns:

(nparam, self.aq.naq) with order order 0, layer[0] order 0, layer[1] … order 1, layer[0] order 1, layer[1] etc.

Return type:

array

disvecinf(x, y, aq=None)#

Can be called with only one x,y value.

Returns:

(nparam, self.aq.naq) with order order 0, layer[0] order 0, layer[1] … order 1, layer[0] order 1, layer[1] etc.

Return type:

array

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.