Unverified Commit 5029bc9e authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

more conversions from parsed-literal to code-block

parent 8546bb51
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -49,11 +49,11 @@ Syntax
Examples
""""""""

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

   fix 1 all adapt 1 pair soft a 1 1 v_prefactor
   fix 1 all adapt 1 pair soft a 2\* 3 v_prefactor
   fix 1 all adapt 1 pair lj/cut epsilon \* \* v_scale1 coul/cut scale 3 3 v_scale2 scale yes reset yes
   fix 1 all adapt 1 pair soft a 2* 3 v_prefactor
   fix 1 all adapt 1 pair lj/cut epsilon * * v_scale1 coul/cut scale 3 3 v_scale2 scale yes reset yes
   fix 1 all adapt 10 atom diameter v_size

   variable ramp_up equal "ramp(0.01,0.5)"
@@ -264,10 +264,10 @@ For example, these commands would change the prefactor coefficient of
the :doc:`pair_style soft <pair_soft>` potential from 10.0 to 30.0 in a
linear fashion over the course of a simulation:

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

   variable prefactor equal ramp(10,30)
   fix 1 all adapt 1 pair soft a \* \* v_prefactor
   fix 1 all adapt 1 pair soft a * * v_prefactor

----------

@@ -336,7 +336,7 @@ For example, these commands would shrink the diameter of all granular
particles in the "center" group from 1.0 to 0.1 in a linear fashion
over the course of a 1000-step simulation:

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

   variable size equal ramp(1.0,0.1)
   fix 1 center adapt 10 atom diameter v_size
+7 −7
Original line number Diff line number Diff line
@@ -49,11 +49,11 @@ Syntax
Examples
""""""""

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

   fix 1 all adapt/fep 1 pair soft a 1 1 v_prefactor
   fix 1 all adapt/fep 1 pair soft a 2\* 3 v_prefactor
   fix 1 all adapt/fep 1 pair lj/cut epsilon \* \* v_scale1 coul/cut scale 3 3 v_scale2 scale yes reset yes
   fix 1 all adapt/fep 1 pair soft a 2* 3 v_prefactor
   fix 1 all adapt/fep 1 pair lj/cut epsilon * * v_scale1 coul/cut scale 3 3 v_scale2 scale yes reset yes
   fix 1 all adapt/fep 10 atom diameter 1 v_size

Description
@@ -234,10 +234,10 @@ For example, these commands would change the prefactor coefficient of
the :doc:`pair_style soft <pair_soft>` potential from 10.0 to 30.0 in a
linear fashion over the course of a simulation:

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

   variable prefactor equal ramp(10,30)
   fix 1 all adapt 1 pair soft a \* \* v_prefactor
   fix 1 all adapt 1 pair soft a * * v_prefactor

----------

@@ -279,10 +279,10 @@ For example, these commands would shrink the diameter of all granular
particles in the "center" group from 1.0 to 0.1 in a linear fashion
over the course of a 1000-step simulation:

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

   variable size equal ramp(1.0,0.1)
   fix 1 center adapt 10 atom diameter \* v_size
   fix 1 center adapt 10 atom diameter * v_size

For :doc:`rRESPA time integration <run_style>`, this fix changes
parameters on the outermost rRESPA level.
+1 −1
Original line number Diff line number Diff line
@@ -33,7 +33,7 @@ Syntax
Examples
""""""""

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

   fix kick flow addforce 1.0 0.0 0.0
   fix kick flow addforce 1.0 0.0 v_oscillate
+1 −1
Original line number Diff line number Diff line
@@ -18,7 +18,7 @@ Syntax
Examples
""""""""

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

   fix kick bead addtorque 2.0 3.0 5.0
   fix kick bead addtorque 0.0 0.0 v_oscillate
+1 −1
Original line number Diff line number Diff line
@@ -40,7 +40,7 @@ Syntax
Examples
""""""""

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

   fix 1 all append/atoms zhi size 5.0 freq 295 units lattice
   fix 4 all append/atoms zhi size 15.0 freq 5 units box
Loading