quickpaver.get_array_borders_selection#

quickpaver.get_array_borders_selection(nx: int, ny: int) ndarray[tuple[Any, ...], dtype[bool]][source]#

Get a selection of the array border as a bool array.

Note

There is no border for an axis of dim 1.

Parameters:
  • nx (int) – Number of grid cells along the x axis.

  • ny (int) – Number of grid cells along the y axis.