Logo Search packages:      
Sourcecode: python-gtkglext1 version File versions  Download package

def coolwave::CoolWave::__getveloc (   self,
  gridSize,
  dt 
) [private]

Based on the force derivative calculate the
velocity of each vertex in the waveform.

Definition at line 122 of file coolwave.py.

00122                                        :
        ''' Based on the force derivative calculate the
        velocity of each vertex in the waveform.
        '''
        for i in xrange(0, gridSize):
            for j in xrange(0, gridSize): self.__veloc[i][j] += self.__force[i][j] * dt

    def __getposit (self, gridSize):


Generated by  Doxygen 1.6.0   Back to index