MCPcopy Create free account
hub / github.com/Kitware/VTK / MinPerBlockImpl

Class MinPerBlockImpl

Wrapping/Python/vtkmodules/numpy_interface/algorithms.py:471–483  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

469 min_per_block(array, controller=vtkmodules.vtkParallelCore.vtkDummyController()).
470 """
471 class MinPerBlockImpl:
472 def op(self):
473 return min
474
475 def op2(self):
476 return algs.min
477
478 def mpi_op(self):
479 from mpi4py import MPI
480 return MPI.MIN
481
482 def default(self):
483 return numpy.finfo(numpy.float64).max
484
485 return _global_per_block(MinPerBlockImpl(), array, axis, controller)
486

Callers 1

min_per_blockFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected