コード例 #1
0
ファイル: _otp_bulk.py プロジェクト: Mahdisadjadi/pele
 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)
コード例 #2
0
ファイル: _otp_bulk.py プロジェクト: spraharsh/pele
 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)
コード例 #3
0
ファイル: soft_sphere_bulk.py プロジェクト: yangxi1209/pele
 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)
コード例 #4
0
ファイル: blj_bulk.py プロジェクト: Mahdisadjadi/pele
 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)
コード例 #5
0
ファイル: morse_bulk.py プロジェクト: yangxi1209/pele
 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)
コード例 #6
0
ファイル: soft_sphere_bulk.py プロジェクト: Mahdisadjadi/pele
 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)