Go to the documentation of this file.
56 int main( int argc, char **arg)
67 double *point,*spoint;
69 unsigned int sz,ns,j,n,k,ndof,nBoxes;
82 fprintf(stderr, "Reading parameter file : %s\n", GetFileFullName(&fparam));
86 Error( "cuikxdot requires the dynamics");
90 Error( "The degrees of freedom must be even");
93 Error( "Not enough input parameters to define an action");
105 fprintf(stderr, "Reading solution file : %s\n", GetFileFullName(&fsols));
109 Error( "Empty solution file");
112 fprintf(stderr, "Writing acceleration file : %s\n", GetFileFullName(&facc));
116 Error( "Output file for accelerations can not be opened");
135 sz= Getxdot(¶meters,spoint,u,acc,&ds);
138 Error( "xdot size missmatch");
171 fprintf(stdout, " Wrong number of parameters.\n");
172 fprintf(stdout, " Use:\n");
173 fprintf(stdout, " cuikxdot <world>.world <solutions>.sol <action>\n");
174 fprintf(stdout, " Where:\n");
175 fprintf(stdout, " <world>: File describing the problem\n");
176 fprintf(stdout, " <solutions>: Solutions for which to extract the acceleratinos.\n");
177 fprintf(stdout, " action: Action for which to compute the acceleration\n");
178 fprintf(stdout, " File extensions are not required\n");
181 return(EXIT_SUCCESS);
|
Follow us!