示例#1
0
文件: objs.py 项目: jhkoivis/peri
 def __getstate__(self):
     odict = self.__dict__.copy()
     cdd(odict, super(PlatonicSpheresCollection, self).nopickle())
     cdd(odict, ['rvecs', 'particles', '_params'])
     return odict
示例#2
0
文件: objs.py 项目: jhkoivis/peri
 def __getstate__(self):
     odict = self.__dict__.copy()
     cdd(odict, super(Slab, self).nopickle())
     cdd(odict, ['rvecs', 'image'])
     return odict
示例#3
0
文件: psfs.py 项目: yangyushi/peri
 def __getstate__(self):
     odict = self.__dict__.copy()
     cdd(odict, self.nopickle())
     return odict