make horizontally aligned image formatting consistent and display "click on" message only with html output

This commit is contained in:
Axel Kohlmeyer
2020-07-23 00:35:49 -04:00
parent b97f2e5b6b
commit c21ce0b289
7 changed files with 67 additions and 47 deletions

View File

@ -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. source code for individual scripts for comments about what they do.
Here are screenshots of the vizplotgui_tool.py script in action for 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 .. |pyex1| image:: img/screenshot_gl.jpg
:scale: 15% :width: 24%
.. image:: img/screenshot_atomeye.jpg .. |pyex2| image:: img/screenshot_atomeye.jpg
:scale: 15% :width: 24%
.. image:: img/screenshot_pymol.jpg .. |pyex3| image:: img/screenshot_pymol.jpg
:scale: 15% :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%

View File

@ -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 diagram where processor sub-domains are shown and particles are
colored by the processor that owns them. colored by the processor that owns them.
.. list-table:: .. |balance1| image:: img/balance_uniform.jpg
:width: 32%
* - .. figure:: img/balance_uniform.jpg .. |balance2| image:: img/balance_nonuniform.jpg
:scale: 50% :width: 32%
- .. figure:: img/balance_nonuniform.jpg .. |balance3| image:: img/balance_rcb.jpg
:scale: 50% :width: 32%
- .. figure:: img/balance_rcb.jpg |balance1| |balance2| |balance3|
:scale: 50%
The leftmost diagram is the default partitioning of the simulation box The leftmost diagram is the default partitioning of the simulation box
across processors (one sub-box for each of 16 processors); the middle across processors (one sub-box for each of 16 processors); the middle

View File

@ -257,8 +257,7 @@ individual lattice points being "above" or "below" the mathematical
expression for the sinusoidal curve. If a finer lattice were used, expression for the sinusoidal curve. If a finer lattice were used,
the sinusoid would appear to be "smoother". Also note the use of the the sinusoid would appear to be "smoother". Also note the use of the
"xlat" and "ylat" :doc:`thermo_style <thermo_style>` keywords which "xlat" and "ylat" :doc:`thermo_style <thermo_style>` keywords which
converts lattice spacings to distance. Click on the image for a converts lattice spacings to distance.
larger version.
.. code-block:: LAMMPS .. code-block:: LAMMPS
@ -279,6 +278,10 @@ larger version.
:scale: 50% :scale: 50%
:align: center :align: center
.. raw:: html
Click on the image for a larger version.
The *rotate* keyword allows specification of the orientation The *rotate* keyword allows specification of the orientation
at which molecules are inserted. The axis of rotation is at which molecules are inserted. The axis of rotation is
determined by the rotation vector (Rx,Ry,Rz) that goes through the determined by the rotation vector (Rx,Ry,Rz) that goes through the

View File

@ -116,17 +116,17 @@ script to generate the images/movie.
Here are two sample images, rendered as 1024x1024 JPEG files. Here are two sample images, rendered as 1024x1024 JPEG files.
.. |dump1| image:: img/dump1.jpg
:width: 48%
.. |dump2| image:: img/dump2.jpg
:width: 48%
|dump1| |dump2|
.. raw:: html .. raw:: html
Click to see the full-size images: Click to see the full-size images:
.. |dump1| image:: img/dump1.jpg
:scale: 48%
.. |dump2| image:: img/dump2.jpg
:scale: 48%
|dump1| |dump2|
Only atoms in the specified group are rendered in the image. The Only atoms in the specified group are rendered in the image. The
:doc:`dump_modify region and thresh <dump_modify>` commands can also :doc:`dump_modify region and thresh <dump_modify>` commands can also
alter what atoms are included in the image. alter what atoms are included in the image.

View File

@ -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 processor sub-domains are shown and atoms are colored by the processor
that owns them. that owns them.
.. list-table:: .. |balance1| image:: img/balance_uniform.jpg
:width: 32%
* - .. figure:: img/balance_uniform.jpg .. |balance2| image:: img/balance_nonuniform.jpg
:scale: 50% :width: 32%
- .. figure:: img/balance_nonuniform.jpg .. |balance3| image:: img/balance_rcb.jpg
:scale: 50% :width: 32%
- .. figure:: img/balance_rcb.jpg |balance1| |balance2| |balance3|
:scale: 50%
The leftmost diagram is the default partitioning of the simulation box The leftmost diagram is the default partitioning of the simulation box
across processors (one sub-box for each of 16 processors); the middle across processors (one sub-box for each of 16 processors); the middle

View File

@ -63,17 +63,22 @@ granular particles when they are close enough to touch the wall. See
the :doc:`fix wall/region <fix_wall_region>` and :doc:`fix wall/gran <fix_wall_gran>` commands for related kinds of walls for the :doc:`fix wall/region <fix_wall_region>` and :doc:`fix wall/gran <fix_wall_gran>` commands for related kinds of walls for
non-granular particles and simpler wall geometries, respectively. non-granular particles and simpler wall geometries, respectively.
Here are snapshots of example models using this command. Here are snapshots of example models using this command. Corresponding
Corresponding input scripts can be found in examples/granregion. input scripts can be found in examples/granregion. Movies of these
Click on the images to see a bigger picture. Movies of these simulations are `here on the Movies page <https://lammps.sandia.gov/movies.html#granregion>`_
simulations are `here on the Movies page <https://lammps.sandia.gov/movies.html#granregion>`_ of the LAMMPS of the LAMMPS web site.
web site.
.. image:: img/gran_funnel.png .. |wallgran1| image:: img/gran_funnel.png
:scale: 50% :width: 48%
.. image:: img/gran_mixer.png .. |wallgran2| image:: img/gran_mixer.png
:scale: 50% :width: 48%
|wallgran1| |wallgran2|
.. raw:: html
Click on the images to see a bigger picture.
---------- ----------

View File

@ -392,15 +392,20 @@ barrier.
To illustrate, here are images from the final snapshot produced by the To illustrate, here are images from the final snapshot produced by the
neb_combine.py script run on the dump files produced by the two neb_combine.py script run on the dump files produced by the two
example input scripts in examples/neb. Click on them to see a larger example input scripts in examples/neb.
image.
.. image:: img/hop1.jpg
:scale: 50%
.. image:: img/hop2.jpg .. |neb1| image:: img/hop1.jpg
:scale: 50% :width: 48%
.. |neb2| image:: img/hop2.jpg
:width: 48%
|neb1| |neb2|
.. raw:: html
Click on them to see a larger image.
---------- ----------