git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@7719 f3b2605a-c512-4ea7-a41b-209d697bcdaa

This commit is contained in:
sjplimp 2012-02-07 15:14:17 +00:00
parent 2e51eb8b70
commit 6e31a1800d
2 changed files with 79 additions and 0 deletions

42
doc/quit.html Normal file
View File

@ -0,0 +1,42 @@
<HTML>
<CENTER><A HREF = "http://lammps.sandia.gov">LAMMPS WWW Site</A> - <A HREF = "Manual.html">LAMMPS Documentation</A> - <A HREF = "Section_commands.html#comm">LAMMPS Commands</A>
</CENTER>
<HR>
<H3>quit command
</H3>
<P><B>Syntax:</B>
</P>
<PRE>quit
</PRE>
<P><B>Examples:</B>
</P>
<PRE>quit
if "$n > 10000" then quit
</PRE>
<P><B>Description:</B>
</P>
<P>This command causes LAMMPS to exit, after shutting down all
output cleanly.
</P>
<P>It can be used as a debug statement in an input script, to terminate
the script at some intermediate point.
</P>
<P>It can also be used as an invoked command inside the
"then" or "else" portion of an <A HREF = "if.html">if</A> command.
</P>
<P><B>Restrictions:</B> none
</P>
<P><B>Related commands:</B>
</P>
<P><A HREF = "if.html">if</A>
</P>
<P><B>Default:</B> none
</P>
</HTML>

37
doc/quit.txt Normal file
View File

@ -0,0 +1,37 @@
"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
quit command :h3
[Syntax:]
quit :pre
[Examples:]
quit
if "$n > 10000" then quit :pre
[Description:]
This command causes LAMMPS to exit, after shutting down all
output cleanly.
It can be used as a debug statement in an input script, to terminate
the script at some intermediate point.
It can also be used as an invoked command inside the
"then" or "else" portion of an "if"_if.html command.
[Restrictions:] none
[Related commands:]
"if"_if.html
[Default:] none