1
import "alkane50.lt" # Defines the "Alkane50" molecule
8
# Specify the size of the world the polymer lives in:
9
write_once("Data Boundary") {
19
###############################################################################
20
# Note: If you want to create multiple polymers, and/or mix them with other
21
# molecules, just add more "new" commands, for example:
22
# polymer1 = new Alkane50.move(0,0,10)
23
# polymer2 = new Alkane50.move(0,0,20)
25
# ...or use array notation, for example:
26
# polymers = new Alkane50[20].move(0,0,10)
28
# Note: Multidimensional arrays can be used to fill a planar region or a volume
29
# polymers = new Alkane50 [4].move(0, 0, 30.0)
30
# [4].move(0, 30.0, 0)
31
# [2].move(70.0, 0, 0)