<a href="common_8hh.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">// Voro++, a 3D cell-based Voronoi library</span></div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="comment">/** \brief Function for printing fatal error messages and exiting.</span></div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="comment"> * Function for printing fatal error messages and exiting.</span></div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="comment"> * \param[in] p a pointer to the message to print.</span></div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="comment"> * \param[in] status the status code to return with. */</span></div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="comment">/** \brief Prints a vector of positions.</span></div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="comment"> * Prints a vector of positions as bracketed triplets.</span></div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="comment"> * \param[in] v the vector to print.</span></div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="comment"> * \param[in] fp the file stream to print to. */</span></div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span> <span class="comment">/** \brief Opens a file and checks the operation was successful.</span></div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span> <span class="comment"> * Opens a file, and checks the return value to ensure that the operation</span></div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span> <span class="comment"> * was successful.</span></div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span> <span class="comment"> * \param[in] filename the file to open.</span></div>
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span> <span class="comment"> * \param[in] mode the cstdio fopen mode to use.</span></div>