timflow.steady.stripareasink.XsectionAreaSinkInhom#

class timflow.steady.stripareasink.XsectionAreaSinkInhom(model, xleft=-1, xright=1, N=0.001, layer=0, name='XsectionAreaSink', label=None)#

Bases: timflow.steady.element.Element

Create a cross-section area-sink in combination with an inhomogeneity.

Notes

Created automatically using XsectionMaq or Xsection3D. Can only be created if top boundary is confined.

Parameters:
  • model (Model object) – model to which the element is added

  • xleft (float) – left boundary of inhomogeneity (may not be -np.inf)

  • xright (float) – right boundary of inhomogeneity (may not be np.inf)

Methods#

potinf(x, y[, aq])

Returns array of size (nparam, naq).

disvecinf(x, y[, aq])

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

potinflayers(x, y, layers[, aq])

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

potentiallayers(x, y, layers[, aq])

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

disvec(x, y[, aq])

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

disvecinflayers(x, y, layers[, aq])

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

disveclayers(x, y, layers[, aq])

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