Files
lammps/doc/src/write_coeff.txt
Steve Plimpton 493873fb93 clean up doc src
2016-10-06 13:00:46 -06:00

47 lines
1.1 KiB
Plaintext

"LAMMPS WWW Site"_lws - "LAMMPS Documentation"_ld - "LAMMPS Commands"_lc :c
:link(lws,http://lammps.sandia.gov)
:link(ld,Manual.html)
:link(lc,Section_commands.html#comm)
:line
write_coeff command :h3
[Syntax:]
write_coeff file :pre
file = name of data file to write out :pre
[Examples:]
write_coeff polymer.coeff :pre
[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
"include"_include.html command. In combination with the nocoeff
option of "write_data"_write_data.html 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 in two
respects. First, some pair styles do not yet write their coefficient
information into the coeff file. This means you will need to specify
that information in your input script that reads the data file, via
the "pair_coeff"_pair_coeff.html command.
:line
[Restrictions:]
none
[Related commands:]
"read_data"_read_data.html, "write_restart"_write_restart.html,
"write_data"_write_data.html