git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@13463 f3b2605a-c512-4ea7-a41b-209d697bcdaa

This commit is contained in:
sjplimp 2015-05-15 16:32:34 +00:00
parent 29746678ff
commit 2284dcc452
6 changed files with 108 additions and 72 deletions

View File

@ -127,7 +127,7 @@ on how to build LAMMPS with both kinds of auxiliary libraries.
<TR ALIGN="center"><TD >USER-COLVARS</TD><TD > collective variables</TD><TD > Fiorin & Henin & Kohlmeyer (3)</TD><TD > <A HREF = "fix_colvars.html">fix colvars</A></TD><TD > USER/colvars</TD><TD > <A HREF = "colvars">colvars</A></TD><TD > lib/colvars</TD></TR>
<TR ALIGN="center"><TD >USER-CUDA</TD><TD > NVIDIA GPU styles</TD><TD > Christian Trott (U Tech Ilmenau)</TD><TD > <A HREF = "accelerate_cuda.html">Section accelerate</A></TD><TD > USER/cuda</TD><TD > -</TD><TD > lib/cuda</TD></TR>
<TR ALIGN="center"><TD >USER-EFF</TD><TD > electron force field</TD><TD > Andres Jaramillo-Botero (Caltech)</TD><TD > <A HREF = "pair_eff.html">pair_style eff/cut</A></TD><TD > USER/eff</TD><TD > <A HREF = "http://lammps.sandia.gov/movies.html#eff">eff</A></TD><TD > -</TD></TR>
<TR ALIGN="center"><TD >USER-FEP</TD><TD > free energy perturbation</TD><TD > Agilio Padua (U Blaise Pascal Clermont-Ferrand)</TD><TD > <A HREF = "fix_adapt.html">fix adapt/fep</A></TD><TD > USER/fep</TD><TD > -</TD><TD > -</TD></TR>
<TR ALIGN="center"><TD >USER-FEP</TD><TD > free energy perturbation</TD><TD > Agilio Padua (U Blaise Pascal Clermont-Ferrand)</TD><TD > <A HREF = "compute_fep.html">compute fep</A></TD><TD > USER/fep</TD><TD > -</TD><TD > -</TD></TR>
<TR ALIGN="center"><TD >USER-INTEL</TD><TD > Vectorized CPU and Intel(R) coprocessor styles</TD><TD > W. Michael Brown (Intel)</TD><TD > <A HREF = "accelerate_intel.html">Section accelerate</A></TD><TD > examples/intel</TD><TD > -</TD><TD > -</TD></TR>
<TR ALIGN="center"><TD >USER-LB</TD><TD > Lattice Boltzmann fluid</TD><TD > Colin Denniston (U Western Ontario)</TD><TD > <A HREF = "fix_lb_fluid.html">fix lb/fluid</A></TD><TD > USER/lb</TD><TD > -</TD><TD > -</TD></TR>
<TR ALIGN="center"><TD >USER-MISC</TD><TD > single-file contributions</TD><TD > USER-MISC/README</TD><TD > USER-MISC/README</TD><TD > -</TD><TD > -</TD><TD > -</TD></TR>

View File

@ -119,7 +119,7 @@ USER-CG-CMM, coarse-graining model, Axel Kohlmeyer (Temple U), "pair_style lj/sd
USER-COLVARS, collective variables, Fiorin & Henin & Kohlmeyer (3), "fix colvars"_fix_colvars.html, USER/colvars, "colvars"_colvars, lib/colvars
USER-CUDA, NVIDIA GPU styles, Christian Trott (U Tech Ilmenau), "Section accelerate"_accelerate_cuda.html, USER/cuda, -, lib/cuda
USER-EFF, electron force field, Andres Jaramillo-Botero (Caltech), "pair_style eff/cut"_pair_eff.html, USER/eff, "eff"_eff, -
USER-FEP, free energy perturbation, Agilio Padua (U Blaise Pascal Clermont-Ferrand), "fix adapt/fep"_fix_adapt.html, USER/fep, -, -
USER-FEP, free energy perturbation, Agilio Padua (U Blaise Pascal Clermont-Ferrand), "compute fep"_compute_fep.html, USER/fep, -, -
USER-INTEL, Vectorized CPU and Intel(R) coprocessor styles, W. Michael Brown (Intel), "Section accelerate"_accelerate_intel.html, examples/intel, -, -
USER-LB, Lattice Boltzmann fluid, Colin Denniston (U Western Ontario), "fix lb/fluid"_fix_lb_fluid.html, USER/lb, -, -
USER-MISC, single-file contributions, USER-MISC/README, USER-MISC/README, -, -, -

View File

