LJCluster.draw(coordslinear, index)[source]

tell the gui how to represent your system using openGL objects

Parameters :

coords : array

index : int

we can have more than one molecule on the screen at one time. index tells which one to draw. They are viewed at the same time, so they should be visually distinct, e.g. different colors. accepted values are 1 or 2

Previous topic

Next topic