CCL Home Page
Up Directory CCL script
# This is a script for the 'menu' program. It does the same stuff
# that's done in the 'main' program, but you can edit this text
# file to easily change the functionality, add more atoms, etc.

# The '#' that begins a comment must either be at the beginning
# of the line, or must be immediately preceded by a space or tab.

atom c-sp3 0 -0.076 0 0		# two uncharged carbon atoms
atom c-sp3 0  0.076 0 0
length 0 1			# joined by a sigma bond
spring-damper 0 1  2.0e4 0.3 100	# and a spring-damper
electrostatic 0 1		# extraneous; no charges

# Periodically print out information about the system
every 10000
print time
print position 0
print position 1
print total-energy
newline

# Conditions for the simulation run
time-step 1.0e-6
run 0 1.0
Modified: Mon May 19 16:00:00 1997 GMT
Page accessed 4549 times since Sat Apr 17 22:31:57 1999 GMT