Exemplo 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)
Exemplo 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)
Exemplo 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)
Exemplo 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)
Exemplo 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)
Exemplo 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)