qimpy.transport.advect.minmod

minmod(f, axis)

Return min|`f`| along axis when all same sign, and 0 otherwise.

Parameters:
  • f (Tensor)

  • axis (int)

Return type:

Tensor