~ubuntu-branches/debian/sid/lammps/sid

« back to all changes in this revision

Viewing changes to tools/moltemplate/examples/all_atom_examples/nanotube+water/moltemplate_files/water_box.lt

  • Committer: Package Import Robot
  • Author(s): Anton Gladky
  • Date: 2015-04-29 23:44:49 UTC
  • mfrom: (5.1.3 experimental)
  • Revision ID: package-import@ubuntu.com-20150429234449-mbhy9utku6hp6oq8
Tags: 0~20150313.gitfa668e1-1
Upload into unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
import "spce.lt"
2
 
 
3
 
# --------------- water ------------------
4
 
 
5
 
# Create a rhombohedral box of water. (A rectangular box works also.)
6
 
 
7
 
wat  =  new SPCE  [9].move(3.5526287,    0,      0 )
8
 
                  [9].move(1.77631435, 3.3133,   0 )
9
 
                  [6].move(   0,         0,    3.45)
10
 
 
11
 
# Optional: Center the water box at the origin. (Not really necessary.)
12
 
 
13
 
wat[*][*][*].move(-23.9802437, -14.90985, 11.47)
14
 
 
15
 
# --------------- Note: -----------------
16
 
# The spacing between water molecules does not matter much as long as it is
17
 
# reasonable. (I adjusted the spacing try to insure that the waters are spread 
18
 
# uniformly throughout the box.  We do not want bubles to form if there are 
19
 
# gaps near the XY periodic boundaries.)  We will have to equilibrate it later.
20