diff --git a/bench/FERMI/README b/bench/FERMI/README index f8772483d1..db3f527bdc 100644 --- a/bench/FERMI/README +++ b/bench/FERMI/README @@ -14,7 +14,7 @@ lmp_linux_mixed lmp_linux_double The precision (single, mixed, double) refers to the GPU and USER-CUDA -pacakge precision. See the README files in the lib/gpu and lib/cuda +package precision. See the README files in the lib/gpu and lib/cuda directories for instructions on how to build the packages with different precisions. The GPU and USER-CUDA sub-sections of the doc/Section_accelerate.html file also describes this process. diff --git a/doc/.gitignore b/doc/.gitignore index bcd8f6db71..7d30949237 100644 --- a/doc/.gitignore +++ b/doc/.gitignore @@ -1,4 +1,5 @@ /html +/spelling /LAMMPS.epub /LAMMPS.mobi /Manual.pdf diff --git a/doc/Makefile b/doc/Makefile index e05715522b..79558674d7 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -22,7 +22,7 @@ endif SOURCES=$(wildcard src/*.txt) OBJECTS=$(SOURCES:src/%.txt=$(RSTDIR)/%.rst) -.PHONY: help clean-all clean epub html pdf old venv +.PHONY: help clean-all clean epub html pdf old venv spelling # ------------------------------------------ @@ -44,6 +44,10 @@ clean-all: clean: rm -rf $(RSTDIR) html + rm -rf spelling + +clean-spelling: + rm -rf spelling html: $(OBJECTS) @(\ @@ -64,6 +68,17 @@ html: $(OBJECTS) @rm -rf html/USER/*/*.[sg]* @echo "Build finished. The HTML pages are in doc/html." +spelling: $(OBJECTS) utils/sphinx-config/false_positives.txt + @(\ + . $(VENV)/bin/activate ;\ + pip install sphinxcontrib-spelling ;\ + cp -r src/* $(RSTDIR)/ ;\ + cp utils/sphinx-config/false_positives.txt $(RSTDIR)/ ;\ + sphinx-build -b spelling -c utils/sphinx-config -d $(BUILDDIR)/doctrees $(RSTDIR) spelling ;\ + deactivate ;\ + ) + @echo "Spell check finished." + epub: $(OBJECTS) @mkdir -p epub @rm -f LAMMPS.epub diff --git a/doc/src/2001/input_commands.html b/doc/src/2001/input_commands.html index 6f7266f2ca..797d6bec4e 100644 --- a/doc/src/2001/input_commands.html +++ b/doc/src/2001/input_commands.html @@ -464,7 +464,7 @@ the angletype option can only be assigned to a "fix style" of "shake", entirely rigid (e.g. water) the angletype option enables an additional check when SHAKE constraints are computed: if a cluster is of size 3 and both bonds in - the cluster are of a bondtype specified by the 2nd paramter of + the cluster are of a bondtype specified by the 2nd parameter of angletype, then the cluster is SHAKEn with an additional angle constraint that makes it rigid, using the equilibrium angle appropriate to the specified angletype @@ -476,7 +476,7 @@ IMPORTANT NOTE: the angletype option has one additional affect, namely since they will not be SHAKEn but neither will the angle force by computed for style region, a coeff of INF means + or - infinity (all the way to the boundary) -an atom can be assigned to multiple constraints, the contraints will be +an atom can be assigned to multiple constraints, the constraints will be applied in the reverse order they are assigned to that atom (e.g. each timestep, the last fix assigned to an atom will be applied to it first, then the next-to-last applied second, etc) @@ -689,7 +689,7 @@ coeffs: types remainder no other parameters required -used with "create temp" commmand to initialize velocities of atoms +used with "create temp" command to initialize velocities of atoms by default, the "create temp" command initializes the velocities of all atoms, this command limits the initialization to a group of atoms this command is only in force for the next "create temp" command, any @@ -1263,7 +1263,7 @@ when using constraints with the minimizer, fixes are applied when atoms move except for the following fixes associated with temperature control are not allowed (rescale, hoover/drag, langevin) -the minimizer does not invoke the "fix style shake" contraints on +the minimizer does not invoke the "fix style shake" constraints on bond lengths the minimizer does not invoke pressure control or volume control settings for good convergence, should specify use of smooth nonbond force fields @@ -1566,7 +1566,7 @@ mesh dimensions that are power-of-two are fastest for FFTs, but any sizes can be used that are supported by native machine libraries this command is optional - if not used, a default mesh size will be chosen to satisfy accuracy criterion - if used, the - specifed mesh size will override the default + specified mesh size will override the default
(6) flow
-2-d flow of Lennard-Jones atoms in a channel using various contraint +2-d flow of Lennard-Jones atoms in a channel using various constraint options.
(7) polymer
@@ -201,7 +201,7 @@ The tools directory also has a F77 program called setup_chain.f (compile and link with print.c) which can be used to generate random initial polymer configurations for bead-spring models like those used in examples/polymer. It uses an input polymer definition file (see -examples/polymer for two sample def files) that specfies how many +examples/polymer for two sample def files) that specifies how many chains of what length, a random number seed, etc.