69 this_proj -> analysis[rdf] -> curves[0] -> name = g_strdup_printf (
"g(r) %s", _(
"Neutrons"));
70 this_proj -> analysis[rdf] -> curves[1] -> name = g_strdup_printf (
"g(r) %s - %s", _(
"Neutrons"), _(
"smoothed"));
71 this_proj -> analysis[rdf] -> curves[2] -> name = g_strdup_printf (
"G(r) %s", _(
"Neutrons"));
72 this_proj -> analysis[rdf] -> curves[3] -> name = g_strdup_printf (
"G(r) %s - %s", _(
"Neutrons"), _(
"smoothed"));
73 this_proj -> analysis[rdf] -> curves[4] -> name = g_strdup_printf (
"D(r) %s", _(
"Neutrons"));
74 this_proj -> analysis[rdf] -> curves[5] -> name = g_strdup_printf (
"D(r) %s - %s", _(
"Neutrons"), _(
"smoothed"));
75 this_proj -> analysis[rdf] -> curves[6] -> name = g_strdup_printf (
"T(r) %s", _(
"Neutrons"));
76 this_proj -> analysis[rdf] -> curves[7] -> name = g_strdup_printf (
"T(r) %s - %s", _(
"Neutrons"), _(
"smoothed"));
77 this_proj -> analysis[rdf] -> curves[8] -> name = g_strdup_printf (
"g(r) %s", _(
"X-rays"));
78 this_proj -> analysis[rdf] -> curves[9] -> name = g_strdup_printf (
"g(r) %s - %s", _(
"X-rays"), _(
"smoothed"));
79 this_proj -> analysis[rdf] -> curves[10] -> name = g_strdup_printf (
"G(r) %s", _(
"X-rays"));
80 this_proj -> analysis[rdf] -> curves[11] -> name = g_strdup_printf (
"G(r) %s - %s", _(
"X-rays"), _(
"smoothed"));
81 this_proj -> analysis[rdf] -> curves[12] -> name = g_strdup_printf (
"D(r) %s", _(
"X-rays"));
82 this_proj -> analysis[rdf] -> curves[13] -> name = g_strdup_printf (
"D(r) %s - %s", _(
"X-rays"), _(
"smoothed"));
83 this_proj -> analysis[rdf] -> curves[14] -> name = g_strdup_printf (
"T(r) %s", _(
"X-rays"));
84 this_proj -> analysis[rdf] -> curves[15] -> name = g_strdup_printf (
"T(r) %s - %s", _(
"X-rays"), _(
"smoothed"));
86 for ( i = 0 ; i < this_proj -> nspec ; i++ )
88 for ( j = 0 ; j < this_proj -> nspec ; j++ )
90 this_proj -> analysis[rdf] -> curves[k] -> name = g_strdup_printf (
"g(r)[%s,%s]",
active_chem -> label[i],
active_chem -> label[j]);
92 this_proj -> analysis[rdf] -> curves[k] -> name = g_strdup_printf (
"g(r)[%s,%s] - %s",
active_chem -> label[i],
active_chem -> label[j], _(
"smoothed"));
94 this_proj -> analysis[rdf] -> curves[k] -> name = g_strdup_printf (
"G(r)[%s,%s]",
active_chem -> label[i],
active_chem -> label[j]);
96 this_proj -> analysis[rdf] -> curves[k] -> name = g_strdup_printf (
"G(r)[%s,%s] - %s",
active_chem -> label[i],
active_chem -> label[j], _(
"smoothed"));
98 this_proj -> analysis[rdf] -> curves[k] -> name = g_strdup_printf (
"dn(r)[%s,%s]",
active_chem -> label[i],
active_chem -> label[j]);
102 if ( this_proj -> nspec == 2 )
104 this_proj -> analysis[rdf] -> curves[k] -> name = g_strdup_printf(
"BT(r)[NN]");
106 this_proj -> analysis[rdf] -> curves[k] -> name = g_strdup_printf(
"BT(r)[NN] - %s", _(
"smoothed"));
108 this_proj -> analysis[rdf] -> curves[k] -> name = g_strdup_printf(
"BT(r)[NC]");
110 this_proj -> analysis[rdf] -> curves[k] -> name = g_strdup_printf(
"BT(r)[NC] - %s", _(
"smoothed"));
112 this_proj -> analysis[rdf] -> curves[k] -> name = g_strdup_printf(
"BT(r)[CC]");
114 this_proj -> analysis[rdf] -> curves[k] -> name = g_strdup_printf(
"BT(r)[CC] - %s", _(
"smoothed"));
117 this_proj -> analysis[rdf] -> init_ok = TRUE;
131 if (this_proj -> analysis[rdf] -> calc_buffer == NULL) this_proj -> analysis[rdf] -> calc_buffer =
add_buffer (NULL, NULL, NULL);
132 view_buffer (this_proj -> analysis[rdf] -> calc_buffer);
133 print_info (_(
"\n\nRadial distribution function(s)"),
"heading", this_proj -> analysis[rdf] -> calc_buffer);
136 print_info (_(
" - real space calculation\n\n"),
"heading", this_proj -> analysis[rdf] -> calc_buffer);
140 print_info (_(
" - FFT[S(q)]\n\n"),
"heading", this_proj -> analysis[rdf] -> calc_buffer);
142 print_info (_(
"Calculation details:\n\n"), NULL, this_proj -> analysis[rdf] -> calc_buffer);
146 print_info (_(
"\tReciprocal space data:\n\n"), NULL, this_proj -> analysis[rdf] -> calc_buffer);
147 print_info (_(
"\t - Minimum vector Q"),
"bold", this_proj -> analysis[rdf] -> calc_buffer);
148 print_info (
"min",
"sub_bold", this_proj -> analysis[rdf] -> calc_buffer);
149 print_info (
": ",
"bold", this_proj -> analysis[rdf] -> calc_buffer);
150 str = g_strdup_printf (
"%f", this_proj -> analysis[
SKD] ->
min);
151 print_info (str,
"bold_red", this_proj -> analysis[rdf] -> calc_buffer);
153 print_info (
" Å",
"bold", this_proj -> analysis[rdf] -> calc_buffer);
154 print_info (
"-1",
"sup_bold", this_proj -> analysis[rdf] -> calc_buffer);
155 print_info (_(
"\n\t - Maximum vector Q"),
"bold", this_proj -> analysis[rdf] -> calc_buffer);
156 print_info (
"max",
"sub_bold", this_proj -> analysis[rdf] -> calc_buffer);
157 print_info (_(
" for the FFT: "),
"bold", this_proj -> analysis[rdf] -> calc_buffer);
158 str = g_strdup_printf (
"%f", this_proj -> analysis[rdf] ->
max);
159 print_info (str,
"bold_red", this_proj -> analysis[rdf] -> calc_buffer);
161 print_info (
" Å",
"bold", this_proj -> analysis[rdf] -> calc_buffer);
162 print_info (
"-1",
"sup_bold", this_proj -> analysis[rdf] -> calc_buffer);
163 print_info (
"\n\n", NULL, this_proj -> analysis[rdf] -> calc_buffer);
165 print_info (_(
"\tReal space discretization:\n\n"), NULL, this_proj -> analysis[rdf] -> calc_buffer);
166 print_info (_(
"\t - Number of δr steps: "),
"bold", this_proj -> analysis[rdf] -> calc_buffer);
167 str = g_strdup_printf (
"%d", this_proj -> analysis[rdf] -> num_delta);
168 print_info (str,
"bold_blue", this_proj -> analysis[rdf] -> calc_buffer);
170 print_info (_(
"\n\n\t between 0.0 and "), NULL, this_proj -> analysis[rdf] -> calc_buffer);
171 print_info (
"D",
"bold", this_proj -> analysis[rdf] -> calc_buffer);
172 print_info (
"max",
"sub_bold", this_proj -> analysis[rdf] -> calc_buffer);
173 print_info (_(
"\n\t where "), NULL, this_proj -> analysis[rdf] -> calc_buffer);
174 print_info (
"D",
"bold", this_proj -> analysis[rdf] -> calc_buffer);
175 print_info (
"max",
"sub_bold", this_proj -> analysis[rdf] -> calc_buffer);
176 print_info (_(
" is the maximum distance in real space, "), NULL, this_proj -> analysis[rdf] -> calc_buffer);
177 print_info (
"D",
"bold", this_proj -> analysis[rdf] -> calc_buffer);
178 print_info (
"max",
"sub_bold", this_proj -> analysis[rdf] -> calc_buffer);
179 print_info (
" = ", NULL, this_proj -> analysis[rdf] -> calc_buffer);
180 str = g_strdup_printf (
"%f", this_proj -> analysis[rdf] ->
max);
181 print_info (str,
"bold_blue", this_proj -> analysis[rdf] -> calc_buffer);
183 print_info (
" Å\n\n\t - δr = ",
"bold", this_proj -> analysis[rdf] -> calc_buffer);
184 str = g_strdup_printf (
"%f", this_proj -> analysis[rdf] -> delta);
185 print_info (str,
"bold_blue", this_proj -> analysis[rdf] -> calc_buffer);
187 print_info (
" Å\n",
"bold", this_proj -> analysis[rdf] -> calc_buffer);
188 print_info (
calculation_time(TRUE, this_proj -> analysis[rdf] -> calc_time), NULL, this_proj -> analysis[rdf] -> calc_buffer);