~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/alkane_chain_single/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 "alkane50.lt"  # Defines the "Alkane50" molecule
 
2
 
 
3
 
 
4
polymer = new Alkane50
 
5
 
 
6
 
 
7
 
 
8
# Specify the size of the world the polymer lives in:
 
9
write_once("Data Boundary") {
 
10
   0.0  72.0  xlo xhi
 
11
   0.0  72.0  ylo yhi
 
12
   0.0  72.0  zlo zhi
 
13
}
 
14
 
 
15
 
 
16
 
 
17
 
 
18
 
 
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)
 
24
#    :   
 
25
#       ...or use array notation, for example:
 
26
# polymers = new Alkane50[20].move(0,0,10)
 
27
#
 
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)