From 38867b49df53672fd9a9f32bd95ca030f788f786 Mon Sep 17 00:00:00 2001 From: athomps Date: Fri, 24 Sep 2010 22:53:41 +0000 Subject: [PATCH] Added hbnewflag argument to pair_style reax git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@4848 f3b2605a-c512-4ea7-a41b-209d697bcdaa --- doc/pair_reax.html | 13 ++++++++----- doc/pair_reax.txt | 15 +++++++++------ 2 files changed, 17 insertions(+), 11 deletions(-) diff --git a/doc/pair_reax.html b/doc/pair_reax.html index 5d39b94e90..1cf61edbe2 100644 --- a/doc/pair_reax.html +++ b/doc/pair_reax.html @@ -13,9 +13,10 @@

Syntax:

-
pair_style reax hbcut precision 
+
pair_style reax hbcut hbnewflag precision 
 

Examples: @@ -54,16 +55,18 @@ documented in potentials/README.reax. The default ffield.reax contains parameterizations for the following elements: C, H, O, N, S.

The format of these files is identical to that used originally by van -Duin. We have tested the accuracy of pair_style reax/c potential +Duin. We have tested the accuracy of pair_style reax potential against the original ReaxFF code for the systems mentioned above. You can use other ffield files for specific chemical systems that may be available elsewhere (but note that their accuracy may not have been tested).

-

The hbcut and precision settings are optional arguments. If +

The hbcut, hbnewflag, and precision settings are optional arguments. +If neither is provided, default settings are used: hbcut = 10 (which is -Angstroms in real units) and precision = 1.0e-6 (one part in 10^6). -If you wish to override either of these defaults, then both settings +Angstroms in real units), hbnewflag = 1 (use new hbond function style, +and precision = 1.0e-6 (one part in 10^6). +If you wish to override any of these defaults, then all settings must be specified.

Use of this pair style requires that a charge be defined for every diff --git a/doc/pair_reax.txt b/doc/pair_reax.txt index e4bfd4725e..e740a52cc9 100644 --- a/doc/pair_reax.txt +++ b/doc/pair_reax.txt @@ -10,15 +10,16 @@ pair_style reax command :h3 [Syntax:] -pair_style reax hbcut precision :pre +pair_style reax hbcut hbnewflag precision :pre hbcut = hydrogen-bond cutoff (distance units) +hbnewflag = use old or new hbond function style (0 or 1) precision = precision for charge equilibration :ul [Examples:] pair_style reax -pair_style reax 10.0 1.0e-5 +pair_style reax 10.0 0 1.0e-5 pair_coeff * * ffield.reax 3 1 2 2 pair_coeff * * ffield.reax 3 NULL NULL 3 :pre @@ -51,16 +52,18 @@ documented in potentials/README.reax. The default ffield.reax contains parameterizations for the following elements: C, H, O, N, S. The format of these files is identical to that used originally by van -Duin. We have tested the accuracy of {pair_style reax/c} potential +Duin. We have tested the accuracy of {pair_style reax} potential against the original ReaxFF code for the systems mentioned above. You can use other ffield files for specific chemical systems that may be available elsewhere (but note that their accuracy may not have been tested). -The {hbcut} and {precision} settings are optional arguments. If +The {hbcut}, {hbnewflag}, and {precision} settings are optional arguments. +If neither is provided, default settings are used: {hbcut} = 10 (which is -Angstroms in real units) and {precision} = 1.0e-6 (one part in 10^6). -If you wish to override either of these defaults, then both settings +Angstroms in real units), {hbnewflag} = 1 (use new hbond function style, +and {precision} = 1.0e-6 (one part in 10^6). +If you wish to override any of these defaults, then all settings must be specified. Use of this pair style requires that a charge be defined for every