class_docstr: Subclass of RectPartitioner, for 2D problems
docstr: Prepare the buffers to be used for later communications
docstr_tok: ["Prepare","the","buffers","to","be","used","for","later","communications"]
code: def prepare_communication(self):
      """
      Prepare the buffers to be used for later communications
      """
  
      RectPartitioner.prepare_communication(self)
  
      self.in_lower_buffers = [[], []]
      self.out_lower_buffers = [[], []]
      self.in_upper_buffers = [[], []]
      self.out_upper_buffers = [[], []]
  
      size1 = self.subd_hi_ix[1] - self.subd_lo_ix[1] + 1
      if self.lower_neighbors[0] >= 0:
          self.in_lower_buffers[0] = zeros(size1, float)
          self.out_lower_buffers[0] = zeros(size1, float)
      if self.upper_neighbors[0] >= 0:
          self.in_upper_buffers[0] = zeros(size1, float)
          self.out_upper_buffers[0] = zeros(size1, float)
  
      size0 = self.subd_hi_ix[0] - self.subd_lo_ix[0] + 1
      if self.lower_neighbors[1] >= 0:
          self.in_lower_buffers[1] = zeros(size0, float)
          self.out_lower_buffers[1] = zeros(size0, float)
      if self.upper_neighbors[1] >= 0:
          self.in_upper_buffers[1] = zeros(size0, float)
          self.out_upper_buffers[1] = zeros(size0, float)
  
imports: from numpy import ascontiguousarray, frombuffer, zeros
label_desc: Use image node_id 1 for calling the RectPartitioner2D obj's underlying member method code with example usage: obj.prepare_communication() without return types