next up previous contents index
Next: Example: Plane and Up: Harmonic Coordinate Restraints Previous: Requirements

Example: Point Restraints

The following example shows how to restrain a subset (in this case the atoms) of the coordinates in ``file1" to the coordinates in ``file2":

coordinates @file1
coordinates disposition=reference @file2
vector do ( harmonic=20.0 ) ( name ca )
vector do ( harmonic=0.0 )  ( not name ca )
restraints harmonic exponent=2 end  
flags include harm end
This sequence of statements can be inserted anywhere after the molecular structure is defined. Note that the FLAGs statement is actually not needed, because the restraints statement has the HARM flag already turned on.



Web Manager
Sat Mar 11 09:37:37 PST 1995