Attempting to get fast active search working

This commit is contained in:
Yohai Meiron 2020-05-01 00:27:41 -04:00
parent d046c189b3
commit 2f8f8c582c
2 changed files with 97 additions and 60 deletions

2
io.h
View file

@ -5,7 +5,7 @@
bool is_hdf5(std::string file_name);
// This function is implemented independently of the HDF5 library
void ascii_read(const std::string file_name, int *step_num, int *N, double *t, double *m, double3 *x, double3 *v);
void ascii_read(const std::string file_name, int& step_num, int& N, double& t, double **m, double3 **x, double3 **v);
void ascii_write(const std::string file_name, const int step_num, const int N, const double t, const double *m, const double3 *x, const double3 *v, int precision=10);