cuiksols2samples.c File Reference

Detailed Description

dot_inline_dotgraph_56.png

A tool to transform solutions to samples. Solutions are given with ranges for each system variable while samples are given as points. This application simply reads the list of solutions and stores the central point of each solution box in the sample output file.

Definition in file cuiksols2samples.c.

Functions

int main (int argc, char **arg)
 Main body of the cuiksols2samples application. More...
 

Function Documentation

int main ( int  argc,
char **  arg 
)

Main body of the cuiksols2samples application.

A tool to transform solutions to samples. Solutions are given with ranges for each system variable while samples are given as points. This application simply reads the list of solutions and stores the central point of each solution box in the sample output file.

Use:

  • cuiksols2samples sol_name sample_name

where

  • solution_name is the .sol file with the solutions.
  • sample_name [optional] is the output .links (or dof) file. If not given sol_file.links (sol_file.dof) is used.

The file extensions are not required.

Parameters
argcNumber of elements in the command line that starts the application (i.e., the cuiksols2samples command itself and its arguments).
argStrings with the arguments.
Returns
EXIT_SUCCESS (0) if the execution worked out fine and EXIT_FAILURE if not.

Definition at line 69 of file cuiksols2samples.c.

References CreateFileName(), CT_REPRESENTATION, DeleteBox(), DeleteFileName(), DeleteParameters(), DeleteSample(), Error(), GetFileFullName(), GetParameter(), InitParametersFromFile(), InitSampleFromBox(), JOINTS_EXT, LINKS_EXT, NO_UINT, PARAM_EXT, PrintSample(), ReadBox(), REP_JOINTS, and SOL_EXT.