next up previous contents
Next: 23. Hybrid Calculations with Up: user Previous: 21. Geometry Optimization with   Contents

22. Constraints for Geometry Optimization

The constraints directive allows the user to specify which constraints should be imposed on the system during the geometry optimization. Currently such constraints are limited to fixed atom positions and harmonic restraints (springs) on the distance between the two atoms. The general form of constraints block is presented below:

  CONSTRAINTS [string name ] \
           [clear] \
           [enable||disable] \
           [fix atom <integer list>] \
           [spring bond <integer atom1> <integer atom2> <real k> <real r0> ]
  END
The keywords are described below

  CONSTRAINTS one
    spring bond 1 3 5.0 1.3
    fix atom 1
  END
   
  #the above constraints can be loaded using set directive
  set constraints one
  ....
  task ....


next up previous contents
Next: 23. Hybrid Calculations with Up: user Previous: 21. Geometry Optimization with   Contents
2005-09-12