diff --git a/doc/Section_commands.html b/doc/Section_commands.html index 8955246e6a..36193c7fab 100644 --- a/doc/Section_commands.html +++ b/doc/Section_commands.html @@ -334,9 +334,9 @@ description:
These are compute styles contributed by users, which can be used if diff --git a/doc/Section_commands.txt b/doc/Section_commands.txt index db4578bf83..292f723959 100644 --- a/doc/Section_commands.txt +++ b/doc/Section_commands.txt @@ -444,6 +444,7 @@ description: "ebond/atom"_compute_ebond_atom.html, "epair/atom"_compute_epair_atom.html, "ke/atom"_compute_ke_atom.html, +"pe"_compute_pe.html, "pressure"_compute_pressure.html, "rotate/dipole"_compute_rotate_dipole.html, "rotate/gran"_compute_rotate_gran.html, diff --git a/doc/compute.html b/doc/compute.html index 8453388b5c..7bd256009b 100644 --- a/doc/compute.html +++ b/doc/compute.html @@ -53,12 +53,14 @@ ave/spatial commands.
See this howto section for a summary of various LAMMPS output options.
-LAMMPS creates its own global computes for thermodynamic output. Two -computes are always created, named "thermo_temp" and -"thermo_pressure", as if these commands had been invoked: +
LAMMPS creates its own global computes for thermodynamic output. +Three computes are always created, named "thermo_temp", +"thermo_pressure", and"thermo_pe", as if these commands had been +invoked in the input script:
compute thermo_temp all temp -compute thermo_pressure all pressure thermo_temp +compute thermo_pressure all pressure thermo_temp +compute thermo_pe all pe
Additional computes are created if the thermo style requires it. See the documentation for the thermo_style command. @@ -92,6 +94,7 @@ defined in LAMMPS:
extra value = N
N = # of extra degrees of freedom to subtract
dynamic value = yes or no
- yes/no = do or do not recompute the number of atoms contributing to the temperature
+ yes/no = do or do not recompute the number of atoms contributing to the temperature
+ thermo value = yes or no
+ yes/no = do or do not add contributions from fixes to the potential energy
@@ -53,6 +55,12 @@ deposit commands) or expect atoms to be lost
(e.g. due to evaporation), then this option can be used to insure the
temperature is correctly normalized.
+The thermo keyword determines whether the potential energy +contribution calculated by some fixes is added to the +potential energy calculated by the compute. Only the compute of style +pe uses this option. See the doc pages for individual +fixes for details. +
Restrictions: none
Related commands: @@ -61,6 +69,8 @@ temperature is correctly normalized.
Default:
-The option defaults are extra = 3 and dynamic = no. +
The option defaults are extra = 3 and dynamic = no. Thermo is yes if +the compute of style pe was defined with no extra keywords; otherwise +it is no.