timflow.steady.model.ModelXsection.headgrid#
- timflow.steady.model.ModelXsection.headgrid(xg, yg, layers=None, printrow=False, show_progress=False, parallel=False)#
Grid of heads.
- Parameters:
xg (array) – x values of grid
yg (array) – y values of grid
layers (integer, list or array, optional) – layers for which grid is returned
show_progress (bool) – show computation progress, by printing dots per row or with tqdm progressbar when parallel is True. Default is False.
parallel (bool, optional) – if True, computes headgrid in parallel using multi threading, by default False
printrow (bool, optional) –
Deprecated since version 0.2.0: prints dot to screen for each row of grid if set to True
- Returns:
h
- Return type:
array size nlayers, ny, nx
See also
headgrid2()