Skip to content
Snippets Groups Projects
Intro_overview.txt 2.36 KiB
"Higher level section"_Intro.html - "LAMMPS WWW Site"_lws - "LAMMPS
Documentation"_ld - "LAMMPS Commands"_lc :c

:link(lws,http://lammps.sandia.gov)
:link(ld,Manual.html)
:link(lc,Commands_all.html)

:line

Overview of LAMMPS :h3

LAMMPS is a classical molecular dynamics (MD) code that models
ensembles of particles in a liquid, solid, or gaseous state.  It can
model atomic, polymeric, biological, solid-state (metals, ceramics,
oxides), granular, coarse-grained, or macroscopic systems using a
variety of interatomic potentials (force fields) and boundary
conditions.  It can model 2d or 3d systems with only a few particles
up to millions or billions.

LAMMPS can be built and run on a laptop or destop machine, but is
designed for parallel computers.  It will run on any parallel machine
that supports the "MPI"_mpi message-passing library.  This includes
shared-memory boxes and distributed-memory clusters and
supercomputers.

:link(mpi,http://www-unix.mcs.anl.gov/mpi)

LAMMPS is written in C++.  Earlier versions were written in F77 and
F90.  See the "History page"_http://lammps.sandia.gov/history.html of
the website for details.  All versions can be downloaded from the
"LAMMPS website"_lws.

LAMMPS is designed to be easy to modify or extend with new
capabilities, such as new force fields, atom types, boundary
conditions, or diagnostics.  See the "Modify"_Modify.html doc page for
more details.

In the most general sense, LAMMPS integrates Newton's equations of
motion for a collection of interacting particles.  A single particle
can be an atom or molecule or electron, a coarse-grained cluster of
atoms, or a mesoscopic or macroscopic clump of material.  The
interaction models that LAMMPS includes are mostly short-range in
nature; some long-range models are included as well.

LAMMPS uses neighbor lists to keep track of nearby particles.  The
lists are optimized for systems with particles that are repulsive at
short distances, so that the local density of particles never becomes
too large.  This is in contrast to methods used for modeling plasmas
or gravitational bodies (e.g. galaxy formation).

On parallel machines, LAMMPS uses spatial-decomposition techniques to
partition the simulation domain into small sub-domains of equal
computational cost, one of which is assigned to each processor.
Processors communicate and store "ghost" atom information for atoms
that border their sub-domain.