parameters: (self, rid, pars)
docstring: Sends the initialization string to the driver.
  
        Args:
           rid: The index of the request, i.e. the replica that
              the force calculation is for.
           pars: The parameter string to be sent to the driver.
  
        Raises:
           InvalidStatus: Raised if the status is not NeedsInit.
docstring_summary: Sends the initialization string to the driver.
docstring_tokens: Sends the initialization string to the driver .
function: def initialize(self, rid, pars):
        """Sends the initialization string to the driver.
  
        Args:
           rid: The index of the request, i.e. the replica that
              the force calculation is for.
           pars: The parameter string to be sent to the driver.
  
        Raises:
           InvalidStatus: Raised if the status is not NeedsInit.
        """
  
        if self.status & Status.NeedsInit:
           try:
              self.sendall(Message("init"))
              self.sendall(np.int32(rid))
              self.sendall(np.int32(len(pars)))
              self.sendall(pars)
           except:
              self.poll()
              return
        else:
           raise InvalidStatus("Status in init was " + self.status)
function_tokens: def initialize ( self , rid , pars ) : if self . status & Status . NeedsInit : try : self . sendall ( Message ( "init" ) ) self . sendall ( np . int32 ( rid ) ) self . sendall ( np . int32 ( len ( pars ) ) ) self . sendall ( pars ) except : self . poll ( ) return else : raise InvalidStatus ( "Status in init was " + self . status )