Go to the documentation of this file.
89 int main( int argc, char **arg)
122 Warning( "The world is not sphere-only");
131 fprintf(stderr, "Reading one sample from : %s\n", GetFileFullName(&fsamples));
136 Error( "Could not open the file to read the samples");
145 fprintf(stderr, "Writing rigid groups to : %s\n", GetFileFullName(&frgroups));
149 NEW(sample,nv, double);
154 Error( "Could not open the file to store the rigid groups");
158 for(i=0;((!end)&&(i<nv));i++)
160 token=fscanf(fs, "%lf",&(sample[i]));
161 if ((token==EOF)||(token==0))
183 return(EXIT_SUCCESS);
187 fprintf(stderr, "Use:\n");
188 fprintf(stderr, " cuiksamples2rgroups <problem_name> <out_name>\n");
189 fprintf(stderr, " <problem_name> the prefix to define the world,\n");
190 fprintf(stderr, " .params and .samples files.\n");
191 fprintf(stderr, " <out_name> [optional] The output atom file.\n");
193 return(EXIT_FAILURE);
|
Follow us!