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

def coolwave::CoolWave::__setup_arrays (   self ) [private]
Creates the three matrices for
storing vertex data of the rendering waveform.
The matrices are pure python lists containing a
number of arrays. Each array forms one row.

Definition at line 65 of file coolwave.py.

                             :
        ''' Creates the three matrices for
        storing vertex data of the rendering waveform.
        The matrices are pure python lists containing a
        number of arrays. Each array forms one row.
        '''
        self.__force = []
        self.__veloc = []
        self.__posit = []
        for i in xrange(0, MAXGRID):
            self.__force.append(array.array('f', range(0, MAXGRID)))
            self.__veloc.append(array.array('f', range(0, MAXGRID)))
            self.__posit.append(array.array('f', range(0, MAXGRID)))


Generated by  Doxygen 1.6.0   Back to index