59 gchar * lia[4] = {
"a",
"b",
"c",
"d"};
63 int numth = omp_get_max_threads ();
64 gboolean doatoms = FALSE;
84 #pragma omp parallel for num_threads(numth) private(j,this_line,saved_line,this_word) shared(i,k,lia,coord_line,active_project,res)
87 if (
res == 2)
goto enda;
89 saved_line = g_strdup_printf (
"%s",
this_line);
98 this_word = strtok_r (NULL,
" ", & saved_line);
106 this_word = strtok_r (NULL,
" ", & saved_line);
123 #pragma omp parallel for num_threads(numth) private(i,j,k,this_line,saved_line,this_word) shared(lia,coord_line,active_project,res)
126 if (
res == 2)
goto ends;
131 saved_line = g_strdup_printf (
"%s",
this_line);
140 this_word = strtok_r (NULL,
" ", & saved_line);
148 this_word = strtok_r (NULL,
" ", & saved_line);
162 if (
res == 2)
return 2;
169 add_reader_info (g_strdup_printf (
"Error - chemical species changes between steps %d and %d, for atom %d !", i, i+1, j+1), 0);
178 for (i=0; i<sli; i++)
250 if ((linec - i)%(
this_reader -> natomes + 1) == 0) j = i;
Binding to the Fortran90 subroutines.
Callback declarations for main window.
void allocatoms(project *this_proj)
allocate project data
double string_to_double(gpointer string)
convert string to double
Global variable declarations Global convenience function declarations Global data structure defin...
Variable declarations related to the OpenGL window Function declarations related to the OpenGL wind...
Messaging function declarations.
Function declarations for reading atomes project file Function declarations for saving atomes proje...
void reader_info(gchar *type, gchar *sinf, int val)
display reader information
void add_reader_info(gchar *info, int mid)
append information message to the reader information
void format_error(int stp, int ato, gchar *mot, int line)
Message to display an error message.
int vas_get_atom_coordinates(int sli)
get the atomic coordinates from the VASP file
int open_vas_file(int linec)
open VASP file
Functions declaration to read atomic coordinates.