diff --git a/doc/Manual.html b/doc/Manual.html index 23b0e384b5..002c5b4853 100644 --- a/doc/Manual.html +++ b/doc/Manual.html @@ -22,7 +22,7 @@
2-FFT PPPM, also called analytic differentiation or ad PPPM, uses 2 FFTs +instead of the 4 FFTs used by the default ik differentiation PPPM. However, +2-FFT PPPM also requires a slightly larger mesh size to achieve the same accuracy +as 4-FFT PPPM. For problems where the FFT cost is the performance bottleneck (typically +large problems running on many processors), 2-FFT PPPM may be faster than 4-FFT PPPM. +
+Staggered PPPM performs calculations using two different meshes, one shifted slightly with +respect to the other. This can reduce force aliasing errors and increase the accuracy of the +method, but also doubles the amount of work required. For high relative accuracy, using staggered +PPPM allows one to half the mesh size in each dimension as compared to regular PPPM, +which can give around a 4x speedup in the kspace time. However, for low relative +accuracy, using staggered PPPM gives little benefit and can be up to 2x slower in the +kspace time. For example, the rhodopsin benchmark was run on a single processor, +and results for kspace time vs. relative accuracy for the different methods are shown +in the figure below. For this system, staggered PPPM (using ik differentiation) +becomes useful when using a relative accuracy of slightly greater than 1e-5 and above. +
+
+IMPORTANT NOTE: Using staggered PPPM may not give the same increase in accuracy of energy and pressure +as it does in forces, so some caution must be used if energy and/or pressure are quantities of interest, such +as when using a barostat. +
These are commands contributed by users, which can be used if LAMMPS +is built with the appropriate package. +
+| group2ndx + |
Note that thermodynamic output values can be "extensive" or +"intensive". The former scale with the number of atoms in the system +(e.g. total energy), the latter do not (e.g. temperature). The +setting for thermo_modify norm determines whether +extensive quantities are normalized or not. Computes and fixes +produce either extensive or intensive values; see their individual doc +pages for details. Equal-style variables produce only +intensive values; you can include a division by "natoms" in the +formula if desired, to make an extensive calculation produce an +intensive result. +
Dump file output is specified by the dump and diff --git a/doc/Section_howto.txt b/doc/Section_howto.txt index f8254f90b9..49ad45fbda 100644 --- a/doc/Section_howto.txt +++ b/doc/Section_howto.txt @@ -1348,6 +1348,17 @@ output. In each case, the compute, fix, or variable must generate global values for input to the "thermo_style custom"_dump.html command. +Note that thermodynamic output values can be "extensive" or +"intensive". The former scale with the number of atoms in the system +(e.g. total energy), the latter do not (e.g. temperature). The +setting for "thermo_modify norm"_thermo_modify.html determines whether +extensive quantities are normalized or not. Computes and fixes +produce either extensive or intensive values; see their individual doc +pages for details. "Equal-style variables"_variable.html produce only +intensive values; you can include a division by "natoms" in the +formula if desired, to make an extensive calculation produce an +intensive result. + Dump file output :h5,link(dump) Dump file output is specified by the "dump"_dump.html and diff --git a/doc/fix_colvars.html b/doc/fix_colvars.html index c622a6ff4f..5aa30bb707 100644 --- a/doc/fix_colvars.html +++ b/doc/fix_colvars.html @@ -44,30 +44,38 @@ module library which allows to calculate potentials of mean force (PMFs) for any set of colvars, using different sampling methods: currently implemented are the Adaptive Biasing Force (ABF) method, metadynamics, Steered Molecular Dynamics (SMD) and Umbrella Sampling -(US) via a flexible harmonic restraint bias. This documentation -describes only the colvars fix itself and LAMMPS specific parts of the -code. The documentation of the colvars implementation itself is -available as part of the NAMD online -documentation +(US) via a flexible harmonic restraint bias. The colvars library is +hosted at http://colvars.github.io/
-There are example scripts for using this package with LAMMPS in -examples/USER/colvars. +
This documentation describes only the fix colvars command itself and +LAMMPS specific parts of the code. The full documentation of the +colvars library is available as this supplementary PDF document
-The implementation of the portable collective variable library is also -documented in (Henin) +
A detailed discussion of the implementation of the portable collective +variable library is in (Fiorin). Additional information can +be found in (Henin). +
+There are some example scripts for using this package with LAMMPS in the +examples/USER/colvars directory.
The only mandatory argument to the fix is the filename to the colvars -input file that contains all input that is independent from the MD +input file that contains the input that is independent from the MD program in which the colvars library has been integrated.
The group-ID entry is ignored. The collective variable module will -always apply to the entire system, i.e. use the group all. +always apply to the entire system and there can only be one instance +of the colvars fix at a time. The colvars fix will only communicate +the minimum information necessary and the colvars library supports +multiple, completely independent collective variables, so there is +no restriction to functionaliry by limiting the number of colvars fixes.
The input keyword allows to specify a state file that would contain -the information required in order to continue a calculation, e.g. -from a restart. Setting it to NULL will start a new colvars run. +the restart information required in order to continue a calculation from +a prerecorded state. Fix colvars records it state in binary restart +files, so when using the read_restart command, +this is usually not needed.
The output keyword allows to specify the output prefix. All output files generated will use this prefix followed by the ".colvars." and @@ -90,8 +98,10 @@ temperature.
Restart, fix_modify, output, run start/stop, minimize info:
-No information about this fix is written to binary restart -files. +
This fix writes the current status of the colvars module into +binary restart files. This is in addition to the text +mode status file that is written by the colvars module itself and the +kind of information in both files is identical.
The fix_modify energy option is supported by this fix to add the energy change from the biasing force added by the fix @@ -109,10 +119,10 @@ calculated by this fix is "extensive". LAMMPS was built with that package. See the Making LAMMPS section for more info.
-There can only be one colvars fix active at a time. Since the -colvars module itself can handle an arbitrary number of collective -variables and always applies to the entire system, this is not -really a deficit in practice. +
There can only be one colvars fix active at a time. Since the interface +communicates only the minimum amount of information and colvars module +itself can handle an arbitrary number of collective variables, this is +not a limitation of functionality.
Related commands:
@@ -125,9 +135,13 @@ and tstat = NULL.(Fiorin) Fiorin , Klein, Henin, Mol. Phys., DOI:10.1080/00268976.2013.813594 +
-(Henin) Hénin, Fiorin, Chipot, Klein, J. Chem. Theory Comput., 6, +
(Henin) Henin, Fiorin, Chipot, Klein, J. Chem. Theory Comput., 6, 35-47 (2010)