gaspype.stack#

gaspype.stack(arrays, axis=0)#

Stack a list of fluid or elements objects along a new axis

Parameters:
  • arrays (list[TypeVar(T, fluid, elements)]) – List of arrays

  • axis (int) – Axis to stack the fluid objects along

Return type:

TypeVar(T, fluid, elements)

Returns:

A new array object stacked along the new axis