mirror of
https://github.com/arcan1s/moldyn.git
synced 2025-07-13 13:55:52 +00:00
Added Makefile
Added lib 'int2str.c' Added 'main.c'
This commit is contained in:
@ -33,13 +33,10 @@ int printing_agl (char *input, char *output, const int *connect, int num_mol,
|
||||
* f_out - output file
|
||||
*/
|
||||
|
||||
type_agl[0] = 0;
|
||||
type_agl[1] = 0;
|
||||
|
||||
f_out = fopen (output, "a");
|
||||
|
||||
// head
|
||||
fprintf (f_out, "FILE=%s\nSTATISTIC:\n| n | N |\n-----------------", input);
|
||||
fprintf (f_out, "FILE=%s\nSTATISTIC:\n| n | N |\n-----------------\n", input);
|
||||
for (i=0; i<num_mol; i++)
|
||||
if (stat[i] != 0)
|
||||
fprintf (f_out, " %7i %7i \n", i+1, stat[i]);
|
||||
@ -112,10 +109,4 @@ int printing_agl (char *input, char *output, const int *connect, int num_mol,
|
||||
fclose (f_out);
|
||||
fprintf (f_out, "---------------------------------------------------\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
int main (int argc, char *argv[])
|
||||
{
|
||||
return 0;
|
||||
}
|
Reference in New Issue
Block a user