diff --git a/agl/AGL for v.3.c b/agl/AGL for v.3.c index 1c57964..8b3c4a5 100755 --- a/agl/AGL for v.3.c +++ b/agl/AGL for v.3.c @@ -3,6 +3,7 @@ #include #include #include +#include double cell[3], a[10000][3], c[250][30][3]; @@ -382,21 +383,22 @@ void main(void) f=fopen ("input_agl.dat", "r"); - for (i=0; i<24; i++) + for (i=0; i<10; i++) fscanf (f, "%c", &q[i]); fscanf (f, "%s", &name); - for (i=0; i<19; i++) + for (i=0; i<24; i++) fscanf (f, "%c", &q[i]); fscanf (f, "%i", &agl); - for (i=0; i<10; i++) + for (i=0; i<15; i++) fscanf (f, "%c", &q[i]); for (i=0; i<3; i++) fscanf (f, "%lf", &cell[i]); fgets (q, 128, f); - for (i=0; i<25; i++) + for (i=0; i<7; i++) fscanf (f, "%c", &q[i]); fscanf (f, "%s", &out_name); fclose (f); + k = strlen (out_name); out_name[k] = out_name[k-4]; diff --git a/agl/input_agl.dat b/agl/input_agl.dat index 7fb0185..8d24b53 100755 --- a/agl/input_agl.dat +++ b/agl/input_agl.dat @@ -1,4 +1,4 @@ -Имя файла с агломератом: meth.txt -Число агломератов: 2 -Размер ЭЯ: 24.42 24.40 24.49 -Имя файла с результатами: out.pdb \ No newline at end of file +File name: meth.txt +Number of aglomerates: 2 +Cell dimention: 24.42 24.40 24.49 +Output: out.pdb \ No newline at end of file diff --git a/graph/graph.c b/graph/graph.c index 2355fdb..c563a7a 100755 --- a/graph/graph.c +++ b/graph/graph.c @@ -172,9 +172,9 @@ void main() j = 1; if (j != 1) - printf ("\nGraths are isomorthic.\n"); + printf ("\nGraphs are isomorthic.\n"); else - printf ("\nGraths aren't isomorthic.\n"); + printf ("\nGraphs aren't isomorthic.\n"); getch(); } diff --git a/stat/input_stat.dat b/stat/input_stat.dat index e3032ec..4b24bda 100755 --- a/stat/input_stat.dat +++ b/stat/input_stat.dat @@ -1,9 +1,9 @@ -Маска файла: meth -Шаги траектории: 1 3 (начальный; конечный) -Размер ЭЯ: 24.42 24.40 24.49 (a; b; c) -Параметр счета: 2 (0 - общ.стат.; 1 - общ.стат. с длинами связей; 2 - общ.стат. с длинами связей и формой агломератов; 3 - стат. одной молекулы) -Тип взаимодействия: 2 (1 - моноатомное; 2 - двухатомное) -Типы атомов: 6 21 (1ый атом, 2ой атом; или атом) -Геометрический параметр: 3.2 2.4 (1-1 критерий, 1-2 критерий; или 1-1 критерий) -Номер мол. для стат.: 4 -Имя файла с результатами: out_all.dat \ No newline at end of file +Mask: meth +Trajectory step: 1 3 (first; last) +Cell dimention: 24.42 24.40 24.49 (a; b; c) +Parametr: 2 (0 - gen.stat; 1 - gen.stat and bonds length; 2 - gen.stat and bonds length and form of agl; 3 - stat for once molecule) +Interaction: 2 (1 - mono; 2 - di) +Atom types: 6 21 (1st atom, 2nd atom; or atom) +Criteria: 3.2 2.4 (1-1 criterion, 1-2 criterion; or 1-1 criterion) +Num of mol.for stat: 4 +Output: out_all.dat \ No newline at end of file