Compiler/code tweaks.
[voro++.git] / trunk / src / common.hh
blobf0ab144c508cd59caa4a7eb9bda1eaec6eec348b
1 // Voro++, a 3D cell-based Voronoi library
2 //
3 // Author : Chris H. Rycroft (LBL / UC Berkeley)
4 // Email : chr@alum.mit.edu
5 // Date : August 30th 2011
7 /** \file common.hh
8 * \brief Header file for the small helper functions. */
10 #ifndef VOROPP_COMMON_HH
11 #define VOROPP_COMMON_HH
13 #include <cstdio>
14 #include <cstdlib>
15 #include <vector>
17 #include "config.hh"
19 namespace voro {
21 void voro_fatal_error(const char *p,int status);
22 void voro_print_positions(std::vector<double> &v,FILE *fp=stdout);
23 FILE* safe_fopen(const char *filename,const char *mode);
24 void voro_print_vector(std::vector<int> &v,FILE *fp=stdout);
25 void voro_print_vector(std::vector<double> &v,FILE *fp=stdout);
26 void voro_print_face_vertices(std::vector<int> &v,FILE *fp=stdout);
30 #endif