git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@7860 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -23,8 +23,9 @@
|
||||
x,y,z = PPPM FFT grid size in each dimension
|
||||
<I>order</I> value = N
|
||||
N = grid extent of Gaussian for PPPM mapping of each charge
|
||||
<I>gewald</I> value = r
|
||||
r = PPPM G-ewald parameter
|
||||
<I>force</I> value = accuracy (force units)
|
||||
<I>gewald</I> value = rinv (1/distance units)
|
||||
rinv = PPPM G-ewald parameter
|
||||
<I>slab</I> value = volfactor
|
||||
volfactor = ratio of the total extended volume used in the
|
||||
2d approximation compared with the volume of the simulation domain
|
||||
@ -66,15 +67,25 @@ small problems are run on large numbers of processors. A warning will
|
||||
be generated indicating the order parameter is being reduced to allow
|
||||
LAMMPS to run the problem.
|
||||
</P>
|
||||
<P>The <I>force</I> keyword overrides the relative accuracy parameter set by
|
||||
the <A HREF = "kspace_style.html">kspace_style</A> command with an absolute
|
||||
accuracy. The accuracy determines the RMS error in per-atom forces
|
||||
calculated by the long-range solver and is thus specified in force
|
||||
units. A negative value for the accuracy setting means to use the
|
||||
relative accuracy parameter. The accuracy setting is used in
|
||||
conjunction with the pairwise cutoff to determine the number of
|
||||
K-space vectors for style <I>ewald</I> or the FFT grid size for style
|
||||
<I>pppm</I>.
|
||||
</P>
|
||||
<P>The <I>gewald</I> keyword sets the value of the Ewald or PPPM G-ewald
|
||||
parameter. Without this setting, LAMMPS chooses the parameter
|
||||
automatically as a function of cutoff, precision, grid spacing, etc.
|
||||
This means it can vary from one simulation to the next which may not
|
||||
be desirable for matching a KSpace solver to a pre-tabulated pairwise
|
||||
potential. This setting can also be useful if Ewald or PPPM fails to
|
||||
choose a good grid spacing and G-ewald parameter automatically. If
|
||||
the value is set to 0.0, LAMMPS will choose the G-ewald parameter
|
||||
automatically.
|
||||
parameter as <I>rinv</I> in reciprocal distance units. Without this
|
||||
setting, LAMMPS chooses the parameter automatically as a function of
|
||||
cutoff, precision, grid spacing, etc. This means it can vary from one
|
||||
simulation to the next which may not be desirable for matching a
|
||||
KSpace solver to a pre-tabulated pairwise potential. This setting can
|
||||
also be useful if Ewald or PPPM fails to choose a good grid spacing
|
||||
and G-ewald parameter automatically. If the value is set to 0.0,
|
||||
LAMMPS will choose the G-ewald parameter automatically.
|
||||
</P>
|
||||
<P>The <I>slab</I> keyword allows an Ewald or PPPM solver to be used for a
|
||||
systems that are periodic in x,y but non-periodic in z - a
|
||||
@ -98,8 +109,8 @@ option is explained in the paper by <A HREF = "#Yeh">(Yeh)</A>.
|
||||
</P>
|
||||
<P><B>Default:</B>
|
||||
</P>
|
||||
<P>The option defaults are mesh = 0 0 0, order = 5, gewald = 0.0, and
|
||||
slab = 1.0.
|
||||
<P>The option defaults are mesh = 0 0 0, order = 5, force = -1.0, gewald
|
||||
= 0.0, and slab = 1.0.
|
||||
</P>
|
||||
<HR>
|
||||
|
||||
|
||||
@ -18,8 +18,9 @@ keyword = {mesh} or {order} or {gewald} or {slab} :l
|
||||
x,y,z = PPPM FFT grid size in each dimension
|
||||
{order} value = N
|
||||
N = grid extent of Gaussian for PPPM mapping of each charge
|
||||
{gewald} value = r
|
||||
r = PPPM G-ewald parameter
|
||||
{force} value = accuracy (force units)
|
||||
{gewald} value = rinv (1/distance units)
|
||||
rinv = PPPM G-ewald parameter
|
||||
{slab} value = volfactor
|
||||
volfactor = ratio of the total extended volume used in the
|
||||
2d approximation compared with the volume of the simulation domain :pre
|
||||
@ -60,15 +61,25 @@ small problems are run on large numbers of processors. A warning will
|
||||
be generated indicating the order parameter is being reduced to allow
|
||||
LAMMPS to run the problem.
|
||||
|
||||
The {force} keyword overrides the relative accuracy parameter set by
|
||||
the "kspace_style"_kspace_style.html command with an absolute
|
||||
accuracy. The accuracy determines the RMS error in per-atom forces
|
||||
calculated by the long-range solver and is thus specified in force
|
||||
units. A negative value for the accuracy setting means to use the
|
||||
relative accuracy parameter. The accuracy setting is used in
|
||||
conjunction with the pairwise cutoff to determine the number of
|
||||
K-space vectors for style {ewald} or the FFT grid size for style
|
||||
{pppm}.
|
||||
|
||||
The {gewald} keyword sets the value of the Ewald or PPPM G-ewald
|
||||
parameter. Without this setting, LAMMPS chooses the parameter
|
||||
automatically as a function of cutoff, precision, grid spacing, etc.
|
||||
This means it can vary from one simulation to the next which may not
|
||||
be desirable for matching a KSpace solver to a pre-tabulated pairwise
|
||||
potential. This setting can also be useful if Ewald or PPPM fails to
|
||||
choose a good grid spacing and G-ewald parameter automatically. If
|
||||
the value is set to 0.0, LAMMPS will choose the G-ewald parameter
|
||||
automatically.
|
||||
parameter as {rinv} in reciprocal distance units. Without this
|
||||
setting, LAMMPS chooses the parameter automatically as a function of
|
||||
cutoff, precision, grid spacing, etc. This means it can vary from one
|
||||
simulation to the next which may not be desirable for matching a
|
||||
KSpace solver to a pre-tabulated pairwise potential. This setting can
|
||||
also be useful if Ewald or PPPM fails to choose a good grid spacing
|
||||
and G-ewald parameter automatically. If the value is set to 0.0,
|
||||
LAMMPS will choose the G-ewald parameter automatically.
|
||||
|
||||
The {slab} keyword allows an Ewald or PPPM solver to be used for a
|
||||
systems that are periodic in x,y but non-periodic in z - a
|
||||
@ -92,8 +103,8 @@ option is explained in the paper by "(Yeh)"_#Yeh.
|
||||
|
||||
[Default:]
|
||||
|
||||
The option defaults are mesh = 0 0 0, order = 5, gewald = 0.0, and
|
||||
slab = 1.0.
|
||||
The option defaults are mesh = 0 0 0, order = 5, force = -1.0, gewald
|
||||
= 0.0, and slab = 1.0.
|
||||
|
||||
:line
|
||||
|
||||
|
||||
@ -18,25 +18,25 @@
|
||||
<UL><LI>style = <I>none</I> or <I>ewald</I> or <I>pppm</I> or <I>pppm/cg</I> or <I>pppm/tip4p</I> or <I>ewald/n</I> or <I>pppm/gpu</I> or <I>ewald/omp</I> or <I>pppm/omp</I> or <I>pppm/proxy</I>
|
||||
|
||||
<PRE> <I>none</I> value = none
|
||||
<I>ewald</I> value = precision
|
||||
precision = desired accuracy
|
||||
<I>pppm</I> value = precision
|
||||
precision = desired accuracy
|
||||
<I>pppm/cg</I> value = precision (smallq)
|
||||
precision = desired accuracy
|
||||
<I>ewald</I> value = accuracy
|
||||
accuracy = desired relative error in forces
|
||||
<I>pppm</I> value = accuracy
|
||||
accuracy = desired relative error in forces
|
||||
<I>pppm/cg</I> value = accuracy (smallq)
|
||||
accuracy = desired relative error in forces
|
||||
smallq = cutoff for charges to be considered (optional) (charge units)
|
||||
<I>pppm/tip4p</I> value = precision
|
||||
precision = desired accuracy
|
||||
<I>ewald/n</I> value = precision
|
||||
precision = desired accuracy
|
||||
<I>pppm/gpu</I> value = precision
|
||||
precision = desired accuracy
|
||||
<I>ewald/omp</I> value = precision
|
||||
precision = desired accuracy
|
||||
<I>pppm/omp</I> value = precision
|
||||
precision = desired accuracy
|
||||
<I>pppm/proxy</I> value = precision
|
||||
precision = desired accuracy
|
||||
<I>pppm/tip4p</I> value = accuracy
|
||||
accuracy = desired relative error in forces
|
||||
<I>ewald/n</I> value = accuracy
|
||||
accuracy = desired relative error in forces
|
||||
<I>pppm/gpu</I> value = accuracy
|
||||
accuracy = desired relative error in forces
|
||||
<I>ewald/omp</I> value = accuracy
|
||||
accuracy = desired relative error in forces
|
||||
<I>pppm/omp</I> value = accuracy
|
||||
accuracy = desired relative error in forces
|
||||
<I>pppm/proxy</I> value = accuracy
|
||||
accuracy = desired relative error in forces
|
||||
</PRE>
|
||||
|
||||
</UL>
|
||||
@ -119,13 +119,23 @@ dispersion forces in a Lennard-Jones or Buckingham potential, see the
|
||||
<A HREF = "pair_lj_coul.html">pair_style lj/coul</A> or <A HREF = "pair_buck_coul.html">pair_style
|
||||
buck/coul</A> commands.
|
||||
</P>
|
||||
<P>A precision value of 1.0e-4 means one part in 10000. This setting is
|
||||
used in conjunction with the pairwise cutoff to determine the number
|
||||
of K-space vectors for style <I>ewald</I> or the FFT grid size for style
|
||||
<I>pppm</I>.
|
||||
<P>The specified <I>accuracy</I> determines the relative RMS error in per-atom
|
||||
forces calculated by the long-range solver. It is set as a
|
||||
dimensionless number, relative to the force that two unit point
|
||||
charges (e.g. 2 monovalent ions) exert on each other at a distance of
|
||||
1 Angstrom. This reference value was chosen as representative of the
|
||||
magnitude of electrostatic forces in atomic systems. Thus an accuracy
|
||||
value of 1.0e-4 means that the RMS error will be a factor of 10000
|
||||
smaller than the reference force.
|
||||
</P>
|
||||
<P>The accuracy setting is used in conjunction with the pairwise cutoff
|
||||
to determine the number of K-space vectors for style <I>ewald</I> or the
|
||||
FFT grid size for style <I>pppm</I>.
|
||||
</P>
|
||||
<P>See the <A HREF = "kspace_modify.html">kspace_modify</A> command for additional
|
||||
options of the K-space solvers that can be set.
|
||||
options of the K-space solvers that can be set, including a <I>force</I>
|
||||
option for setting an absoulte RMS error in forces, as opposed to a
|
||||
relative RMS error.
|
||||
</P>
|
||||
<HR>
|
||||
|
||||
|
||||
@ -14,25 +14,25 @@ kspace_style style value :pre
|
||||
|
||||
style = {none} or {ewald} or {pppm} or {pppm/cg} or {pppm/tip4p} or {ewald/n} or {pppm/gpu} or {ewald/omp} or {pppm/omp} or {pppm/proxy} :ulb,l
|
||||
{none} value = none
|
||||
{ewald} value = precision
|
||||
precision = desired accuracy
|
||||
{pppm} value = precision
|
||||
precision = desired accuracy
|
||||
{pppm/cg} value = precision (smallq)
|
||||
precision = desired accuracy
|
||||
{ewald} value = accuracy
|
||||
accuracy = desired relative error in forces
|
||||
{pppm} value = accuracy
|
||||
accuracy = desired relative error in forces
|
||||
{pppm/cg} value = accuracy (smallq)
|
||||
accuracy = desired relative error in forces
|
||||
smallq = cutoff for charges to be considered (optional) (charge units)
|
||||
{pppm/tip4p} value = precision
|
||||
precision = desired accuracy
|
||||
{ewald/n} value = precision
|
||||
precision = desired accuracy
|
||||
{pppm/gpu} value = precision
|
||||
precision = desired accuracy
|
||||
{ewald/omp} value = precision
|
||||
precision = desired accuracy
|
||||
{pppm/omp} value = precision
|
||||
precision = desired accuracy
|
||||
{pppm/proxy} value = precision
|
||||
precision = desired accuracy :pre
|
||||
{pppm/tip4p} value = accuracy
|
||||
accuracy = desired relative error in forces
|
||||
{ewald/n} value = accuracy
|
||||
accuracy = desired relative error in forces
|
||||
{pppm/gpu} value = accuracy
|
||||
accuracy = desired relative error in forces
|
||||
{ewald/omp} value = accuracy
|
||||
accuracy = desired relative error in forces
|
||||
{pppm/omp} value = accuracy
|
||||
accuracy = desired relative error in forces
|
||||
{pppm/proxy} value = accuracy
|
||||
accuracy = desired relative error in forces :pre
|
||||
:ule
|
||||
|
||||
[Examples:]
|
||||
@ -114,13 +114,23 @@ dispersion forces in a Lennard-Jones or Buckingham potential, see the
|
||||
"pair_style lj/coul"_pair_lj_coul.html or "pair_style
|
||||
buck/coul"_pair_buck_coul.html commands.
|
||||
|
||||
A precision value of 1.0e-4 means one part in 10000. This setting is
|
||||
used in conjunction with the pairwise cutoff to determine the number
|
||||
of K-space vectors for style {ewald} or the FFT grid size for style
|
||||
{pppm}.
|
||||
The specified {accuracy} determines the relative RMS error in per-atom
|
||||
forces calculated by the long-range solver. It is set as a
|
||||
dimensionless number, relative to the force that two unit point
|
||||
charges (e.g. 2 monovalent ions) exert on each other at a distance of
|
||||
1 Angstrom. This reference value was chosen as representative of the
|
||||
magnitude of electrostatic forces in atomic systems. Thus an accuracy
|
||||
value of 1.0e-4 means that the RMS error will be a factor of 10000
|
||||
smaller than the reference force.
|
||||
|
||||
The accuracy setting is used in conjunction with the pairwise cutoff
|
||||
to determine the number of K-space vectors for style {ewald} or the
|
||||
FFT grid size for style {pppm}.
|
||||
|
||||
See the "kspace_modify"_kspace_modify.html command for additional
|
||||
options of the K-space solvers that can be set.
|
||||
options of the K-space solvers that can be set, including a {force}
|
||||
option for setting an absoulte RMS error in forces, as opposed to a
|
||||
relative RMS error.
|
||||
|
||||
:line
|
||||
|
||||
|
||||
Reference in New Issue
Block a user