<HTML>
<CENTER><A HREF = "https://sparta.github.io">SPARTA WWW Site</A> - <A HREF = "Manual.html">SPARTA Documentation</A> - <A HREF = "Section_commands.html#comm">SPARTA Commands</A> 
</CENTER>






<HR>

<H3>create_box command 
</H3>
<P><B>Syntax:</B>
</P>
<PRE>create_box xlo xhi ylo yhi zlo zhi 
</PRE>
<PRE>xlo,xhi = box bounds in the x dimension (distance units)
ylo,yhi = box bounds in the y dimension (distance units)
zlo,zhi = box bounds in the z dimension (distance units) 
</PRE>
<P><B>Examples:</B>
</P>
<PRE>create_box 0 1 0 1 0 1
create_box 0 1 0 1 -0.5 0.5
create_box 0 10.0 0 5.0 -4.0 0.0 
</PRE>
<P><B>Description:</B>
</P>
<P>Set the size of the simulation box.
</P>
<P>For a 2d simulation, as specifed by the <A HREF = "dimension.html">dimension</A>
command, <I>zlo</I> < 0.0 and <I>zhi</I> > 0.0 is required.  This means the z
dimensions straddle 0.0.  Typical values are -0.5 and 0.5, but this is
not required.  See <A HREF = "Section_howto.html#howto_1">Section 6.1</A> of the
manual for more information about 2d simulations.
</P>
<P>For 2d axisymmetric simulations, as set by the
<A HREF = "dimension.html">dimension</A> and <A HREF = "boundary.html">boundary</A> commands, the
ylo setting must be 0.0.  See <A HREF = "Section_howto.html#howto_2">Section 6.2</A>
of the manual for more information about axisymmetric simulations.
</P>
<P><B>Restrictions:</B> none
</P>
<P><B>Related commands:</B> none
</P>
<P><B>Default:</B> none
</P>
</HTML>
