<UL><LI>style = <I>none</I> or <I>ewald</I> or <I>ewald/disp</I> or <I>ewald/omp</I> or <I>pppm</I> or <I>pppm/cg</I> or <I>pppm/disp</I> or <I>pppm/tip4p</I> or <I>pppm/stagger</I> or <I>pppm/disp/tip4p</I> or <I>pppm/gpu</I> or <I>pppm/omp</I> or <I>pppm/cg/omp</I> or <I>pppm/tip4p/omp</I> or <I>msm</I> or <I>msm/cg</I> or <I>msm/omp</I> or <I>msm/cg/omp</I>
<PRE><I>none</I> value = none
<I>ewald</I> value = accuracy
accuracy = desired relative error in forces
<I>ewald/disp</I> value = accuracy
accuracy = desired relative error in forces
<I>ewald/omp</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/disp</I> value = accuracy
accuracy = desired relative error in forces
<I>pppm/tip4p</I> value = accuracy
accuracy = desired relative error in forces
<I>pppm/disp/tip4p</I> value = accuracy
accuracy = desired relative error in forces
<I>pppm/gpu</I> value = accuracy
accuracy = desired relative error in forces
<I>pppm/omp</I> value = accuracy
accuracy = desired relative error in forces
<I>pppm/cg/omp</I> value = accuracy
accuracy = desired relative error in forces
<I>pppm/tip4p/omp</I> value = accuracy
accuracy = desired relative error in forces
<I>pppm/stagger</I> value = accuracy
accuracy = desired relative error in forces
<I>msm</I> value = accuracy
accuracy = desired relative error in forces
<I>msm/cg</I> value = accuracy (smallq)
accuracy = desired relative error in forces
smallq = cutoff for charges to be considered (optional) (charge units)
<I>msm/omp</I> value = accuracy
accuracy = desired relative error in forces
<I>msm/cg/omp</I> value = accuracy (smallq)
accuracy = desired relative error in forces
smallq = cutoff for charges to be considered (optional) (charge units)
</PRE>
</UL>
<P><B>Examples:</B>
</P>
<PRE>kspace_style pppm 1.0e-4
kspace_style pppm/cg 1.0e-5 1.0e-6
kspace style msm 1.0e-4
kspace_style none
</PRE>
<P><B>Description:</B>
</P>
<P>Define a long-range solver for LAMMPS to use each timestep to compute
long-range Coulombic interactions or long-range 1/r^6 interactions.
Most of the long-range solvers perform their computation in K-space,
hence the name of this command.
</P>
<P>When such a solver is used in conjunction with an appropriate pair
style, the cutoff for Coulombic or 1/r^N interactions is effectively
infinite. If the Coulombic case, this means each charge in the system
interacts with charges in an infinite array of periodic images of the
simulation domain.
</P>
<P>Note that using a long-range solver requires use of a matching <AHREF ="pair.html">pair
style</A> to perform consistent short-range pairwise
calculations. This means that the name of the pair style contains a
matching keyword to the name of the KSpace style, as in this table: