Debian Codegraph @

examples/coarse_grained/solvent_models/ELBAwater+methanol/moltemplate_files/elba.lt

raw
1
2 ElbaFF {
3
4 write_once("Data Masses") {
5 @atom:W 18.0153 # Water
6 }
7
8 write_once("In Settings") {
9 pair_coeff @atom:W @atom:W lj/sf/dipole/sf 0.55 3.05
10 }
11
12 # select the LAMMPS force field styles and other settings we will need
13 write_once("In Init") {
14 units real
15 atom_style hybrid sphere dipole molecular
16 bond_style hybrid harmonic
17 angle_style hybrid harmonic
18 dihedral_style hybrid harmonic
19 pair_style hybrid lj/sf/dipole/sf 12.0 lj/charmm/coul/long 11.0 12.0
20 kspace_style pppm/cg 1.0e-5
21 pair_modify mix arithmetic
22 special_bonds amber
23 }
24
25 } # end of definition of "ElbaFF"
26
27
28 ElbaWater inherits ElbaFF {
29
30 # atom-ID atom-Type x y z diameter density q mux muy muz molecule-ID
31 write("Data Atoms") {
32 $atom:w @atom:W 0.0 0.0 0.0 4.080749 0.5063179 0.0 0.541 0.0 0.0 $mol:m
33 }
34
35 write_once("In Settings") {
36 group gElbaWater type @atom:W
37 }
38
39 } # end of definition of "ElbaWater"