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

Class MaxPerBlockImpl

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

Source from the content-addressed store, hash-verified

436 max_per_block(array, controller=vtkmodules.vtkParallelCore.vtkDummyController()).
437 """
438 class MaxPerBlockImpl:
439 def op(self):
440 return max
441
442 def op2(self):
443 return algs.max
444
445 def mpi_op(self):
446 from mpi4py import MPI
447 return MPI.MAX
448
449 def default(self):
450 return numpy.finfo(numpy.float64).min
451
452 return _global_per_block(MaxPerBlockImpl(), array, axis, controller)
453

Callers 1

max_per_blockFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected