Unverified Commit d0f57289 authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

finish updating docs for fixes using code-block plus a few other improvements

parent 5029bc9e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -27,7 +27,7 @@ Syntax
Examples
""""""""

.. parsed-literal::
.. code-block:: LAMMPS

   fix 5 all bond/break 10 2 1.2
   fix 5 polymer bond/break 1 1 2.0 prob 0.5 49829
+1 −1
Original line number Diff line number Diff line
@@ -40,7 +40,7 @@ Syntax
Examples
""""""""

.. parsed-literal::
.. code-block:: LAMMPS

   fix 5 all bond/create 10 1 2 0.8 1
   fix 5 all bond/create 1 3 3 0.8 1 prob 0.5 85784 iparam 2 3
+2 −2
Original line number Diff line number Diff line
@@ -59,7 +59,7 @@ Examples

For unabridged example scripts and files, see examples/USER/reaction.

.. parsed-literal::
.. code-block:: LAMMPS

   molecule mol1 pre_reacted_topology.txt
   molecule mol2 post_reacted_topology.txt
@@ -466,7 +466,7 @@ atoms currently involved in a reaction. For example, adding the
following command would add an additional thermostat to the group of
all currently-reacting atoms:

.. parsed-literal::
.. code-block:: LAMMPS

   fix 1 bond_react_MASTER_group temp/rescale 1 300 300 10 1

+2 −2
Original line number Diff line number Diff line
@@ -20,7 +20,7 @@ Syntax
Examples
""""""""

.. parsed-literal::
.. code-block:: LAMMPS

   fix 1 all bond/swap 50 0.5 1.3 598934

@@ -119,7 +119,7 @@ This fix computes a temperature each time it is invoked for use by the
Boltzmann criterion.  To do this, the fix creates its own compute of
style *temp*\ , as if this command had been issued:

.. parsed-literal::
.. code-block:: LAMMPS

   compute fix-ID_temp all temp

+3 −3
Original line number Diff line number Diff line
@@ -32,7 +32,7 @@ Syntax
Examples
""""""""

.. parsed-literal::
.. code-block:: LAMMPS

   fix 1 all box/relax iso 0.0 vmax 0.001
   fix 2 water box/relax aniso 0.0 dilate partial
@@ -286,7 +286,7 @@ pressure, even though this is subsequently ignored by default. To do
this, the fix creates its own computes of style "temp" and "pressure",
as if these commands had been issued:

.. parsed-literal::
.. code-block:: LAMMPS

   compute fix-ID_temp group-ID temp
   compute fix-ID_press group-ID pressure fix-ID_temp virial
@@ -343,7 +343,7 @@ result in double-counting of the fix energy in the minimization
energy. Instead, the fix energy can be explicitly added to the
potential energy using one of these two variants:

.. parsed-literal::
.. code-block:: LAMMPS

   variable emin equal pe+f_1

Loading