parameters: (self)
return_statement: return rp
docstring: Obtains the potential energy for each forcefield.
docstring_summary: Obtains the potential energy for each forcefield.
docstring_tokens: Obtains the potential energy for each forcefield .
function: def extra_combine(self):
        """Obtains the potential energy for each forcefield."""
  
        self.queue()
        rp = [ "" for b in range(self.nbeads) ]
        for k in range(self.nforces):
           # "expand" to the total number of beads the potentials from the
           #contracted one
           for b in range(self.nbeads):
              rp[b] += self.mforces[k].extras[b]
        return rp
function_tokens: def extra_combine ( self ) : self . queue ( ) rp = [ "" for b in range ( self . nbeads ) ] for k in range ( self . nforces ) : # "expand" to the total number of beads the potentials from the #contracted one for b in range ( self . nbeads ) : rp [ b ] += self . mforces [ k ] . extras [ b ] return rp