Files
lammps/doc/src/write_coeff.rst
2020-01-23 16:52:38 -05:00

59 lines
1.0 KiB
ReStructuredText

.. index:: write\_coeff
write\_coeff command
====================
Syntax
""""""
.. parsed-literal::
write_coeff file
file = name of data file to write out
Examples
""""""""
.. parsed-literal::
write_coeff polymer.coeff
Description
"""""""""""
Write a text format file with the currently defined force field
coefficients in a way, that it can be read by LAMMPS with the
:doc:`include <include>` command. In combination with the nocoeff
option of :doc:`write_data <write_data>` this can be used to move
the Coeffs sections from a data file into a separate file.
.. note::
The write\_coeff command is not yet fully implemented as
some pair styles do not output their coefficient information.
This means you will need to add/copy this information manually.
----------
Restrictions
""""""""""""
none
Related commands
""""""""""""""""
:doc:`read_data <read_data>`, :doc:`write_restart <write_restart>`,
:doc:`write_data <write_data>`
.. _lws: http://lammps.sandia.gov
.. _ld: Manual.html
.. _lc: Commands_all.html