1Removed commands and packages
2=============================
3
4This page lists LAMMPS commands and packages that have been removed from
5the distribution and provides suggestions for alternatives or replacements.
6LAMMPS has special dummy styles implemented, that will stop LAMMPS and
7print a suitable error message in most cases, when a style/command is used
8that has been removed.
9
10Fix ave/spatial and fix ave/spatial/sphere
11------------------------------------------
12
13The fixes ave/spatial and ave/spatial/sphere have been removed from LAMMPS
14since they were superseded by the more general and extensible "chunk
15infrastructure".  Here the system is partitioned in one of many possible
16ways through the :doc:`compute chunk/atom <compute_chunk_atom>` command
17and then averaging is done using :doc:`fix ave/chunk <fix_ave_chunk>`.
18Please refer to the :doc:`chunk HOWTO <Howto_chunk>` section for an overview.
19
20Reset_ids command
21-----------------
22
23The reset_ids command has been renamed to :doc:`reset_atom_ids <reset_atom_ids>`.
24
25MEAM package
26------------
27
28The MEAM package in Fortran has been replaced by a C++ implementation.
29The code in the :ref:`MEAM package <PKG-MEAM>` is a translation of the
30Fortran code of MEAM into C++, which removes several restrictions
31(e.g. there can be multiple instances in hybrid pair styles) and allows
32for some optimizations leading to better performance.  The pair style
33:doc:`meam <pair_meam>` has the exact same syntax.
34
35REAX package
36------------
37
38The REAX package has been removed since it was superseded by the
39:ref:`REAXFF package <PKG-REAXFF>`.  The REAXFF
40package has been tested to yield equivalent results to the REAX package,
41offers better performance, supports OpenMP multi-threading via OPENMP,
42and GPU and threading parallelization through KOKKOS.  The new pair styles
43are not syntax compatible with the removed reax pair style, so input
44files will have to be adapted.
45
46USER-CUDA package
47-----------------
48
49The USER-CUDA package had been removed, since it had been unmaintained
50for a long time and had known bugs and problems.  Significant parts of
51the design were transferred to the
52:ref:`KOKKOS package <PKG-KOKKOS>`, which has similar
53performance characteristics on NVIDIA GPUs. Both, the KOKKOS
54and the :ref:`GPU package <PKG-GPU>` are maintained
55and allow running LAMMPS with GPU acceleration.
56
57restart2data tool
58-----------------
59
60The functionality of the restart2data tool has been folded into the
61LAMMPS executable directly instead of having a separate tool.  A
62combination of the commands :doc:`read_restart <read_restart>` and
63:doc:`write_data <write_data>` can be used to the same effect.  For added
64convenience this conversion can also be triggered by :doc:`command line flags <Run_options>`
65