forked from lijiext/lammps
47 lines
1.2 KiB
HTML
47 lines
1.2 KiB
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>create_box command
|
|
</H3>
|
|
<P><B>Syntax:</B>
|
|
</P>
|
|
<PRE>create_box N region-ID
|
|
</PRE>
|
|
<UL><LI>N = # of atom types to use in this simulation
|
|
<LI>region-ID = ID of region to use as simulation domain
|
|
</UL>
|
|
<P><B>Examples:</B>
|
|
</P>
|
|
<PRE>create_atoms 2 mybox
|
|
</PRE>
|
|
<P><B>Description:</B>
|
|
</P>
|
|
<P>This command creates a simulation box that encloses the specified
|
|
region. Thus a <A HREF = "region.html">region</A> command must first be used to
|
|
define a geometric domain. If the region is not of style <I>block</I>,
|
|
LAMMPS encloses it with a rectangular simulation box.
|
|
</P>
|
|
<P>The argument N is the number of atom types that will be used in the
|
|
simulation.
|
|
</P>
|
|
<P><B>Restrictions:</B>
|
|
</P>
|
|
<P>An <A HREF = "atom_style.html">atom_style</A> and <A HREF = "region.html">region</A> must have
|
|
been previously defined to use this command.
|
|
</P>
|
|
<P><B>Related commands:</B>
|
|
</P>
|
|
<P><A HREF = "create_atoms.html">create_atoms</A>, <A HREF = "region.html">region</A>
|
|
</P>
|
|
<P><B>Default:</B> none
|
|
</P>
|
|
</HTML>
|