Header file for the small helper functions.
More...
#include <cstdio>
#include <cstdlib>
#include <vector>
#include "config.hh"
Go to the source code of this file.
Functions |
void | voro::voro_fatal_error (const char *p, int status) |
| Function for printing fatal error messages and exiting.
|
void | voro::voro_print_positions (std::vector< double > &v, FILE *fp=stdout) |
| Prints a vector of positions.
|
FILE * | voro::safe_fopen (const char *filename, const char *mode) |
| Opens a file and checks the operation was successful.
|
void | voro::voro_print_vector (std::vector< int > &v, FILE *fp) |
| Prints a vector of integers.
|
void | voro::voro_print_vector (std::vector< double > &v, FILE *fp) |
| Prints a vector of doubles.
|
void | voro::voro_print_face_vertices (std::vector< int > &v, FILE *fp) |
| Prints a vector a face vertex information.
|
Detailed Description
Definition in file common.hh.