Go to the documentation of this file.
56 int main( int argc, char **arg)
85 fprintf(stderr, "Reading parameters from : %s\n", GetFileFullName(&fparam));
88 Error( "CuikME only works on problems with dynamics");
94 Error( "cuikME can not operate on cuiksystems (only on worlds)");
112 Error( "Output file for energies can not be opened");
122 MechEnergy(¶meters,path[i],&pe,&ke,&dynamicSpace);
123 fprintf(fout, "%f %.12f %.12f %.12f\n",t,pe,ke,pe+ke);
133 Error( "Could not read the input trajectory file");
145 fprintf(stderr, " Wrong number of parameters.\n");
146 fprintf(stderr, " Use:\n");
147 fprintf(stderr, " cuikME <base filename> [<path file>]\n");
148 fprintf(stderr, " where <base filename> is used for the parameters, world, and path files.\n");
149 fprintf(stderr, " <path file> [optional] is the file with the path.\n");
151 return(EXIT_SUCCESS);
|
Follow us!