It would depend on the type of MC moves you are doing. If you are modifying the configuration or topology in a way that can be done using python, then I would probably try to use the snapshot interface (take_snapshot and restore_snapshot), which is reasonably fast access via numpy arrays. If you are doing something else to the system, then you might be able to use the callback option to run().
--Mike
--
You received this message because you are subscribed to the Google Groups "hoomd-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hoomd-users+unsubscribe@googlegroups.com.
To post to this group, send email to hoomd...@googlegroups.com.
Visit this group at https://groups.google.com/group/hoomd-users.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to hoomd-users...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to hoomd-users+unsubscribe@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to hoomd-users+unsubscribe@googlegroups.com.
When you took the snapshot, did you set bonds=True? No, I use the default settingsIf your rigid body definitions change between dumps and restorations, don't dump all of the particles (e.g. group.union, group.non_rigid() and group.rigid_center in gsd.dump) and use create_bodies(create=True). Since my rigid bodies can change I always have used create_bodies(create=True). I also have a linear polymer in my system, so I tried to dump using group.union() of non-rigid and rigid_center. HOOMD complained upon restoration that it couldn't find any bonds. When I dump using group,all() I don't have problems with restoration. If you can reuse the constituent particles between restorations, use group.all and create_bodies(create=False)When you say the constituent particles are forgetting their pair potentials, do you mean that you create the particles and they don't have the type you specified in the rigid body you just defined? Or that they have the type specified in the rigid body definition and a pair interaction defined for that type, but it isn't being applied? This is what mean, Weird, right? Or that you alter the definitions of the pair potentials in the system and want a way to easily revert to an earlier set of pair potentials?
--
You received this message because you are subscribed to the Google Groups "hoomd-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hoomd-users+unsubscribe@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to hoomd-users...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to hoomd-users+unsubscribe@googlegroups.com.