Prevent a set of particles and rigid bodies from inter-penetrating.
Given an arbitrary collection of particles and rigid bodies, this restraint prevents the particles from interpenetrating. Such restraints are also known as steric clash restraints.
If any of the rigid bodies don't have radii, an appropriate radius will be added. Note, to take advantage of this, the RigidBody must be in the container before the Restraint is added to the model.
Examples: symmetry, display log, excluded volume
Inheritance diagram for IMP::core::ExcludedVolumeRestraint:Public Member Functions | |
| ExcludedVolumeRestraint (SingletonContainer *sc, double k=1) | |
| void | set_log_level (LogLevel l) |
| IMP::core::ExcludedVolumeRestraint::ExcludedVolumeRestraint | ( | SingletonContainer * | sc, |
| double | k = 1 |
||
| ) |
The SingletonContainer contains a set of XYZR particles and RigidMembers.
The spring constant used is k.