def run_test_3(self, name, dim): filename = "{}.gsd".format(name) mc_cls = hoomd.hpmc.integrate.__dict__[name] self.system = init.read_gsd(filename=filename, frame=2) self.mc = mc_cls(seed=2398, d=0.0, restore_state=True) # self.mc.restore_state(); self.gsd = None
def run_test_3(self, name, dim): filename = "{}.gsd".format(name) mc_cls = hoomd.hpmc.integrate.__dict__[name] self.system = init.read_gsd(filename=filename, frame = 2); self.mc = mc_cls(seed=2398, d=0.0, restore_state=True) # self.mc.restore_state(); self.gsd = None;
def run_test_2(self, name, dim): filename = "{}.gsd".format(name) mc_cls = hoomd.hpmc.integrate.__dict__[name] self.system = init.read_gsd(filename=filename, frame=9) self.mc = mc_cls(seed=2398, d=0.0) self.mc.shape_param.set('A', **self.params[name]['first']) self.mc.restore_state() self.gsd = None
def run_test_2(self, name, dim): filename = "{}.gsd".format(name) mc_cls = hoomd.hpmc.integrate.__dict__[name] self.system = init.read_gsd(filename=filename, frame = 9); self.mc = mc_cls(seed=2398, d=0.0) self.mc.shape_param.set('A', **self.params[name]['first']) self.mc.restore_state(); self.gsd = None;