whitespace cleanup

This commit is contained in:
Axel Kohlmeyer
2020-03-09 16:31:53 -04:00
parent 69a206f720
commit cf64ba4059
2 changed files with 5 additions and 11 deletions

View File

@ -15,9 +15,9 @@ Syntax
* halt = style name of this fix command
* N = check halt condition every N steps
* attribute = *bondmax* or *tlimit* or *diskfree* or *v\_name*
.. parsed-literal::
bondmax = length of longest bond in the system (in length units)
tlimit = elapsed CPU time (in seconds)
diskfree = free disk space (in megabytes)
@ -27,19 +27,17 @@ Syntax
* avalue = numeric value to compare attribute to
* zero or more keyword/value pairs may be appended
* keyword = *error* or *message* or *path*
.. parsed-literal::
*error* value = *hard* or *soft* or *continue*
*message* value = *yes* or *no*
*path* value = path to check for free space (may be in quotes)
Examples
""""""""
.. code-block:: LAMMPS
fix 10 all halt 1 bondmax > 1.5
@ -101,7 +99,6 @@ computing some attribute of the current system. For example, the
following "bondmax" variable will calculate the same quantity as the
hstyle = bondmax option.
.. code-block:: LAMMPS
compute bdist all bond/local dist
@ -110,7 +107,6 @@ hstyle = bondmax option.
Thus these two versions of a fix halt command will do the same thing:
.. code-block:: LAMMPS
fix 10 all halt 1 bondmax > 1.5
@ -128,10 +124,8 @@ it is "false".
The specified *avalue* must be a numeric value.
----------
The optional *error* keyword determines how the current run is halted.
If its value is *hard*\ , then LAMMPS will stop with an error message.

View File

@ -322,7 +322,7 @@ double FixHalt::diskfree()
disk_free = fs.f_bavail*fs.f_bsize/1048576.0;
else
disk_free = -1.0;
MPI_Bcast(&disk_free,1,MPI_DOUBLE,0,world);
}
return disk_free;