Skip to main content
U.S. flag

An official website of the United States government

Here’s how you know

Official government website icon

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

icon-https

Secure .gov websites use HTTPS
A lock ( Lock Locked padlock icon )or https:// means you’ve safely connected to the .gov website. Share sensitive information only on official, secure websites.

NIH: National Institute of Diabetes and Digestive and Kidney Diseases NIH: National Institute of Diabetes and Digestive and Kidney Diseases

  next up previous contents index  Xplor-NIH home Documentation

Next: Example: Run Langevin Dynamics Up: Cartesian Coordinate Space Previous: Example: Run a Molecular


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 
      timestep=0.0005            
      nstep=50
      iasvel=current 
      nprint=5  iprfrq=0
      tcoupling=true tbath=$1   
    end                                         
    evaluate ($1=$1-25)
 end loop main



Xplor-NIH 2025-03-21
  • Privacy Policy
  • Freedom of Information Act
  • Accessibility
  • Disclaimers
  • Copyright
  • Vulnerability Disclosure Policy
  • U.S. Department of Health and Human Services
  • National Institutes of Health