Skip to content
Snippets Groups Projects
Commit a04fdced authored by Giovanni La Mura's avatar Giovanni La Mura
Browse files

Write number of spheres to TPPOAN output

parent 1640c3c5
Branches
Tags
No related merge requests found
......@@ -223,6 +223,7 @@ void sphere(string config_file, string data_file, string output_path) {
tppoan.write(reinterpret_cast<char *>(&nph), sizeof(int));
tppoan.write(reinterpret_cast<char *>(&nths), sizeof(int));
tppoan.write(reinterpret_cast<char *>(&nphs), sizeof(int));
tppoan.write(reinterpret_cast<char *>(&nsph), sizeof(int));
for (int nsi = 0; nsi < nsph; nsi++)
tppoan.write(reinterpret_cast<char *>(&(sconf->iog_vec[nsi])), sizeof(int));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment