pele.systems.LJCluster.draw

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

pele.systems.LJCluster.create_database

Next topic

pele.systems.LJCluster.get_basinhopping