cuikplotforcefield.c File Reference

Detailed Description

dot_inline_dotgraph_26.png

Plots a 3d projection of the force field over a set of solution points (i.e., the center of the charts in an atlas, the points along a solution path, etc).

See Also
cuikatlas.c

Definition in file cuikplotforcefield.c.

Functions

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

Function Documentation

int main ( int  argc,
char **  arg 
)

Main body of the cuikplotforcefield application.

Use:

  • cuikplotforcefield problem_name [sol_name] xID yID zID

where

  • problem_name is used to load the .world and .atlas files necessary to generate the .cgl plot.
  • sol_name [optional] The file with the solution points. If not given the solution file is assumed to be problem_name.sol .
  • xID yID zID are the identifier of the variables on which to project. These are indices of system variables, numbered consecutively and without considering dummy ones (these are the ones stored, for instance, in the solution path files).

The problem_name and solution_name (if given) are without extension (if given it is removed).

Parameters
argcNumber of elements in the command line that starts the application (i.e., the cuikplotforcefield 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 70 of file cuikplotforcefield.c.

References ClosePlot3d(), CreateFileName(), DeleteFileName(), DeleteParameters(), DeleteSamples(), DeleteWorld(), Error(), FALSE, GetFileFullName(), GetWorldSystemVarName(), InitParametersFromFile(), InitPlot3d(), InitWorldFromFile(), LoadSamples(), PARAM_EXT, PLOT3D_EXT, PlotForceField(), PRINT_VARIABLE_NAME, SOL_EXT, and TRUE.