cuikatlascenters.c File Reference

Detailed Description

dot_inline_dotgraph_9.png

Extracts the centers of the atlas and stores them in a file in the form of boxes (sols).

See Also
cuikatlas.c

Definition in file cuikatlascenters.c.

Functions

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

Function Documentation

int main ( int  argc,
char **  arg 
)

Main body of the cuikatlascenters application.

Use:

  • cuikatlascenters problem_name.world [dummies] [inside] [middle]

where

  • problem_name is used to load .atlas file from where to extract the centres.
  • [dummies] optional. If 1, output has to include de dummies. This is necessary only if you plan to unsimplify the output points (default is 0).
  • [inside] optional. If 1, output the center of the charts that are fully inside the domain (default is 0).
  • [middle] optional. If 1, the output includes intermediate points in between charts. We get a denser grid of points without regenerating the atlas with a smaller parameter R. (default is 0).

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

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

References ATLAS_EXT, CreateFileName(), CS_WD_DELETE, CS_WD_EXT, CS_WD_INIT, DeleteAtlas(), DeleteFileName(), DeleteParameters(), FALSE, GetFileFullName(), InitParametersFromFile(), LoadAtlas(), PARAM_EXT, and SaveChartCenters().