@ -31,7 +31,7 @@
I,J = type pair(s) to set parameter for
v_delta = variable with perturbation to apply (in the units of the parameter)
<I>atom</I> args = aparam I v_delta
aparam = parameter to adapt over time
aparam = parameter to perturb
I = type to set parameter for
v_delta = variable with perturbation to apply (in the units of the parameter)
</PRE>

View File

@ -23,7 +23,7 @@ attribute = {pair} or {atom} :l
I,J = type pair(s) to set parameter for
v_delta = variable with perturbation to apply (in the units of the parameter)
{atom} args = aparam I v_delta
aparam = parameter to adapt over time
aparam = parameter to perturb
I = type to set parameter for
v_delta = variable with perturbation to apply (in the units of the parameter) :pre
zero or more keyword/value pairs may be appended :l

View File

@ -125,12 +125,12 @@ pair_coeff 1 1 1.0 9.5
<P>The <I>lj/cut/soft</I> style and substyles compute the 12/6 Lennard-Jones
and Coulomb potential modified by a soft core, in order to avoid
singularities during free energy calculations when sites are created
or anihilated <A HREF = "#Beutler">(Beutler)</A>.
or anihilated <A HREF = "#Beutler">(Beutler)</A>,
</P>
<CENTER><IMG SRC = "Eqs/pair_lj_soft.jpg">
</CENTER>
<P>Coulomb interactions are also damped with a soft core at short
distance as
distance,
</P>
<CENTER><IMG SRC = "Eqs/pair_coul_soft.jpg">
</CENTER>
@ -139,11 +139,11 @@ are the charges on the 2 atoms, and epsilon is the dielectric constant
which can be set by the <A HREF = "dielectric.html">dielectric</A> command.
</P>
<P>The coefficient lambda is an activation parameter. When lambda = 1 the
pair potentiel is identical to a Lennard-Jones term plus a Coulomb
term. When lambda = 0 the pair interactions are deactivated. The
transition between these two extrema is smoothed by a repulsive soft
core in order to avoid singularities in potential energy and forces
when sites are created or anihilated and can overlap
pair potentiel is identical to a Lennard-Jones term or a Coulomb term
or a combination of both. When lambda = 0 the interactions are
deactivated. The transition between these two extrema is smoothed by a
soft repulsive core in order to avoid singularities in potential
energy and forces when sites are created or anihilated and can overlap
<A HREF = "#Beutler">(Beutler)</A>.
</P>
<P>The paratemers n, alpha_LJ and alpha_C are set in the
@ -151,11 +151,34 @@ when sites are created or anihilated and can overlap
choices for the exponent are n = 2 or n = 1. For the remaining
coefficients alpha_LJ = 0.5 and alpha_C = 10 Angstrom^2 are
appropriate choices. Plots of the LJ and Coulomb terms are shown
below, for lambda ranging from 1 ro 0 every 0.1.
below, for lambda ranging from 1 to 0 every 0.1.
</P>
<CENTER><IMG SRC = "JPG/lj_soft.jpg"><IMG SRC = "JPG/coul_soft.jpg">
</CENTER>
<P>The <I>lj/cut/tip4p/long/soft</I> implements a soft-core version of the
<P>For the <I>lj/cut/coul/cut/soft</I> or <I>lj/cut/coul/long/soft</I> pair styles,
the following coefficients must be defined for each pair of atoms
types via the <A HREF = "pair_coeff.html">pair_coeff</A> command as in the examples
above, or in the data file or restart files read by the
<A HREF = "read_data.html">read_data</A> or <A HREF = "read_restart.html">read_restart</A>
commands, or by mixing as described below:
</P>
<UL><LI>epsilon (energy units)
<LI>sigma (distance units)
<LI>lambda (activation parameter between 0 and 1)
<LI>cutoff1 (distance units)
<LI>cutoff2 (distance units)
</UL>
<P>The latter two coefficients are optional. If not specified, the global
LJ and Coulombic cutoffs specified in the pair_style command are used.
If only one cutoff is specified, it is used as the cutoff for both LJ
and Coulombic interactions for this type pair. If both coefficients
are specified, they are used as the LJ and Coulombic cutoffs for this
type pair. You cannot specify 2 cutoffs for style <I>lj/cut/soft</I>,
since it has no Coulombic terms. For the <I>coul/cut/soft</I> and
<I>coul/long/soft</I> only lambda and the optional cutoff2 are to be
specified.
</P>
<P>Style <I>lj/cut/tip4p/long/soft</I> implements a soft-core version of the
TIP4P water model. The usage of this pair style is documented in the
<A HREF = "pair_lj.html">pair_lj</A> styles. The soft-core version introduces the
lambda parameter to the list of arguments, after epsilon and sigma in
@ -184,28 +207,18 @@ occur. These substyles are suitable to represent charges embedded in
the Lennard-Jones radius of another site (for example hydrogen atoms
in several water models).
</P>
<P>For the <I>lj/cut/coul/cut/soft</I> or <I>lj/cut/coul/long/soft</I> pair styles,
the following coefficients must be defined for each pair of atoms
types via the <A HREF = "pair_coeff.html">pair_coeff</A> command as in the examples
above, or in the data file or restart files read by the
<A HREF = "read_data.html">read_data</A> or <A HREF = "read_restart.html">read_restart</A>
commands, or by mixing as described below:
</P>
<UL><LI>epsilon (energy units)
<LI>sigma (distance units)
<LI>lambda (activation parameter between 0 and 1)
<LI>cutoff1 (distance units)
<LI>cutoff2 (distance units)
</UL>
<P>The latter two coefficients are optional. If not specified, the global
LJ and Coulombic cutoffs specified in the pair_style command are used.
If only one cutoff is specified, it is used as the cutoff for both LJ
and Coulombic interactions for this type pair. If both coefficients
are specified, they are used as the LJ and Coulombic cutoffs for this
type pair. You cannot specify 2 cutoffs for style <I>lj/cut/soft</I>,
since it has no Coulombic terms. For the <I>coul/cut/soft</I> and
<I>coul/long/soft</I> only lambda and the optional cutoff2 are to be
specified.
<P>IMPORTANT NOTES: When using the core-softed Coulomb potentials with
long-range solvers (<I>coul/long/soft</I>, <I>lj/cut/coul/long/soft</I>, etc.)
in a free energy calculation in which sites holding electrostatic
charges are being created or anihilated (using
<A HREF = "fix_adapt_fep.html">fix_adapt/fep</A> and <A HREF = "compute_fep.html">compute_fep</A>)
it is important to adapt both the lambda activation parameter (from 0
to 1, or the reverse) and the value of the charge (from 0 to its final
value, or the reverse). This ensures that long-range electrostatic
terms (kspace) are correct. It is not necessary to use core-softed
Coulomb potentials if the van der Waals site is present during the
free-energy route, thus avoiding overlap of the charges. Examples are
provided in the LAMMPS source directory tree, under examples/USER/fep.
</P>
<HR>
@ -255,10 +268,15 @@ to be specified in an input script that reads a restart file.
<P><B>Restrictions:</B>
</P>
<P>To avoid division by zero do not set sigma = 0. When sites do not
interact though the Lennard-Jones term use epsilon = 0 and sigma = 1
for example, or else use the <I>coul/long/soft</I> or similar substyle.
<P>To avoid division by zero do not set sigma = 0; use the lambda
parameter instead to activate/deactivate interactions, or use
epsilon = 0 and sigma = 1. Alternatively, when sites do not
interact though the Lennard-Jones term the <I>coul/long/soft</I> or
similar substyle can be used via the
<A HREF = "pair_hybrid.html">pair_style hybrid/overlay</A> command.
</P>
<HR>
<P>All of the plain <I>soft</I> pair styles are part of the USER-FEP package.
The <I>long</I> styles also requires the KSPACE package to be installed.
They are only enabled if LAMMPS was built with those packages. See

