git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@11045 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -417,12 +417,22 @@ the README.txt file for more info.
|
||||
|
||||
<H4><A NAME = "restart"></A>restart2data tool
|
||||
</H4>
|
||||
<P>IMPORTANT NOTE: LAMMPS now has a <A HREF = "write_data.html">write_data</A> command,
|
||||
which can create a data file from within an input script. This means
|
||||
a two line input script can read a restart file, and write it as a
|
||||
data file. When the write_data command is fully functional, the
|
||||
restart2data tool will be obsolete, and will be retired from the
|
||||
distribution.
|
||||
<P>IMPORTANT NOTE: This tool is now obsolete and is not included in the
|
||||
current LAMMPS distribution. This is becaues there is now a
|
||||
<A HREF = "write_data.html">write_data</A> command, which can create a data file
|
||||
from within an input script. Running LAMMPS with the "-r"
|
||||
<A HREF = "Section_start.html#start_7">command-line switch</A> as follows:
|
||||
</P>
|
||||
<P>lmp_g++ -r restartfile datafile
|
||||
</P>
|
||||
<P>is the same as running a 2-line input script:
|
||||
</P>
|
||||
<P>read_restart restartfile
|
||||
write_data datafile
|
||||
</P>
|
||||
<P>which will produce the same data file that the restart2data tool used
|
||||
to create. The following information is included in case you have an
|
||||
older version of LAMMPS which still includes the restart2data tool.
|
||||
</P>
|
||||
<P>The file restart2data.cpp converts a binary LAMMPS restart file into
|
||||
an ASCII data file. The syntax for running the tool is
|
||||
|
||||
Reference in New Issue
Block a user