cuikME.c File Reference

Introduction

dot_inline_dotgraph_23.png

Compute the mechanical (potential/kinetic) energy of the path.

Definition in file cuikME.c.

Functions

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

Function Documentation

◆ main()

int main ( int  argc,
char **  arg 
)

Main body of the cuikME application.

Use:

  • cuikME base_name [path_file]

where

  • base_name base name for the parameter, world and path files.
  • path_file [optional] the file with the path.
Parameters
argcNumber of elements in the command line that starts the application (i.e., the cuikME 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 56 of file cuikME.c.

References CreateFileName(), CS_WD_DELETE, CS_WD_GET_SIMP_JACOBIAN, CS_WD_INIT, CT_DYNAMICS, DeleteDynamicSpace(), DeleteFileName(), DeleteJacobian(), DeleteParameters(), DeleteTrajectory(), ENERGY_EXT, Error(), FALSE, GetFileFullName(), GetParameter(), InitDynamicSpace(), InitParametersFromFile(), LoadTrajectory(), MechEnergy(), ON_CUIKSYSTEM, PARAM_EXT, and SOL_EXT.