View File

@ -106,12 +106,12 @@ pair_coeff 1 1 1.0 9.5 :pre
The {lj/cut/soft} style and substyles compute the 12/6 Lennard-Jones
and Coulomb potential modified by a soft core, in order to avoid
singularities during free energy calculations when sites are created
or anihilated "(Beutler)"_#Beutler.
or anihilated "(Beutler)"_#Beutler,
:c,image(Eqs/pair_lj_soft.jpg)
Coulomb interactions are also damped with a soft core at short
distance as
distance,
:c,image(Eqs/pair_coul_soft.jpg)
@ -120,11 +120,11 @@ are the charges on the 2 atoms, and epsilon is the dielectric constant
which can be set by the "dielectric"_dielectric.html command.
The coefficient lambda is an activation parameter. When lambda = 1 the
pair potentiel is identical to a Lennard-Jones term plus a Coulomb
term. When lambda = 0 the pair interactions are deactivated. The
transition between these two extrema is smoothed by a repulsive soft
core in order to avoid singularities in potential energy and forces
when sites are created or anihilated and can overlap
pair potentiel is identical to a Lennard-Jones term or a Coulomb term
or a combination of both. When lambda = 0 the interactions are
deactivated. The transition between these two extrema is smoothed by a
soft repulsive core in order to avoid singularities in potential
energy and forces when sites are created or anihilated and can overlap
"(Beutler)"_#Beutler.
The paratemers n, alpha_LJ and alpha_C are set in the
@ -132,11 +132,34 @@ The paratemers n, alpha_LJ and alpha_C are set in the
choices for the exponent are n = 2 or n = 1. For the remaining
coefficients alpha_LJ = 0.5 and alpha_C = 10 Angstrom^2 are
appropriate choices. Plots of the LJ and Coulomb terms are shown
below, for lambda ranging from 1 ro 0 every 0.1.
below, for lambda ranging from 1 to 0 every 0.1.
:c,image(JPG/lj_soft.jpg),image(JPG/coul_soft.jpg)
The {lj/cut/tip4p/long/soft} implements a soft-core version of the
For the {lj/cut/coul/cut/soft} or {lj/cut/coul/long/soft} pair styles,
the following coefficients must be defined for each pair of atoms
types via the "pair_coeff"_pair_coeff.html command as in the examples
above, or in the data file or restart files read by the
"read_data"_read_data.html or "read_restart"_read_restart.html
commands, or by mixing as described below:
epsilon (energy units)
sigma (distance units)
lambda (activation parameter between 0 and 1)
cutoff1 (distance units)
cutoff2 (distance units) :ul
The latter two coefficients are optional. If not specified, the global
LJ and Coulombic cutoffs specified in the pair_style command are used.
If only one cutoff is specified, it is used as the cutoff for both LJ
and Coulombic interactions for this type pair. If both coefficients
are specified, they are used as the LJ and Coulombic cutoffs for this
type pair. You cannot specify 2 cutoffs for style {lj/cut/soft},
since it has no Coulombic terms. For the {coul/cut/soft} and
{coul/long/soft} only lambda and the optional cutoff2 are to be
specified.
Style {lj/cut/tip4p/long/soft} implements a soft-core version of the
TIP4P water model. The usage of this pair style is documented in the
"pair_lj"_pair_lj.html styles. The soft-core version introduces the
lambda parameter to the list of arguments, after epsilon and sigma in
@ -165,28 +188,18 @@ occur. These substyles are suitable to represent charges embedded in
the Lennard-Jones radius of another site (for example hydrogen atoms
in several water models).
For the {lj/cut/coul/cut/soft} or {lj/cut/coul/long/soft} pair styles,
the following coefficients must be defined for each pair of atoms
types via the "pair_coeff"_pair_coeff.html command as in the examples
above, or in the data file or restart files read by the
"read_data"_read_data.html or "read_restart"_read_restart.html
commands, or by mixing as described below:
epsilon (energy units)
sigma (distance units)
lambda (activation parameter between 0 and 1)
cutoff1 (distance units)
cutoff2 (distance units) :ul
The latter two coefficients are optional. If not specified, the global
LJ and Coulombic cutoffs specified in the pair_style command are used.
If only one cutoff is specified, it is used as the cutoff for both LJ
and Coulombic interactions for this type pair. If both coefficients
are specified, they are used as the LJ and Coulombic cutoffs for this
type pair. You cannot specify 2 cutoffs for style {lj/cut/soft},
since it has no Coulombic terms. For the {coul/cut/soft} and
{coul/long/soft} only lambda and the optional cutoff2 are to be
specified.
IMPORTANT NOTES: When using the core-softed Coulomb potentials with
long-range solvers ({coul/long/soft}, {lj/cut/coul/long/soft}, etc.)
in a free energy calculation in which sites holding electrostatic
charges are being created or anihilated (using
"fix_adapt/fep"_fix_adapt_fep.html and "compute_fep"_compute_fep.html)
it is important to adapt both the lambda activation parameter (from 0
to 1, or the reverse) and the value of the charge (from 0 to its final
value, or the reverse). This ensures that long-range electrostatic
terms (kspace) are correct. It is not necessary to use core-softed
Coulomb potentials if the van der Waals site is present during the
free-energy route, thus avoiding overlap of the charges. Examples are
provided in the LAMMPS source directory tree, under examples/USER/fep.
:line
@ -236,9 +249,14 @@ to be specified in an input script that reads a restart file.
[Restrictions:]
To avoid division by zero do not set sigma = 0. When sites do not
interact though the Lennard-Jones term use epsilon = 0 and sigma = 1
for example, or else use the {coul/long/soft} or similar substyle.
To avoid division by zero do not set sigma = 0; use the lambda
parameter instead to activate/deactivate interactions, or use
epsilon = 0 and sigma = 1. Alternatively, when sites do not
interact though the Lennard-Jones term the {coul/long/soft} or
similar substyle can be used via the
"pair_style hybrid/overlay"_pair_hybrid.html command.
:line
All of the plain {soft} pair styles are part of the USER-FEP package.
The {long} styles also requires the KSPACE package to be installed.