The Conley-Morse Graphs Software
Functions | Variables
cmgraphs.cpp File Reference

Conley-Morse graphs - the main program. More...

#include <exception>
#include "chomp/system/config.h"
#include "chomp/system/textfile.h"
#include "chomp/system/timeused.h"
#include "chomp/system/arg.h"
#include "chomp/multiwork/mw.h"
#include "config.h"
#include "typedefs.h"
#include "typedyns.h"
#include "worker.h"
#include "coord.h"

Go to the source code of this file.

Functions

int main (int argc, char *argv[])
 The main procedure of the program. More...
 

Variables

const char * title
 The title of the program which is displayed every time the program is launcued. More...
 
const char * helpinfo
 The help information about the program which is displayed if the program is launched without command-line arguments or with incorrect arguments. More...
 

Detailed Description

Conley-Morse graphs - the main program.

This program computes a set of Conley-Morse graphs for a given discrete dynamical system for a prescribed rectangular range of parameters, and establishes the continuation relation between adjacent computed graphs.

Author
Pawel Pilarczyk

Definition in file cmgraphs.cpp.

Function Documentation

◆ main()

int main ( int  argc,
char *  argv[] 
)

The main procedure of the program.

Returns: 0 = Ok, -1 = Error, 1 = Help displayed, 2 = Wrong arguments.

Definition at line 142 of file cmgraphs.cpp.

References helpinfo, and title.

Variable Documentation

◆ helpinfo

const char* helpinfo
Initial value:
= "\
This is the front-end program for the computation of Conley-Morse graphs\n\
for a selected range of parameters for a given discrete dynamical system,\n\
as configured in the file 'config.h' of the source code. Please, see the\n\
documentation of the program and the source code for more information.\n\
Command line arguments (either '-w', or '-c' and '-f' must be specified):\n\
-w computer:port - run as a worker and connect to the given coordinator,\n\
-c [port] - run as a coordinator and listen to workers at the given port;\n\
\tif port=0 (default) then runs the computations locally only,\n\
-f prefix - file name prefix for saving the final continuation data,\n\
-i filename - intermediate results file (new results will be appended),\n\
-g filename - file name to save the text code for Conley-Morse graphs,\n\
-m prefix - file name prefix for text code of Conley-Morse graphs,\n\
-s prefix - file name prefix for shared info on Morse decompositions,\n\
-p prefix - file name prefix for PNG pictures of Morse decompositions,\n\
-q prefix - file name prefix for Morse sets as lists of cubes,\n\
-o prefix - file name prefix for post-processing Morse sets information,\n\
-t filename - file name with optimization information (read & append),\n\
-u prefix - file name prefix for ODE integration optimization information,\n\
-z prefix - prefix for temporary files with Morse decompositions cache,\n\
-n num - the number of parameter space patches for matching;\n\
\tvalue <0 sets the distance between patch corners in each direciton,\n\
--full - use the full range of the phase space to plot Morse sets,\n\
--log filename - file name to save all the text output of the program to,\n\
--quiet - suppress any output written to the terminal,\n\
--debug - display a lot of additional information (for debugging etc.),\n\
--help - make the program show this brief help information and exit.\n\
For more information ask the author at http://www.pawelpilarczyk.com/."

The help information about the program which is displayed if the program is launched without command-line arguments or with incorrect arguments.

Definition at line 106 of file cmgraphs.cpp.

Referenced by main().

◆ title

const char* title
Initial value:
= "\
This is a Conley-Morse graphs computation program.\n\
Ver. 0.09, July 15, 2014. Copyright (C) 2005-2014 by Pawel Pilarczyk.\n\
This is free software. No warranty. Consult 'license.txt' for details."

The title of the program which is displayed every time the program is launcued.

Definition at line 98 of file cmgraphs.cpp.

Referenced by main().