57 g_debug (
"IODEBUG: %s: pid= %d, rid= %d, cid= %d", iost, this_proj ->
id, rid, cid);
58 g_debug (
"IODEBUG: %s: ndata= %d", iost, this_proj -> curves[rid][cid] -> ndata);
59 if (this_proj -> curves[rid][cid] -> data[0] == NULL)
61 g_debug (
"IODEBUG: %s: data[0] == NULL", iost);
63 g_debug (
"IODEBUG: %s: x[0]= %f", iost, this_proj -> curves[rid][cid] -> data[0][0]);
64 g_debug (
"IODEBUG: %s: y[0]= %f", iost, this_proj -> curves[rid][cid] -> data[1][0]);
65 g_debug (
"IODEBUG: %s: x[ndata-1]= %f", iost, this_proj -> curves[rid][cid] -> data[0][this_proj -> curves[rid][cid] -> ndata - 1]);
66 g_debug (
"IODEBUG: %s: y[ndata-1]= %f", iost, this_proj -> curves[rid][cid] -> data[1][this_proj -> curves[rid][cid] -> ndata - 1]);
69 g_debug (
"IODEBUG: %s: cmax[0]= %f, cmax[1]= %f", iost,
70 this_proj -> curves[rid][cid] -> cmax[0], this_proj -> curves[rid][cid] -> cmax[1]);
71 g_debug (
"IODEBUG: %s: name= %s", iost, this_proj -> curves[rid][cid] -> name);
72 g_debug (
"IODEBUG: %s: show_title= %d", iost, this_proj -> curves[rid][cid] ->
show_title);
73 g_debug (
"IODEBUG: %s: default_title= %d", iost, this_proj -> curves[rid][cid] ->
default_title);
74 g_debug (
"IODEBUG: %s: title= %s", iost, this_proj -> curves[rid][cid] -> title);
75 g_debug (
"IODEBUG: %s: title_font= %s", iost, this_proj -> curves[rid][cid] -> title_font);
76 g_debug (
"IODEBUG: %s: title_pos[0]= %f, title_pos[1]= %f", iost,
77 this_proj -> curves[rid][cid] -> title_pos[0], this_proj -> curves[rid][cid] -> title_pos[1]);
78 g_debug (
"IODEBUG: %s: title.red= %f, title.green= %f, title.blue= %f", iost,
79 this_proj -> curves[rid][cid] -> title_color.red,
80 this_proj -> curves[rid][cid] -> title_color.green,
81 this_proj -> curves[rid][cid] -> title_color.blue);
83 g_debug (
"IODEBUG: %s: axmin[0]= %f, axmin[1]= %f", iost,
84 this_proj -> curves[rid][cid] -> axmin[0], this_proj -> curves[rid][cid] -> axmin[1]);
85 g_debug (
"IODEBUG: %s: axmax[0]= %f, axmax[1]= %f", iost,
86 this_proj -> curves[rid][cid] -> axmax[0], this_proj -> curves[rid][cid] -> axmax[1]);
87 g_debug (
"IODEBUG: %s: x_axis_title= %s", iost, this_proj -> curves[rid][cid] ->
axis_title[0]);
88 g_debug (
"IODEBUG: %s: x_axis_title_font= %s", iost, this_proj -> curves[rid][cid] ->
axis_title_font[0]);
89 g_debug (
"IODEBUG: %s: x_axis_title_pos[0]= %d, x_axis_title_pos[1]= %d", iost,
90 this_proj -> curves[rid][cid] -> axis_title_x[0], this_proj -> curves[rid][cid] -> axis_title_y[0]);
91 g_debug (
"IODEBUG: %s: y_axis_title= %s", iost, this_proj -> curves[rid][cid] ->
axis_title[1]);
92 g_debug (
"IODEBUG: %s: y_axis_title_font= %s", iost, this_proj -> curves[rid][cid] ->
axis_title_font[1]);
93 g_debug (
"IODEBUG: %s: y_axis_title_pos[0]= %d, y_axis_title_pos[1]= %d", iost,
94 this_proj -> curves[rid][cid] -> axis_title_x[1], this_proj -> curves[rid][cid] -> axis_title_y[1]);
95 g_debug (
"IODEBUG: %s: scale[0]= %d, scale[1]= %d", iost,
96 this_proj -> curves[rid][cid] ->
scale[0], this_proj -> curves[rid][cid] ->
scale[1]);
97 g_debug (
"IODEBUG: %s: x_axis_defaut_title= %d", iost, this_proj -> curves[rid][cid] -> axis_defaut_title[0]);
98 g_debug (
"IODEBUG: %s: y_axis_defaut_title= %d", iost, this_proj -> curves[rid][cid] -> axis_defaut_title[1]);
99 g_debug (
"IODEBUG: %s: grid[0]= %d, grid[1]= %d", iost,
100 this_proj -> curves[rid][cid] ->
show_grid[0], this_proj -> curves[rid][cid] ->
show_grid[1]);
101 g_debug (
"IODEBUG: %s: show_axis[0]= %d, show_axis[1]= %d", iost,
102 this_proj -> curves[rid][cid] ->
show_axis[0], this_proj -> curves[rid][cid] ->
show_axis[1]);
103 g_debug (
"IODEBUG: %s: autoscale[0]= %d, autoscale[1]= %d", iost,
104 this_proj -> curves[rid][cid] ->
autoscale[0], this_proj -> curves[rid][cid] ->
autoscale[1]);
105 g_debug (
"IODEBUG: %s: majt[0]= %f, majt[1]= %f", iost,
106 this_proj -> curves[rid][cid] ->
majt[0], this_proj -> curves[rid][cid] ->
majt[1]);
107 g_debug (
"IODEBUG: %s: mint[0]= %d, mint[1]= %d", iost,
108 this_proj -> curves[rid][cid] -> mint[0], this_proj -> curves[rid][cid] -> mint[1]);
109 g_debug (
"IODEBUG: %s: ticks_io[0]= %d, ticks_io[1]= %d", iost,
110 this_proj -> curves[rid][cid] -> ticks_io[0], this_proj -> curves[rid][cid] -> ticks_io[1]);
111 g_debug (
"IODEBUG: %s: ticks_pos[0]= %d, ticks_pos[1]= %d", iost,
112 this_proj -> curves[rid][cid] -> ticks_pos[0], this_proj -> curves[rid][cid] -> ticks_pos[1]);
113 g_debug (
"IODEBUG: %s: majt_size[0]= %d, majt_size[1]= %d", iost,
114 this_proj -> curves[rid][cid] -> majt_size[0], this_proj -> curves[rid][cid] -> majt_size[1]);
115 g_debug (
"IODEBUG: %s: mint_size[0]= %d, mint_size[1]= %d", iost,
116 this_proj -> curves[rid][cid] -> mint_size[0], this_proj -> curves[rid][cid] -> mint_size[1]);
117 g_debug (
"IODEBUG: %s: labels_pos[0]= %d, labels_pos[1]= %d", iost,
118 this_proj -> curves[rid][cid] -> labels_pos[0], this_proj -> curves[rid][cid] -> labels_pos[1]);
119 g_debug (
"IODEBUG: %s: labels_digit[0]= %d, labels_digit[1]= %d", iost,
120 this_proj -> curves[rid][cid] -> labels_digit[0], this_proj -> curves[rid][cid] -> labels_digit[1]);
121 g_debug (
"IODEBUG: %s: labels_font[0]= %s, labels_font[1]= %s", iost,
122 this_proj -> curves[rid][cid] -> labels_font[0], this_proj -> curves[rid][cid] -> labels_font[1]);
123 g_debug (
"IODEBUG: %s: labels_angle[0]= %f, labels_angle[1]= %f", iost,
124 this_proj -> curves[rid][cid] -> labels_angle[0], this_proj -> curves[rid][cid] -> labels_angle[1]);
125 g_debug (
"IODEBUG: %s: labels_shift_x[0]= %d, labels_shift_y[0]= %d", iost,
126 this_proj -> curves[rid][cid] -> labels_shift_x[0], this_proj -> curves[rid][cid] -> labels_shift_y[0]);
127 g_debug (
"IODEBUG: %s: labels_shift_x[1]= %d, labels_shift_y[1]= %d", iost,
128 this_proj -> curves[rid][cid] -> labels_shift_x[1], this_proj -> curves[rid][cid] -> labels_shift_y[1]);
130 g_debug (
"IODEBUG: %s: show_legend= %d", iost, this_proj -> curves[rid][cid] ->
show_legend);
131 g_debug (
"IODEBUG: %s: legend_pos[0]= %f, legend_pos[1]= %f", iost,
132 this_proj -> curves[rid][cid] -> legend_pos[0], this_proj -> curves[rid][cid] -> legend_pos[1]);
133 g_debug (
"IODEBUG: %s: legend_font= %s", iost, this_proj -> curves[rid][cid] -> legend_font);
134 g_debug (
"IODEBUG: %s: legend.red= %f, legend.green= %f, legend.blue= %f", iost,
135 this_proj -> curves[rid][cid] -> legend_color.red,
136 this_proj -> curves[rid][cid] -> legend_color.green,
137 this_proj -> curves[rid][cid] -> legend_color.blue);
138 g_debug (
"IODEBUG: %s: show_legend_box= %d", iost, this_proj -> curves[rid][cid] -> show_legend_box);
139 g_debug (
"IODEBUG: %s: legend_box_dash= %d", iost, this_proj -> curves[rid][cid] -> legend_box_dash);
140 g_debug (
"IODEBUG: %s: legend_box_thickness= %f", iost, this_proj -> curves[rid][cid] -> legend_box_thickness);
141 g_debug (
"IODEBUG: %s: legend_box.red= %f, legend_box.green= %f, legend_box.blue= %f", iost,
142 this_proj -> curves[rid][cid] -> legend_box_color.red,
143 this_proj -> curves[rid][cid] -> legend_box_color.green,
144 this_proj -> curves[rid][cid] -> legend_box_color.blue);
146 g_debug (
"IODEBUG: %s: show_frame= %d", iost, this_proj -> curves[rid][cid] ->
show_frame);
147 g_debug (
"IODEBUG: %s: frame_type= %d", iost, this_proj -> curves[rid][cid] -> frame_type);
148 g_debug (
"IODEBUG: %s: frame_dash= %d", iost, this_proj -> curves[rid][cid] -> frame_dash);
149 g_debug (
"IODEBUG: %s: frame_thickness= %f", iost, this_proj -> curves[rid][cid] -> frame_thickness);
150 g_debug (
"IODEBUG: %s: frame.red= %f, frame.green= %f, frame.blue= %f", iost,
151 this_proj -> curves[rid][cid] -> frame_color.red,
152 this_proj -> curves[rid][cid] -> frame_color.green,
153 this_proj -> curves[rid][cid] -> frame_color.blue);
154 g_debug (
"IODEBUG: %s: frame.xmin= %f, frame.xmax= %f", iost,
155 this_proj -> curves[rid][cid] -> frame_pos[0][0], this_proj -> curves[rid][cid] -> frame_pos[0][1]);
156 g_debug (
"IODEBUG: %s: frame.ymin= %f, frame.ymax= %f", iost,
157 this_proj -> curves[rid][cid] -> frame_pos[1][0], this_proj -> curves[rid][cid] -> frame_pos[1][1]);
159 g_debug (
"IODEBUG: %s: backc.red= %f, backc.green= %f, backc.blue= %f", iost,
160 this_proj -> curves[rid][cid] -> backcolor.red,
161 this_proj -> curves[rid][cid] -> backcolor.green,
162 this_proj -> curves[rid][cid] -> backcolor.blue);
163 g_debug (
"IODEBUG: %s: legend_font= %s", iost, this_proj -> curves[rid][cid] -> legend_font);
164 if (this_proj -> curves[rid][cid] -> cfile != NULL)
166 g_debug (
"IODEBUG: %s: cfile= %s", iost, this_proj -> curves[rid][cid] -> cfile);
171 g_debug (
"IODEBUG: %s: No curve window", iost);
185 g_debug (
"IODEBUG::%s:: lattice debug", iost);
186 cell_info * debug_cell = & this_proj -> cell;
187 g_debug (
"IODEBUG::%s:: pbc= %d, frac= %d, ltype= %d", iost, debug_cell -> pbc, debug_cell -> frac, debug_cell -> ltype);
188 g_debug (
"IODEBUG::%s:: npt= %d, has_a_box= %d, crystal= %d", iost, debug_cell -> npt, debug_cell -> has_a_box, debug_cell -> crystal);
189 g_debug (
"IODEBUG::%s:: volumec= %f, density= %f", iost, debug_cell -> volume, debug_cell -> density);
190 g_debug (
"IODEBUG::%s:: cextra[0]= %d, cextra[1]= %d, cextra[2]= %d", iost, debug_cell -> cextra[0], debug_cell -> cextra[1], debug_cell -> cextra[2]);
191 if (debug_cell -> box)
193 box_info * debug_box = debug_cell -> box;
195 for (i=0; i<2; i++) g_debug (
"IODEBUG::%s:: i= %d, param[%d][0]= %f, param[%d][1]= %f, param[%d][2]= %f", iost, i, i, debug_box ->
param[i][0], i, debug_box ->
param[i][1], i, debug_box ->
param[i][2]);
196 for (i=0; i<3; i++) g_debug (
"IODEBUG::%s:: i= %d, vect[%d][0]= %f, vect[%d][1]= %f, vect[%d][2]= %f", iost, i, i, debug_box -> vect[i][0], i, debug_box -> vect[i][1], i, debug_box -> vect[i][2]);
197 for (i=0; i<3; i++) g_debug (
"IODEBUG::%s:: i= %d, rvect[%d][0]= %f, rvect[%d][1]= %f, rvect[%d][2]= %f", iost, i, i, debug_box -> rvect[i][0], i, debug_box -> rvect[i][1], i, debug_box -> rvect[i][2]);
213 g_debug (
"IODEBUG::%s: name= %s", iost, this_proj -> name);
214 if (this_proj -> coordfile != NULL)
216 g_debug (
"IODEBUG::%s: coordfile= %s", iost, this_proj -> coordfile);
217 g_debug (
"IODEBUG::%s: tfile= %d", iost, this_proj -> tfile);
219 if (this_proj -> bondfile != NULL)
221 g_debug (
"IODEBUG::%s: bondfile= %s", iost, this_proj -> bondfile);
223 g_debug (
"IODEBUG::%s: newproj= %d", iost, this_proj -> newproj);
224 g_debug (
"IODEBUG::%s: pbc= %d", iost, this_proj -> cell.pbc);
225 g_debug (
"IODEBUG::%s: frac= %d", iost, this_proj -> cell.frac);
226 g_debug (
"IODEBUG::%s: run= %d", iost, this_proj -> run);
227 g_debug (
"IODEBUG::%s: dmtx= %d", iost, this_proj -> dmtx);
228 g_debug (
"IODEBUG::%s: nspec= %d", iost, this_proj -> nspec);
229 g_debug (
"IODEBUG::%s: natomes= %d", iost, this_proj -> natomes);
230 g_debug (
"IODEBUG::%s: steps= %d", iost, this_proj -> steps);
231 g_debug (
"IODEBUG::%s: grtotcutoff= %f", iost, this_proj ->
chemistry -> grtotcutoff);
232 g_debug (
"IODEBUG::%s: cvect[0][0]= %f, cvect[0][1]= %f, cvect[0][2]= %f",
233 iost, this_proj -> cell.box[0].vect[0][0], this_proj -> cell.box[0].vect[0][1], this_proj -> cell.box[0].vect[0][2]);
234 g_debug (
"IODEBUG::%s: cvect[1][0]= %f, cvect[1][1]= %f, cvect[1][2]= %f",
235 iost, this_proj -> cell.box[0].vect[1][0], this_proj -> cell.box[0].vect[1][1], this_proj -> cell.box[0].vect[1][2]);
236 g_debug (
"IODEBUG::%s: cvect[2][0]= %f, cvect[2][1]= %f, cvect[2][2]= %f",
237 iost, this_proj -> cell.box[0].vect[2][0], this_proj -> cell.box[0].vect[2][1], this_proj -> cell.box[0].vect[2][2]);
238 g_debug (
"IODEBUG::%s: langles[0]= %f, langles[1]= %f, langles[2]= %f", iost,
239 this_proj -> cell.box[0].param[1][0], this_proj -> cell.box[0].param[1][1], this_proj -> cell.box[0].param[1][2]);
240 g_debug (
"IODEBUG::%s: vmod[0]= %f, vmod[1]= %f, vmod[2]= %f", iost,
241 this_proj -> cell.box[0].param[0][0], this_proj -> cell.box[0].param[0][1], this_proj -> cell.box[0].param[0][2]);
244 g_debug (
"IODEBUG::%s: i= %d, num_delta[i]= %d", iost, i, this_proj -> num_delta[i]);
245 g_debug (
"IODEBUG::%s: i= %d, delta[i]= %f", iost, i, this_proj -> delta[i]);
246 g_debug (
"IODEBUG::%s: i= %d, min[i]= %f", iost, i, this_proj ->
min[i]);
247 g_debug (
"IODEBUG::%s: i= %d, max[i]= %f", iost, i, this_proj ->
max[i]);
251 g_debug (
"IODEBUG::%s: i= %d, visok[i]= %d", iost, i, this_proj -> visok[i]);
252 g_debug (
"IODEBUG::%s: i= %d, initok[i]= %d", iost, i, this_proj -> initok[i]);
254 if (this_proj -> natomes != 0 && this_proj -> nspec != 0)
256 for (i=0; i<this_proj -> steps; i++)
258 g_debug (
"IODEBUG::%s: proj.atom[%d][%d].x= %f, proj.atom[%d][%d].x= %f",
259 iost, i, 0, this_proj ->
atoms[i][0].
x, i, this_proj -> natomes-1, this_proj ->
atoms[i][this_proj -> natomes - 1].
x);
260 g_debug (
"IODEBUG::%s: proj.atom[%d][%d].y= %f, proj.atom[%d][%d].y= %f",
261 iost, i, 0, this_proj ->
atoms[i][0].
y, i, this_proj -> natomes - 1, this_proj ->
atoms[i][this_proj -> natomes - 1].
y);
262 g_debug (
"IODEBUG::%s: proj.atom[%d][%d].z= %f, proj.atom[%d][%d].z= %f",
263 iost, i, 0, this_proj ->
atoms[i][0].
z, i, this_proj -> natomes - 1, this_proj ->
atoms[i][this_proj -> natomes - 1].
z);
265 for (i=0; i<this_proj -> nspec; i++)
267 g_debug (
"IODEBUG::%s: i= %d, nsps[i]= %d", iost, i, this_proj ->
chemistry -> nsps[i]);
268 g_debug (
"IODEBUG::%s: i= %d, atid[i]= %d", iost, i, (
int)this_proj ->
chemistry -> chem_prop[
CHEM_Z][i]);
269 g_debug (
"IODEBUG::%s: i= %d, mass[i]= %f", iost, i, this_proj ->
chemistry -> chem_prop[
CHEM_M][i]);
270 g_debug (
"IODEBUG::%s: i= %d, rad[i]= %f", iost, i, this_proj ->
chemistry -> chem_prop[
CHEM_R][i]);
272 for (i=0; i<this_proj -> nspec; i++)
274 for (j=0; j<this_proj -> nspec; j++)
276 g_debug (
"IODEBUG::%s: i= %d, j= %d, cutoffs[i][j]= %f", iost, i, j, this_proj ->
chemistry -> cutoffs[i][j]);