parameters: (self)
docstring: Propagates the centroid position and momentum and the volume.
docstring_summary: Propagates the centroid position and momentum and the volume.
docstring_tokens: Propagates the centroid position and momentum and the volume .
function: def qcstep(self):
        """Propagates the centroid position and momentum and the volume."""
  
        v = self.p[0]/self.m[0]
        expq, expp = (np.exp(v*self.dt), np.exp(-v*self.dt))
  
        m = depstrip(self.beads.m3)[0]
  
        self.nm.qnm[0,:] *= expq
        self.nm.qnm[0,:] += ((expq-expp)/(2.0*v))* (depstrip(self.nm.pnm)[0,:]/m)
        self.nm.pnm[0,:] *= expp
  
        self.cell.h *= expq
function_tokens: def qcstep ( self ) : v = self . p [ 0 ] / self . m [ 0 ] expq , expp = ( np . exp ( v * self . dt ) , np . exp ( - v * self . dt ) ) m = depstrip ( self . beads . m3 ) [ 0 ] self . nm . qnm [ 0 , : ] *= expq self . nm . qnm [ 0 , : ] += ( ( expq - expp ) / ( 2.0 * v ) ) * ( depstrip ( self . nm . pnm ) [ 0 , : ] / m ) self . nm . pnm [ 0 , : ] *= expp self . cell . h *= expq