pele.systems.AtomicCluster.draw

AtomicCluster.draw(coords, 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

pele.systems.AtomicCluster.create_database

Next topic

pele.systems.AtomicCluster.get_basinhopping