<area href="classvoro_1_1pre__container__base.html" title="A class for storing an arbitrary number of particles, prior to setting up a container geometry..." alt="voro::pre_container_base" shape="rect" coords="0,0,157,24"/>
<div class="textblock"><p>The <a class="el" href="classvoro_1_1pre__container__poly.html" title="A class for storing an arbitrary number of particles with radius information, prior to setting up a c...">pre_container_poly</a> class is an extension of the <a class="el" href="classvoro_1_1pre__container__base.html" title="A class for storing an arbitrary number of particles, prior to setting up a container geometry...">pre_container_base</a> class for cases when particle radius information is available. </p>
<p>Definition at line <a class="el" href="pre__container_8hh_source.html#l00133">133</a> of file <a class="el" href="pre__container_8hh_source.html">pre_container.hh</a>.</p>
</div><hr/><h2>Constructor & Destructor Documentation</h2>
<p>The class constructor sets up the geometry of container, initializing the minimum and maximum coordinates in each direction. </p>
<dl class="params"><dt>Parameters:</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">(ax_,bx_)</td><td>the minimum and maximum x coordinates. </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">(ay_,by_)</td><td>the minimum and maximum y coordinates. </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">(az_,bz_)</td><td>the minimum and maximum z coordinates. </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">(xperiodic_,yperiodic_,zperiodic_</td><td>) flags setting whether the container is periodic in each coordinate direction. </td></tr>
</table>
</dd>
</dl>
<p>Definition at line <a class="el" href="pre__container_8hh_source.html#l00144">144</a> of file <a class="el" href="pre__container_8hh_source.html">pre_container.hh</a>.</p>
<p>Import a list of particles from an open file stream, also storing the order of that the particles are read. Entries of four numbers (Particle ID, x position, y position, z position) are searched for. If the file cannot be successfully read, then the routine causes a fatal error. </p>
<dl class="params"><dt>Parameters:</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">fp</td><td>the file handle to read from. </td></tr>
</table>
</dd>
</dl>
<p>Definition at line <a class="el" href="pre__container_8cc_source.html#l00202">202</a> of file <a class="el" href="pre__container_8cc_source.html">pre_container.cc</a>.</p>
<tr><td class="paramdir">[in]</td><td class="paramname">filename</td><td>the name of the file to read from. </td></tr>
</table>
</dd>
</dl>
<p>Definition at line <a class="el" href="pre__container_8hh_source.html#l00151">151</a> of file <a class="el" href="pre__container_8hh_source.html">pre_container.hh</a>.</p>
<p>Stores a particle ID and position, allocating a new memory chunk if necessary. </p>
<dl class="params"><dt>Parameters:</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">n</td><td>the numerical ID of the inserted particle. </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">(x,y,z)</td><td>the position vector of the inserted particle. </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">r</td><td>the radius of the particle. </td></tr>
</table>
</dd>
</dl>
<p>Definition at line <a class="el" href="pre__container_8cc_source.html#l00086">86</a> of file <a class="el" href="pre__container_8cc_source.html">pre_container.cc</a>.</p>
<p>Transfers the particles stored within the class to a <a class="el" href="classvoro_1_1container__poly.html" title="Extension of the container_base class for computing radical Voronoi tessellations.">container_poly</a> class. </p>
<dl class="params"><dt>Parameters:</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">con</td><td>the <a class="el" href="classvoro_1_1container__poly.html" title="Extension of the container_base class for computing radical Voronoi tessellations.">container_poly</a> class to transfer to. </td></tr>
</table>
</dd>
</dl>
<p>Definition at line <a class="el" href="pre__container_8cc_source.html#l00120">120</a> of file <a class="el" href="pre__container_8cc_source.html">pre_container.cc</a>.</p>
<p>Transfers the particles stored within the class to a <a class="el" href="classvoro_1_1container__poly.html" title="Extension of the container_base class for computing radical Voronoi tessellations.">container_poly</a> class, also recording the order in which particles were stored. </p>
<dl class="params"><dt>Parameters:</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">vo</td><td>the ordering class to use. </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">con</td><td>the <a class="el" href="classvoro_1_1container__poly.html" title="Extension of the container_base class for computing radical Voronoi tessellations.">container_poly</a> class to transfer to. </td></tr>
</table>
</dd>
</dl>
<p>Definition at line <a class="el" href="pre__container_8cc_source.html#l00166">166</a> of file <a class="el" href="pre__container_8cc_source.html">pre_container.cc</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>