class_docstr: Subclass of RectPartitioner2D, which uses MPI via mpi4py for communication
code: def __init__(
      self,
      my_id=-1,
      num_procs=-1,
      global_num_cells=[],
      num_parts=[],
      slice_copy=True,
  ):
      RectPartitioner.__init__(
          self, my_id, num_procs, global_num_cells, num_parts
      )
      self.slice_copy = slice_copy
  
imports: from numpy import ascontiguousarray, frombuffer, zeros
label_desc: Use image node_id 1 to create a new MPIRectPartitioner2D object from inherited base classes: RectPartitioner2D with example: obj = MPIRectPartitioner2D(my_id, num_procs, global_num_cells, num_parts, slice_copy)