Esempio n. 1
0
 def draw(self, rbcoords, index):
     from pele.systems._opengl_tools import draw_box
     from pele.systems.morse_bulk import put_in_box
     cc = self.aatopology.coords_adapter(rbcoords)
     put_in_box(cc.posRigid, self.boxvec)
     super(OTPBulk, self).draw(rbcoords, index, shift_com=False)
     draw_box(self.boxvec)
Esempio n. 2
0
 def draw(self, rbcoords, index):
     from pele.systems._opengl_tools import draw_box
     from pele.systems.morse_bulk import put_in_box
     cc = self.aatopology.coords_adapter(rbcoords)
     put_in_box(cc.posRigid, self.boxvec)
     super(OTPBulk, self).draw(rbcoords, index, shift_com=False)
     draw_box(self.boxvec)
Esempio n. 3
0
 def draw(self, coordslinear, index):
     from pele.systems._opengl_tools import draw_atomic_binary_polydisperse, draw_box
     put_in_box(coordslinear, self.boxvec)
     draw_atomic_binary_polydisperse(coordslinear,
                                     index,
                                     bdim=self.boxvec.size,
                                     radii=self.radii)
     draw_box(self.boxvec)
Esempio n. 4
0
 def draw(self, coordslinear, index):
     from pele.systems._opengl_tools import draw_box
     put_in_box(coordslinear, self.boxvec)
     BLJCluster.draw(self, coordslinear, index, subtract_com=False)
     draw_box(self.boxvec)
Esempio n. 5
0
 def draw(self, coordslinear, index):
     from pele.systems._opengl_tools import draw_box
     put_in_box(coordslinear, self.boxvec)
     draw_box(self.boxvec)
     MorseCluster.draw(self, coordslinear, index, subtract_com=False)
Esempio n. 6
0
 def draw(self, coordslinear, index):
     from pele.systems._opengl_tools import draw_atomic_binary_polydisperse, draw_box
     put_in_box(coordslinear, self.boxvec)
     draw_atomic_binary_polydisperse(coordslinear, index, bdim=self.boxvec.size, radii=self.radii)
     draw_box(self.boxvec)