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

make horizontally aligned image formatting consistent and display "click on"...

make horizontally aligned image formatting consistent and display "click on" message only with html output
parent b97f2e5b
Loading
Loading
Loading
Loading
+16 −9
Original line number Diff line number Diff line
@@ -80,16 +80,23 @@ See the python/README file for instructions on how to run them and the
source code for individual scripts for comments about what they do.

Here are screenshots of the vizplotgui_tool.py script in action for
different visualization package options.  Click to see larger images:
different visualization package options:

.. image:: img/screenshot_gl.jpg
   :scale: 15%
.. |pyex1| image:: img/screenshot_gl.jpg
   :width: 24%

.. image:: img/screenshot_atomeye.jpg
   :scale: 15%
.. |pyex2| image:: img/screenshot_atomeye.jpg
   :width: 24%

.. image:: img/screenshot_pymol.jpg
   :scale: 15%
.. |pyex3| image:: img/screenshot_pymol.jpg
   :width: 24%

.. |pyex4| image:: img/screenshot_vmd.jpg
   :width: 24%

|pyex1|  |pyex2|  |pyex3|  |pyex4|

.. raw:: html

   Click to see larger versions of the images.
.. image:: img/screenshot_vmd.jpg
   :scale: 15%
+7 −7
Original line number Diff line number Diff line
@@ -177,16 +177,16 @@ volume (area in 2d) assigned to each processor, as in the following 2d
diagram where processor sub-domains are shown and particles are
colored by the processor that owns them.

.. list-table::
.. |balance1| image:: img/balance_uniform.jpg
   :width: 32%

   * - .. figure:: img/balance_uniform.jpg
          :scale: 50%
.. |balance2| image:: img/balance_nonuniform.jpg
   :width: 32%

     - .. figure:: img/balance_nonuniform.jpg
          :scale: 50%
.. |balance3| image:: img/balance_rcb.jpg
   :width: 32%

     - .. figure:: img/balance_rcb.jpg
          :scale: 50%
|balance1|  |balance2|  |balance3|

The leftmost diagram is the default partitioning of the simulation box
across processors (one sub-box for each of 16 processors); the middle
+5 −2
Original line number Diff line number Diff line
@@ -257,8 +257,7 @@ individual lattice points being "above" or "below" the mathematical
expression for the sinusoidal curve.  If a finer lattice were used,
the sinusoid would appear to be "smoother".  Also note the use of the
"xlat" and "ylat" :doc:`thermo_style <thermo_style>` keywords which
converts lattice spacings to distance.  Click on the image for a
larger version.
converts lattice spacings to distance.

.. code-block:: LAMMPS

@@ -279,6 +278,10 @@ larger version.
   :scale: 50%
   :align: center

.. raw:: html

   Click on the image for a larger version.

The *rotate* keyword allows specification of the orientation
at which molecules are inserted.  The axis of rotation is
determined by the rotation vector (Rx,Ry,Rz) that goes through the
+6 −6
Original line number Diff line number Diff line
@@ -116,17 +116,17 @@ script to generate the images/movie.

Here are two sample images, rendered as 1024x1024 JPEG files.

.. raw:: html

   Click to see the full-size images:

.. |dump1| image:: img/dump1.jpg
   :scale: 48%
   :width: 48%
.. |dump2| image:: img/dump2.jpg
   :scale: 48%
   :width: 48%

|dump1|  |dump2|

.. raw:: html

   Click to see the full-size images:

Only atoms in the specified group are rendered in the image.  The
:doc:`dump_modify region and thresh <dump_modify>` commands can also
alter what atoms are included in the image.
+7 −7
Original line number Diff line number Diff line
@@ -156,16 +156,16 @@ assigned to each processor, as in the following 2d diagram where
processor sub-domains are shown and atoms are colored by the processor
that owns them.

.. list-table::
.. |balance1| image:: img/balance_uniform.jpg
   :width: 32%

   * - .. figure:: img/balance_uniform.jpg
          :scale: 50%
.. |balance2| image:: img/balance_nonuniform.jpg
   :width: 32%

     - .. figure:: img/balance_nonuniform.jpg
          :scale: 50%
.. |balance3| image:: img/balance_rcb.jpg
   :width: 32%

     - .. figure:: img/balance_rcb.jpg
          :scale: 50%
|balance1|  |balance2|  |balance3|

The leftmost diagram is the default partitioning of the simulation box
across processors (one sub-box for each of 16 processors); the middle
Loading