next up previous contents index
Next: Example: Run Langevin Up: Cartesian Coordinate Space Previous: Example: Run a

Example: Run a Slow-cooling Molecular Dynamics Simulation

        The powerful X-PLOR shell language is able to produce a large number of possible cooling or heating schedules for simulated annealing (Kirkpatrick, Gelatt, and Vecchi 1983). The example below uses a slow-cooling annealing schedule.

 set seed=432324368 end 

 vector do (vx=maxwell(4000.)) ( all )
 vector do (vy=maxwell(4000.)) ( all )
 vector do (vz=maxwell(4000.)) ( all )

 vector do (fbeta=100.) ( all )

 evaluate ($1=4000)
 while ($1 > 300.0) loop main     
    dynamics  verlet 
      nprint=5  iprfrq=0
      tcoupling=true tbath=$1   
    evaluate ($1=$1-25)
 end loop main

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