Fixed typo in delete_connection routine.
[voro++.git] / trunk / src / common.hh
blob65543a11f77a3f42824d562633d394d141b4bac0
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 check_duplicate(int n,double x,double y,double z,int id,double *qp);
23 void voro_fatal_error(const char *p,int status);
24 void voro_print_positions(std::vector<double> &v,FILE *fp=stdout);
25 FILE* safe_fopen(const char *filename,const char *mode);
26 void voro_print_vector(std::vector<int> &v,FILE *fp=stdout);
27 void voro_print_vector(std::vector<double> &v,FILE *fp=stdout);
28 void voro_print_face_vertices(std::vector<int> &v,FILE *fp=stdout);
32 #endif