102 gchar * lil[3] = {
"ii",
"iii",
"iv"};
114 int numth = omp_get_max_threads ();
115 gboolean doatoms = FALSE;
137 saved_line = g_strdup_printf (
"%s",
this_line);
147 this_word = strtok_r (NULL,
" ", & saved_line);
151 #pragma omp parallel for num_threads(numth) private(j,l,v,this_line,saved_line,this_word) shared(i,k,lil,coord_line,this_reader,active_project,res)
154 if (
res == 2)
goto enda;
156 saved_line = g_strdup_printf (
"%s",
this_line);
166 if (l < 2)
this_word = strtok_r (NULL,
" ", & saved_line);
178 saved_line = g_strdup_printf (
"%s",
this_line);
187 this_word = strtok_r (NULL,
" ", & saved_line);
195 this_word = strtok_r (NULL,
" ", & saved_line);
219 #pragma omp parallel for num_threads(numth) private(i,j,k,l,v,this_line,saved_line,this_word) shared(lil,coord_line,this_reader,active_project,res)
222 if (!
res)
goto ends;
227 saved_line = g_strdup_printf (
"%s",
this_line);
238 this_word = strtok_r (NULL,
" ", & saved_line);
245 saved_line = g_strdup_printf (
"%s",
this_line);
255 if (l < 2)
this_word = strtok_r (NULL,
" ", & saved_line);
263 saved_line = g_strdup_printf (
"%s",
this_line);
272 this_word = strtok_r (NULL,
" ", & saved_line);
280 this_word = strtok_r (NULL,
" ", & saved_line);
341 if (l < 2)
this_word = strtok (NULL,
" ");
389 for (j=1; j<120; j++)
400 gchar * str = g_strdup_printf (
"Cannot find species with a mass of %f !",
this_reader ->
z[i]);
integer(kind=c_int) function lattice(totl, lid, vectors, vmod, angles, lat, cfrac, apbc)
void format_error(int stp, int ato, gchar *mot, int line)
Message to display an error message.