lammps/doc/fix_com.html

40 lines
913 B
HTML

<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>fix com command
</H3>
<P><B>Syntax:</B>
</P>
<PRE>fix ID group-ID com N file
</PRE>
<UL><LI>ID, group-ID are documented in <A HREF = "fix.html">fix</A> command
<LI>com = style name of this fix command
<LI>N = compute center-of-mass every this many timesteps
<LI>file = filename to write center-of-mass info to
</UL>
<P><B>Examples:</B>
</P>
<PRE>fix 1 all com 100 com.out
</PRE>
<P><B>Description:</B>
</P>
<P>Compute the center-of-mass of the group of atoms every N steps,
including all effects due to atoms passing thru periodic boundaries.
Write the results to the specified file.
</P>
<P><B>Restrictions:</B> none
</P>
<P><B>Related commands:</B> none
</P>
<P><B>Default:</B> none
</P>
</HTML>