Unverified Commit 2f4adfc0 authored by Richard Berger's avatar Richard Berger Committed by GitHub
Browse files

Merge pull request #1786 from rbberger/doc_command_tables

Add Sphinx extension to generate tables from lists
parents 3ce020ea dfcb4edc
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -27,8 +27,3 @@ commands in it are used to define a LAMMPS simulation.
   :maxdepth: 1

   Commands_removed


.. _lws: http://lammps.sandia.gov
.. _ld: Manual.html
.. _lc: Commands_all.html
+128 −52
Original line number Diff line number Diff line
+----------------------------------------+------------------------------------+------------------------------------------+
| :doc:`General commands <Commands_all>` | :doc:`Fix styles <Commands_fix>`   | :doc:`Compute styles <Commands_compute>` |
+----------------------------------------+------------------------------------+------------------------------------------+
| :doc:`Pair styles <Commands_pair>`     | :doc:`Bond styles <Commands_bond>` | :ref:`Angle styles <angle>`              |
+----------------------------------------+------------------------------------+------------------------------------------+
| :ref:`Dihedral styles <dihedral>`      | :ref:`Improper styles <improper>`  | :doc:`KSpace styles <Commands_kspace>`   |
+----------------------------------------+------------------------------------+------------------------------------------+
.. table_from_list::
   :columns: 3

   * :doc:`General commands <Commands_all>`
   * :doc:`Fix styles <Commands_fix>`
   * :doc:`Compute styles <Commands_compute>`
   * :doc:`Pair styles <Commands_pair>`
   * :ref:`Bond styles <bond>`
   * :ref:`Angle styles <angle>`
   * :ref:`Dihedral styles <dihedral>`
   * :ref:`Improper styles <improper>`
   * :doc:`KSpace styles <Commands_kspace>`

General commands
================

An alphabetic list of all general LAMMPS commands.

+-----------------------------------------+-----------------------------------------+-----------------------------------------+-----------------------------------------+---------------------------------------------+-----------------------------------------+
| :doc:`angle\_coeff <angle_coeff>`       | :doc:`angle\_style <angle_style>`       | :doc:`atom\_modify <atom_modify>`       | :doc:`atom\_style <atom_style>`         | :doc:`balance <balance>`                    | :doc:`bond\_coeff <bond_coeff>`         |
+-----------------------------------------+-----------------------------------------+-----------------------------------------+-----------------------------------------+---------------------------------------------+-----------------------------------------+
| :doc:`bond\_style <bond_style>`         | :doc:`bond\_write <bond_write>`         | :doc:`boundary <boundary>`              | :doc:`box <box>`                        | :doc:`change\_box <change_box>`             | :doc:`clear <clear>`                    |
+-----------------------------------------+-----------------------------------------+-----------------------------------------+-----------------------------------------+---------------------------------------------+-----------------------------------------+
| :doc:`comm\_modify <comm_modify>`       | :doc:`comm\_style <comm_style>`         | :doc:`compute <compute>`                | :doc:`compute\_modify <compute_modify>` | :doc:`create\_atoms <create_atoms>`         | :doc:`create\_bonds <create_bonds>`     |
+-----------------------------------------+-----------------------------------------+-----------------------------------------+-----------------------------------------+---------------------------------------------+-----------------------------------------+
| :doc:`create\_box <create_box>`         | :doc:`delete\_atoms <delete_atoms>`     | :doc:`delete\_bonds <delete_bonds>`     | :doc:`dielectric <dielectric>`          | :doc:`dihedral\_coeff <dihedral_coeff>`     | :doc:`dihedral\_style <dihedral_style>` |
+-----------------------------------------+-----------------------------------------+-----------------------------------------+-----------------------------------------+---------------------------------------------+-----------------------------------------+
| :doc:`dimension <dimension>`            | :doc:`displace\_atoms <displace_atoms>` | :doc:`dump <dump>`                      | :doc:`dump adios <dump_adios>`          | :doc:`dump image <dump_image>`              | :doc:`dump movie <dump_image>`          |
+-----------------------------------------+-----------------------------------------+-----------------------------------------+-----------------------------------------+---------------------------------------------+-----------------------------------------+
| :doc:`dump netcdf <dump_netcdf>`        | :doc:`dump netcdf/mpiio <dump_netcdf>`  | :doc:`dump vtk <dump_vtk>`              | :doc:`dump\_modify <dump_modify>`       | :doc:`dynamical\_matrix <dynamical_matrix>` | :doc:`echo <echo>`                      |
+-----------------------------------------+-----------------------------------------+-----------------------------------------+-----------------------------------------+---------------------------------------------+-----------------------------------------+
| :doc:`fix <fix>`                        | :doc:`fix\_modify <fix_modify>`         | :doc:`group <group>`                    | :doc:`group2ndx <group2ndx>`            | :doc:`hyper <hyper>`                        | :doc:`if <if>`                          |
+-----------------------------------------+-----------------------------------------+-----------------------------------------+-----------------------------------------+---------------------------------------------+-----------------------------------------+
| :doc:`info <info>`                      | :doc:`improper\_coeff <improper_coeff>` | :doc:`improper\_style <improper_style>` | :doc:`include <include>`                | :doc:`jump <jump>`                          | :doc:`kim\_init <kim_commands>`         |
+-----------------------------------------+-----------------------------------------+-----------------------------------------+-----------------------------------------+---------------------------------------------+-----------------------------------------+
| :doc:`kim\_interactions <kim_commands>` | :doc:`kim\_query <kim_commands>`        | :doc:`kspace\_modify <kspace_modify>`   | :doc:`kspace\_style <kspace_style>`     | :doc:`label <label>`                        | :doc:`lattice <lattice>`                |
+-----------------------------------------+-----------------------------------------+-----------------------------------------+-----------------------------------------+---------------------------------------------+-----------------------------------------+
| :doc:`log <log>`                        | :doc:`mass <mass>`                      | :doc:`message <message>`                | :doc:`minimize <minimize>`              | :doc:`min\_modify <min_modify>`             | :doc:`min\_style <min_style>`           |
+-----------------------------------------+-----------------------------------------+-----------------------------------------+-----------------------------------------+---------------------------------------------+-----------------------------------------+
| :doc:`min\_style spin <min_spin>`       | :doc:`molecule <molecule>`              | :doc:`ndx2group <group2ndx>`            | :doc:`neb <neb>`                        | :doc:`neb/spin <neb_spin>`                  | :doc:`neigh\_modify <neigh_modify>`     |
+-----------------------------------------+-----------------------------------------+-----------------------------------------+-----------------------------------------+---------------------------------------------+-----------------------------------------+
| :doc:`neighbor <neighbor>`              | :doc:`newton <newton>`                  | :doc:`next <next>`                      | :doc:`package <package>`                | :doc:`pair\_coeff <pair_coeff>`             | :doc:`pair\_modify <pair_modify>`       |
+-----------------------------------------+-----------------------------------------+-----------------------------------------+-----------------------------------------+---------------------------------------------+-----------------------------------------+
| :doc:`pair\_style <pair_style>`         | :doc:`pair\_write <pair_write>`         | :doc:`partition <partition>`            | :doc:`prd <prd>`                        | :doc:`print <print>`                        | :doc:`processors <processors>`          |
+-----------------------------------------+-----------------------------------------+-----------------------------------------+-----------------------------------------+---------------------------------------------+-----------------------------------------+
| :doc:`python <python>`                  | :doc:`quit <quit>`                      | :doc:`read\_data <read_data>`           | :doc:`read\_dump <read_dump>`           | :doc:`read\_restart <read_restart>`         | :doc:`region <region>`                  |
+-----------------------------------------+-----------------------------------------+-----------------------------------------+-----------------------------------------+---------------------------------------------+-----------------------------------------+
| :doc:`replicate <replicate>`            | :doc:`rerun <rerun>`                    | :doc:`reset\_ids <reset_ids>`           | :doc:`reset\_timestep <reset_timestep>` | :doc:`restart <restart>`                    | :doc:`run <run>`                        |
+-----------------------------------------+-----------------------------------------+-----------------------------------------+-----------------------------------------+---------------------------------------------+-----------------------------------------+
| :doc:`run\_style <run_style>`           | :doc:`server <server>`                  | :doc:`set <set>`                        | :doc:`shell <shell>`                    | :doc:`special\_bonds <special_bonds>`       | :doc:`suffix <suffix>`                  |
+-----------------------------------------+-----------------------------------------+-----------------------------------------+-----------------------------------------+---------------------------------------------+-----------------------------------------+
| :doc:`tad <tad>`                        | :doc:`temper <temper>`                  | :doc:`temper/grem <temper_grem>`        | :doc:`temper/npt <temper_npt>`          | :doc:`thermo <thermo>`                      | :doc:`thermo\_modify <thermo_modify>`   |
+-----------------------------------------+-----------------------------------------+-----------------------------------------+-----------------------------------------+---------------------------------------------+-----------------------------------------+
| :doc:`thermo\_style <thermo_style>`     | :doc:`third\_order <third_order>`       | :doc:`timer <timer>`                    | :doc:`timestep <timestep>`              | :doc:`uncompute <uncompute>`                | :doc:`undump <undump>`                  |
+-----------------------------------------+-----------------------------------------+-----------------------------------------+-----------------------------------------+---------------------------------------------+-----------------------------------------+
| :doc:`unfix <unfix>`                    | :doc:`units <units>`                    | :doc:`variable <variable>`              | :doc:`velocity <velocity>`              | :doc:`write\_coeff <write_coeff>`           | :doc:`write\_data <write_data>`         |
+-----------------------------------------+-----------------------------------------+-----------------------------------------+-----------------------------------------+---------------------------------------------+-----------------------------------------+
| :doc:`write\_dump <write_dump>`         | :doc:`write\_restart <write_restart>`   |                                         |                                         |                                             |                                         |
+-----------------------------------------+-----------------------------------------+-----------------------------------------+-----------------------------------------+---------------------------------------------+-----------------------------------------+

.. table_from_list::
   :columns: 6

.. _lws: http://lammps.sandia.gov
.. _ld: Manual.html
.. _lc: Commands_all.html
   * :doc:`angle_coeff <angle_coeff>`
   * :doc:`angle_style <angle_style>`
   * :doc:`atom_modify <atom_modify>`
   * :doc:`atom_style <atom_style>`
   * :doc:`balance <balance>`
   * :doc:`bond_coeff <bond_coeff>`
   * :doc:`bond\_style <bond_style>`
   * :doc:`bond\_write <bond_write>`
   * :doc:`boundary <boundary>`
   * :doc:`box <box>`
   * :doc:`change\_box <change_box>`
   * :doc:`clear <clear>`
   * :doc:`comm\_modify <comm_modify>`
   * :doc:`comm\_style <comm_style>`
   * :doc:`compute <compute>`
   * :doc:`compute\_modify <compute_modify>`
   * :doc:`create\_atoms <create_atoms>`
   * :doc:`create\_bonds <create_bonds>`
   * :doc:`create\_box <create_box>`
   * :doc:`delete\_atoms <delete_atoms>`
   * :doc:`delete\_bonds <delete_bonds>`
   * :doc:`dielectric <dielectric>`
   * :doc:`dihedral\_coeff <dihedral_coeff>`
   * :doc:`dihedral\_style <dihedral_style>`
   * :doc:`dimension <dimension>`
   * :doc:`displace\_atoms <displace_atoms>`
   * :doc:`dump <dump>`
   * :doc:`dump adios <dump_adios>`
   * :doc:`dump image <dump_image>`
   * :doc:`dump movie <dump_image>`
   * :doc:`dump netcdf <dump_netcdf>`
   * :doc:`dump netcdf/mpiio <dump_netcdf>`
   * :doc:`dump vtk <dump_vtk>`
   * :doc:`dump\_modify <dump_modify>`
   * :doc:`dynamical\_matrix <dynamical_matrix>`
   * :doc:`echo <echo>`
   * :doc:`fix <fix>`
   * :doc:`fix\_modify <fix_modify>`
   * :doc:`group <group>`
   * :doc:`group2ndx <group2ndx>`
   * :doc:`hyper <hyper>`
   * :doc:`if <if>`
   * :doc:`improper\_coeff <improper_coeff>`
   * :doc:`improper\_style <improper_style>`
   * :doc:`include <include>`
   * :doc:`jump <jump>`
   * :doc:`kim\_init <kim_commands>`
   * :doc:`kim\_interactions <kim_commands>`
   * :doc:`kim\_query <kim_commands>`
   * :doc:`kspace\_modify <kspace_modify>`
   * :doc:`kspace\_style <kspace_style>`
   * :doc:`label <label>`
   * :doc:`lattice <lattice>`
   * :doc:`log <log>`
   * :doc:`mass <mass>`
   * :doc:`message <message>`
   * :doc:`minimize <minimize>`
   * :doc:`min\_modify <min_modify>`
   * :doc:`min\_style <min_style>`
   * :doc:`min\_style spin <min_spin>`
   * :doc:`molecule <molecule>`
   * :doc:`ndx2group <group2ndx>`
   * :doc:`neb <neb>`
   * :doc:`neb/spin <neb_spin>`
   * :doc:`neigh\_modify <neigh_modify>`
   * :doc:`neighbor <neighbor>`
   * :doc:`newton <newton>`
   * :doc:`next <next>`
   * :doc:`package <package>`
   * :doc:`pair\_coeff <pair_coeff>`
   * :doc:`pair\_modify <pair_modify>`
   * :doc:`pair\_write <pair_write>`
   * :doc:`partition <partition>`
   * :doc:`prd <prd>`
   * :doc:`print <print>`
   * :doc:`processors <processors>`
   * :doc:`python <python>`
   * :doc:`quit <quit>`
   * :doc:`read\_data <read_data>`
   * :doc:`read\_dump <read_dump>`
   * :doc:`read\_restart <read_restart>`
   * :doc:`region <region>`
   * :doc:`replicate <replicate>`
   * :doc:`rerun <rerun>`
   * :doc:`reset\_ids <reset_ids>`
   * :doc:`reset\_timestep <reset_timestep>`
   * :doc:`restart <restart>`
   * :doc:`run <run>`
   * :doc:`run\_style <run_style>`
   * :doc:`server <server>`
   * :doc:`set <set>`
   * :doc:`shell <shell>`
   * :doc:`special\_bonds <special_bonds>`
   * :doc:`suffix <suffix>`
   * :doc:`tad <tad>`
   * :doc:`temper <temper>`
   * :doc:`temper/grem <temper_grem>`
   * :doc:`temper/npt <temper_npt>`
   * :doc:`thermo <thermo>`
   * :doc:`thermo\_modify <thermo_modify>`
   * :doc:`thermo\_style <thermo_style>`
   * :doc:`third\_order <third_order>`
   * :doc:`timer <timer>`
   * :doc:`timestep <timestep>`
   * :doc:`uncompute <uncompute>`
   * :doc:`undump <undump>`
   * :doc:`unfix <unfix>`
   * :doc:`units <units>`
   * :doc:`variable <variable>`
   * :doc:`velocity <velocity>`
   * :doc:`write\_coeff <write_coeff>`
   * :doc:`write\_data <write_data>`
   * :doc:`write\_dump <write_dump>`
   * :doc:`write\_restart <write_restart>`
+136 −79

File changed.

Preview size limit exceeded, changes collapsed.

+0 −5
Original line number Diff line number Diff line
@@ -130,8 +130,3 @@ Input script control:
* :doc:`quit <quit>`,
* :doc:`shell <shell>`,
* :doc:`variable <variable>`


.. _lws: http://lammps.sandia.gov
.. _ld: Manual.html
.. _lc: Commands_all.html
+158 −60

File changed.

Preview size limit exceeded, changes collapsed.

Loading