Unverified Commit 7e656b6c authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

convert more LAMMPS script examples to use code-block instead of parsed-literal

parent 2775ebeb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -59,7 +59,7 @@ Syntax
Examples
""""""""

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

   balance 0.9 x uniform y 0.4 0.5 0.6
   balance 1.2 shift xz 5 1.1
+2 −2
Original line number Diff line number Diff line
@@ -22,7 +22,7 @@ Syntax
Examples
""""""""

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

   boundary p p f
   boundary p fs p
@@ -110,6 +110,6 @@ of lost atoms.
Default
"""""""

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

   boundary p p p
+1 −1
Original line number Diff line number Diff line
@@ -20,7 +20,7 @@ Syntax
Examples
""""""""

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

   box tilt large
   box tilt small
+1 −1
Original line number Diff line number Diff line
@@ -22,7 +22,7 @@ Syntax
Examples
""""""""

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

   compute 1 all ackland/atom
   compute 1 all ackland/atom legacy yes
+4 −4
Original line number Diff line number Diff line
@@ -31,7 +31,7 @@ Syntax
Examples
""""""""

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

   compute 1 fluid adf 32 1 1 1 0.0 1.2 0.0 1.2 &
                          1 1 2 0.0 1.2 0.0 1.5 &
@@ -39,7 +39,7 @@ Examples
                          2 1 1 0.0 1.2 0.0 1.2 &
                          2 1 2 0.0 1.5 2.0 3.5 &
                          2 2 2 2.0 3.5 2.0 3.5
   compute 1 fluid adf 32 1\*2 1\*2 1\*2 0.5 3.5
   compute 1 fluid adf 32 1*2 1*2 1*2 0.5 3.5
   compute 1 fluid adf 32

Description
@@ -168,10 +168,10 @@ The simplest way to output the results of the compute adf calculation
to a file is to use the :doc:`fix ave/time <fix_ave_time>` command, for
example:

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

   compute myADF all adf 32 2 2 2 0.5 3.5 0.5 3.5
   fix 1 all ave/time 100 1 100 c_myADF[\*] file tmp.adf mode vector
   fix 1 all ave/time 100 1 100 c_myADF[*] file tmp.adf mode vector

**Output info:**

Loading