diff --git a/doc/Section_howto.html b/doc/Section_howto.html index 8697114b5f..f5f61a065d 100644 --- a/doc/Section_howto.html +++ b/doc/Section_howto.html @@ -805,11 +805,10 @@ at a specified frequency. A simulation prints one set of thermodynamic output; it may generate zero, or one, or multiple dump files. LAMMPS gives you a variety of ways to determine what quantities are computed and printed when thermodynamic info or dump -files are output. There are also two fixes which perform time and -spatial averaging of user-defined quantities, fix -ave/time and fix -ave/spatial. These produce their own output -files and are described below. +files are output. There are also three fixes which do their own +output of user-defined quantities: fix ave/time +for time averaging, fix ave/spatial for spatial +averaging, and fix print. These are described below.

The frequency and format of thermodynamic output is set by the thermo, thermo_style, and @@ -887,9 +886,9 @@ These per-atom fix values are accessed by the dump custom< command as f_myKE for a scalar per-atom quantity or as f_myStress[2] for a component of a vector per-atom quantity.

-

Two other fixes are of particular note for output: fix -ave/time and fix -ave/spatial. +

Three other fixes are of particular note for output: fix +ave/time, fix ave/spatial, +and fix print.

The fix ave/time command enables time-averaging of global quantities like temperature or pressure. The global quantities @@ -910,6 +909,13 @@ average of a spatial average of a time-averaged per-atom quantity. The time-averaged values generated by fix ave/spatial are written directly to a file.

+

The fix print command can generate a line of output +written to the screen and log file periodically during a running +simulation. Since the line can contain one or more +variable quantities, this command is a means to output +desired calculated quantities that are not part of thermodynamic or +dump file output. +


diff --git a/doc/Section_howto.txt b/doc/Section_howto.txt index 362aa72414..3028f5e39a 100644 --- a/doc/Section_howto.txt +++ b/doc/Section_howto.txt @@ -798,11 +798,10 @@ at a specified frequency. A simulation prints one set of thermodynamic output; it may generate zero, or one, or multiple dump files. LAMMPS gives you a variety of ways to determine what quantities are computed and printed when thermodynamic info or dump -files are output. There are also two fixes which perform time and -spatial averaging of user-defined quantities, "fix -ave/time"_fix_ave_time.html and "fix -ave/spatial"_fix_ave_spatial.html. These produce their own output -files and are described below. +files are output. There are also three fixes which do their own +output of user-defined quantities: "fix ave/time"_fix_ave_time.html +for time averaging, "fix ave/spatial"_fix_ave_spatial.html for spatial +averaging, and "fix print"_fix_print.html. These are described below. The frequency and format of thermodynamic output is set by the "thermo"_thermo.html, "thermo_style"_thermo_style.html, and @@ -880,9 +879,9 @@ These per-atom fix values are accessed by the "dump custom"_dump.html command as f_myKE for a scalar per-atom quantity or as f_myStress\[2\] for a component of a vector per-atom quantity. -Two other fixes are of particular note for output: "fix -ave/time"_fix_ave_time.html and "fix -ave/spatial"_fix_ave_spatial.html. +Three other fixes are of particular note for output: "fix +ave/time"_fix_ave_time.html, "fix ave/spatial"_fix_ave_spatial.html, +and "fix print"_fix_print.html. The "fix ave/time"_fix_ave_time.html command enables time-averaging of global quantities like temperature or pressure. The global quantities @@ -903,6 +902,13 @@ average of a spatial average of a time-averaged per-atom quantity. The time-averaged values generated by "fix ave/spatial"_fix_ave_spatial.html are written directly to a file. +The "fix print"_fix_print.html command can generate a line of output +written to the screen and log file periodically during a running +simulation. Since the line can contain one or more +"variable"_variable.html quantities, this command is a means to output +desired calculated quantities that are not part of thermodynamic or +dump file output. + :line :link(Cornell)