Constraint forces constrain a given set of particle to a given surface, to have some relative orientation, or impose some other type of constraint.
As with other force commands in hoomd, multiple constrain commands can be issued to specify multiple constraints, which are additively applied.
Warning: Constraints will be invalidated if two separate constraint commands apply to the same particle.
The degrees of freedom removed from the system by constraints are correctly taken into account when computing the temperature.
Disable the force.
Executing the disable command removes the force from the simulation. Any
`hoomd.run`command executed after disabling a force will not calculate or use the force during the simulation. A disabled force can be re-enabled with
Enable the force.