Go to the documentation of this file.
61 int main( int argc, char **arg)
84 Error( "Sol file does not exists in cuikmergeboxes");
91 Error( "Could not open the output file for the merged cuiksystem.");
101 while((i<n)&&(token!=EOF))
126 fprintf(stderr, " Wrong number of parameters.\n");
127 fprintf(stderr, " Use:\n");
128 fprintf(stderr, " cuikmergeboxes <suffx> <problem filenames>.sol \n");
129 fprintf(stderr, " where <problem filenames> contains the kinematic equations to merge\n");
130 fprintf(stderr, " (the '.cuik' extension is not required)\n");
132 return(EXIT_SUCCESS);
int main(int argc, char **arg) Main body of the cuikmergeboxes application.
#define NEW(_var, _n, _type) Allocates memory space.
Data structure to hold the information about the name of a file.
Definition of the Tfilename type and the associated functions.
void Error(const char *s) General error function.
Error and warning functions.
void DeleteFileName(Tfilename *fn) Destructor.
int ReadBox(FILE *f, Tbox *b) Reads a box from a file.
Definitions of constants and macros used in several parts of the cuik library.
void CopyBox(void *b_out, void *b_in) Box copy operator.
Definition of the TCuikSystem type and the associated functions.
void CreateFileName(char *path, char *name, char *suffix, char *ext, Tfilename *fn) Constructor.
char * GetFileFullName(Tfilename *fn) Gets the file full name (paht+name+extension).
#define SOL_EXT File extension for solution files.
void DeleteBox(void *b) Destructor.
void MergeBoxes(Tbox *b1, Tbox *b2, Tbox *bout) Concats two boxes.
void PrintBox(FILE *f, Tbox *b) Prints a box.
Definition of the Tparameters type and the associated functions.
|
Follow us!