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