timflow.steady.constant.Constant#

class timflow.steady.constant.Constant(model, xr=0, yr=0, hr=0.0, layer=0, label=None)#

Bases: ConstantBase, timflow.steady.equation.PotentialEquation

Specify the head at one point in the model in one layer.

The head may only be specified in an area of the model where the aquifer system is confined.

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

  • xr (float) – x-coordinate of the point where the head is specified

  • yr (float) – y-coordinate of the point where the head is specified

  • hr (float) – specified head

  • layer (int) – layer where the head is specified

  • label (string or None (default: None)) – label of the element

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.

equation()

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