| 1 |
import "polyethylene16_star12.lt" |
| 2 |
|
| 3 |
# Periodic boundary conditions: |
| 4 |
# (You should eventually change the size of this box) |
| 5 |
write_once("Data Boundary") { |
| 6 |
-75.0 75.0 xlo xhi |
| 7 |
-75.0 75.0 ylo yhi |
| 8 |
-30.0 30.0 zlo zhi |
| 9 |
} |
| 10 |
|
| 11 |
star1 = new Polyethylene16Star12.move(42.0,0,0) |
| 12 |
star2 = new Polyethylene16Star12.move(42.0,0,0).rot(72.0,0,0,1).move(0,0,5) |
| 13 |
star3 = new Polyethylene16Star12.move(42.0,0,0).rot(144.0,0,0,1).move(0,0,15) |
| 14 |
star4 = new Polyethylene16Star12.move(42.0,0,0).rot(216.0,0,0,1).move(0,0,20) |
| 15 |
star5 = new Polyethylene16Star12.move(42.0,0,0).rot(288.0,0,0,1).move(0,0,25) |
| 16 |
|
| 17 |
# Note you can accomplish the same thing using: |
| 18 |
# stars = new Polyethylene16Star12.move(42.0,0,0) [5].rot(72.0,0,0,1).move(0,0,5) |