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

« back to all changes in this revision

Viewing changes to tools/moltemplate/examples/all_atom_examples/force_field_OPLSAA/waterSPC_using_OPLSAA/moltemplate_files/system.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 "spc.lt"     # <- defines the "SPC" (water) molecule type (uses OPLSAA)
 
2
 
 
3
# Periodic boundary conditions:
 
4
write_once("Data Boundary") {
 
5
   0.0  41.40  xlo xhi
 
6
   0.0  41.40  ylo yhi
 
7
   0.0  41.40  zlo zhi
 
8
}
 
9
 
 
10
# The next command generates a (rather dense) cubic lattice with
 
11
# spacing 3.45 Angstroms. (The pressure must be equilibrated later.)
 
12
 
 
13
waters = new SPC [12].move(0.00, 0.00, 3.45) 
 
14
                 [12].move(0.00, 3.45, 0.00) 
 
15
                 [12].move(3.45, 0.00, 0.00)
 
16