#include #include #include #include // #include "add_main.h" // #include "coords.h" // #include "messages.h" // #include "print_struct.h" // #include "read_agl.h" int main(int argc, char *argv[]) { char tmp_str[2048]; int error, i, j, *tmp_int; FILE *f_inp, *f_log; char aglinp[256], *ch_type_atoms, input[256], logfile[256], output[256]; float cell[3], *coords; int *label_mol, log, num_atoms, num_mol, num_needed_mol, *needed_mol, quiet, *true_label_mol; /* ch_type_atoms - massive of char types for atoms * aglinp - input file with aglomerate name * input - input file name * logfile - log file name * output - output file name * * cell - cell dimension * coords - massive of coordinates * * label_mol - massive of numbers of molecule for atoms * log - status of log-mode * num_atoms - number of atoms for writing coordinates * num_mol - number of molecules for writing coordinates * num_needed_mol - number of needed molecules * needed_mol - massive of needed molecules * quiet - status of quiet-mode * true_label_mol - massive of true numbers of molecule for atoms */ set_defaults (aglinp, cell, input, &log, &num_of_mol, output, &quiet, &rad); for (i=1; i