Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
lammps
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
multiscale
lammps
Commits
f76d4181
Commit
f76d4181
authored
17 years ago
by
sjplimp
Browse files
Options
Downloads
Patches
Plain Diff
git-svn-id:
svn://svn.icms.temple.edu/lammps-ro/trunk@922
f3b2605a-c512-4ea7-a41b-209d697bcdaa
parent
b3fcdf4d
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
doc/Section_commands.txt
+1
-1
1 addition, 1 deletion
doc/Section_commands.txt
doc/kspace_style.txt
+31
-15
31 additions, 15 deletions
doc/kspace_style.txt
with
32 additions
and
16 deletions
doc/Section_commands.txt
+
1
−
1
View file @
f76d4181
...
@@ -592,4 +592,4 @@ description:
...
@@ -592,4 +592,4 @@ description:
These are Kspace solvers contributed by users, which can be used if
These are Kspace solvers contributed by users, which can be used if
"LAMMPS is built with the appropriate package"_Section_start.html#2_3.
"LAMMPS is built with the appropriate package"_Section_start.html#2_3.
"ewald/n"_
ewald_n
.html :tb(c=4,ea=c,w=100)
"ewald/n"_
kspace_style
.html :tb(c=4,ea=c,w=100)
This diff is collapsed.
Click to expand it.
doc/kspace_style.txt
+
31
−
15
View file @
f76d4181
...
@@ -12,13 +12,15 @@ kspace_style command :h3
...
@@ -12,13 +12,15 @@ kspace_style command :h3
kspace_style style value :pre
kspace_style style value :pre
style = {none} or {ewald} or {pppm} or
others as referenced below
:ulb,l
style = {none} or {ewald} or {pppm} or
{pppm/tip4p} or {ewald/n}
:ulb,l
{none} value = none
{none} value = none
{ewald} value = precision
{ewald} value = precision
precision = desired accuracy
precision = desired accuracy
{pppm} value = precision
{pppm} value = precision
precision = desired accuracy
precision = desired accuracy
{pppm/tip4p} value = precision
{pppm/tip4p} value = precision
precision = desired accuracy
{ewald/n} value = precision
precision = desired accuracy :pre
precision = desired accuracy :pre
:ule
:ule
...
@@ -29,12 +31,12 @@ kspace_style none :pre
...
@@ -29,12 +31,12 @@ kspace_style none :pre
[Description:]
[Description:]
Define a
reciprocal (
K-space
)
solver for LAMMPS to use each timestep
Define a K-space solver for LAMMPS to use each timestep
to compute
to compute
long-range Coulombic interactions
. When such a solver is
long-range Coulombic interactions
or long-range 1/r^N interactions.
used in conjunction with an appropriate pair
style, the cutoff for
When such a solver is
used in conjunction with an appropriate pair
Coulombic interactions is effectively infinite; each charge in the
style, the cutoff for Coulombic or other 1/r^N interactions is
system interacts wit
h charge
s
in
an infinite array of periodic ima
ges
effectively infinite; eac
h charge in
the system interacts with char
ges
of the simulation domain.
in an infinite array of periodic images
of the simulation domain.
The {ewald} style performs a standard Ewald summation as described in
The {ewald} style performs a standard Ewald summation as described in
any solid-state physics text.
any solid-state physics text.
...
@@ -54,15 +56,21 @@ adds a charge at the massless 4th site in each TIP4P water molecule.
...
@@ -54,15 +56,21 @@ adds a charge at the massless 4th site in each TIP4P water molecule.
It should be used with "pair styles"_pair_style.html with a
It should be used with "pair styles"_pair_style.html with a
{long/tip4p} in their style name.
{long/tip4p} in their style name.
There are also additional kspace styles submitted by users which are
The {ewald/n} style augments {ewald} by adding long-range dispersion
included in the LAMMPS distribution. The list of these with links to
sum capabilities for 1/r^N potentials and is useful for simulation of
the individual styles are given in the kspace section of "this
interfaces "(Veld)"_#Veld. It also performs standard coulombic Ewald
page"_Section_commands.html#3_5.
summations, but in a more efficient manner than the {ewald} style.
The 1/r^N capability means that Lennard-Jones or Buckingham potentials
can be used with {ewald/n} without a cutoff, i.e. they become full
long-range potentials.
When a kspace style is used, a pair style that includes the
When a kspace style is used, a pair style that includes the
short-range correction to the pairwise Coulombic forces must also be
short-range correction to the pairwise Coulombic or other 1/r^N forces
selected. These styles are ones that have a {coul/long} in their
must also be selected. For Coulombic interactions, these styles are
style name.
ones that have a {coul/long} in their style name. For Lennard-Jones
or Buckingham interactions, see the "pair_style
lj/coul"_pair_lj_coul.html or "pair_style
buck/coul"_pair_buck_coul.html potentials.
A precision value of 1.0e-4 means one part in 10000. This setting is
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
used in conjunction with the pairwise cutoff to determine the number
...
@@ -80,13 +88,18 @@ Kspace styles are part of the "kspace" package. They are only enabled
...
@@ -80,13 +88,18 @@ Kspace styles are part of the "kspace" package. They are only enabled
if LAMMPS was built with that package. See the "Making
if LAMMPS was built with that package. See the "Making
LAMMPS"_Section_start.html#2_3 section for more info.
LAMMPS"_Section_start.html#2_3 section for more info.
The {ewald/n} style is part of the "user-ewaldn" package. It is only
enabled if LAMMPS was built with that package. See the "Making
LAMMPS"_Section_start.html#2_3 section for more info.
When using a long-range pairwise TIP4P potential, you must use kspace
When using a long-range pairwise TIP4P potential, you must use kspace
style {pppm/tip4p} and vice versa.
style {pppm/tip4p} and vice versa.
[Related commands:]
[Related commands:]
"kspace_modify"_kspace_modify.html, "pair_style"_pair_style.html
"kspace_modify"_kspace_modify.html, "pair_style"_pair_style.html
lj/cut/coul/long, "pair_style"_pair_style.html lj/charmm/coul/long
lj/cut/coul/long, "pair_style"_pair_style.html lj/charmm/coul/long,
"pair_style"_pair_style lj/coul, "pair_style"_pair_style buck/coul
[Default:]
[Default:]
...
@@ -103,3 +116,6 @@ Adam Hilger, NY (1989).
...
@@ -103,3 +116,6 @@ Adam Hilger, NY (1989).
:link(Pollock)
:link(Pollock)
[(Pollock)] Pollock and Glosli, Comp Phys Comm, 95, 93 (1996).
[(Pollock)] Pollock and Glosli, Comp Phys Comm, 95, 93 (1996).
:link(Veld)
[(Veld)] In 't Veld, Ismail, Grest, J Chem Phys, in press (2007).
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment