4. Commands — LIGGGHTS v3.X documentation

# 4. Commands

This section describes how a LIGGGHTS(R)-PUBLIC input script is formatted and the input script commands used to define a LIGGGHTS(R)-PUBLIC simulation.

4.1 List of all commands

## 4.1. List of all commands

This section lists all LIGGGHTS commands alphabetically, with a separate listing below of styles within certain commands. Note that some style options for some commands are part of packages, which means they cannot be used unless the package was included when LAMMPS was built. Not all packages are included in a default build. These dependencies are listed as Restrictions in the command’s documentation.

atom_modify | atom_style | bond_coeff | bond_style | boundary | box
change_box | clear | communicate | compute | compute_modify | create_atoms
create_box | delete_atoms | delete_bonds | dielectric | dimension | displace_atoms
dump | dump_modify | echo | fix | fix_modify | group
if | include | info | jump | label | lattice
log | mass | neigh_modify | neigh_settings | neighbor | neighbor_skin
newton | next | orient | origin | pair_coeff | pair_style
partition | print | processors | quit | read_data | read_dump
read_restart | region | replicate | reset_timestep | restart | run
run_style | set | shell | thermo | thermo_modify | thermo_style
timestep | uncompute | undump | unfix | units | variable
velocity | write_data | write_dump | write_restart |  |

## 4.2. bond_style potentials

See the bond_style command for an overview of bond potentials. Click on the style itself for a full description:

harmonic | hybrid | none

## 4.3. compute styles

See the compute command for one-line descriptions of each style or click on the style itself for a full description:

atom/molecule | bond/local | centro/atom | cluster/atom
cna/atom | com | com/molecule | contact/atom
contact/atom/gran | coord/atom | coord/gran | displace/atom
erotate | erotate/asphere | erotate/multisphere | erotate/sphere
erotate/sphere/atom | group/group | gyration | gyration/molecule
inertia/molecule | ke | ke/atom | ke/multisphere
msd | msd/molecule | msd/nongauss | multisphere
multisphere/single | nparticles/tracer/region | pair/gran/local | pe
pe/atom | pressure | property/atom | property/local
property/molecule | rdf | reduce | reduce/region
slice | stress/atom | voronoi/atom | wall/gran/local

## 4.4. dump styles

See the dump command for one-line descriptions of each style or click on the style itself for a full description:

custom/vtk | image | movie

## 4.5. fix styles

See the fix command for one-line descriptions of each style or click on the style itself for a full description:

adapt | addforce | ave/atom | ave/correlate
ave/euler | ave/histo | ave/spatial | ave/time
aveforce | bond/break | bond/create | box/relax
buoyancy | check/timestep/gran | continuum/weighted | couple/cfd
deform | drag | dt/reset | efield
enforce2d | external | freeze | gravity
heat/gran | heat/gran/conduction | insert/pack | insert/rate/region
insert/stream | lineforce | massflow/mesh | massflow/mesh/sieve
mesh/surface | mesh/surface/planar | momentum | move
move/mesh | multicontact/halfspace | multisphere | multisphere/break
nve | nve/asphere | nve/asphere/noforce | nve/limit
nve/line | nve/noforce | nve/sphere | particledistribution/discrete
particledistribution/discrete/massbased | particledistribution/discrete/numberbased | particletemplate/multisphere | particletemplate/sphere
planeforce | poems | print | property/atom
property/atom/regiontracer/time | property/atom/tracer | property/atom/tracer/stream | property/global
rigid | rigid/nph | rigid/npt | rigid/nve
rigid/nvt | rigid/small | setforce | sph/density/continuity
sph/density/corr | sph/density/summation | sph/pressure | spring
spring/rg | spring/self | store/force | store/state
viscous | wall/gran | wall/reflect | wall/region
wall/region/sph |  |  |

## 4.6. pair_style potentials

See the pair_style command for an overview of pair potentials. Click on the style itself for a full description:

bubble | gran | hybrid | hybrid/overlay
none | soft | sph | sph/artVisc/tensCorr