#include <exception>
#include <sstream>
#include <fstream>
#include <algorithm>
#include <new>
#include "chomp/system/config.h"
#include "chomp/system/textfile.h"
#include "chomp/system/timeused.h"
#include "chomp/system/arg.h"
#include "config.h"
#include "confinfo.h"
#include "typedefs.h"
#include "utils.h"
#include "compmdec.h"
#include "plotmdec.h"
#include "eigenval.h"
#include "dotgraph.h"
Go to the source code of this file.
Functions | |
| int | runSingeComp (const char *boxCoordinates, const char *graphName, const char *shareName, const char *phaseSpaceName, bool fullPhaseSpace, const char *cubesName, bool connOrbits, int skipIndices) |
| int | main (int argc, char *argv[]) |
| The main procedure of the program. | |
Variables | |
| const char * | title |
| The title of the program which is displayed every time the program is launcued. | |
| 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. | |
This program constitutes an interface to computing a Conley-Morse graph for a single parameter box the same way it would be computed by the program "cmgraphs". Its purpose is to extract specific data for a single parameter box after having located it with the aid of the results obtained by the program "cmgraphs", in particular, by having analyzed the continuation diagram. Please, use the program "cmgraphs" to run computations for a range of parameters and to do continuation matching between the Morse decompositions.
Definition in file cmsingle.cpp.
| 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 261 of file cmsingle.cpp.
References helpinfo, runSingeComp(), and title.
| int runSingeComp | ( | const char * | boxCoordinates, | |
| const char * | graphName, | |||
| const char * | shareName, | |||
| const char * | phaseSpaceName, | |||
| bool | fullPhaseSpace, | |||
| const char * | cubesName, | |||
| bool | connOrbits, | |||
| int | skipIndices | |||
| ) |
Definition at line 105 of file cmsingle.cpp.
References computeMorseDecomposition(), computeParam(), coordMinMax(), custom::pop3p::finalDepth, MapComputation< mapcomp, cubetype, cubsettype >::maxImgDiam, MapComputation< mapcomp, cubetype, cubsettype >::maxImgVol, custom::pop3p::paramCount, custom::pop3p::paramDim, plotMorseDecompositionPNG(), showConfigInfo(), custom::pop3p::spaceDim, custom::pop3p::spaceOffset, custom::pop3p::spaceWidth, and writeDotGraph().
Referenced by main().
| const char* helpinfo |
Initial value:
"\ This is the front-end program for the computation of a Conley-Morse graph\n\ for a single parameter box. It is a supplementary program to 'cmgraphs',\n\ and it capable of saving the results of all its computations to files.\n\ The parameter box is identified by the integer coordinates of its minimal\n\ vertex and corresponds to a box in the subdivision of the parameter area,\n\ for example, if the entire parameter range [-1,1]x[-1,1] is divided into\n\ 20x20 boxes then '-b 0,19' corresponds to [-1.0,-0.9]x[0.9,1.0].\n\ Command line arguments (the argument '-b' is mandatory):\n\ -b x1,x2,...,xN - the integer coordinates of a parameter box to process,\n\ -g file.txt - file name to save the text code for the Conley-Morse graph,\n\ -s file.ind - file name to save/load cached Conley index information,\n\ -p file.png - file name to save a PNG picture of the Morse decomposition,\n\ -c prefix - prefix for file names to save Morse sets to as lists of boxes,\n\ --conn - compute connecting orbits between Morse sets (memory-consuming),\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 additional information useful for debugging,\n\ --help - make the program show this brief help information and exit.\n\ For more information ask the author at http://www.pawelpilarczyk.com/."
Definition at line 78 of file cmsingle.cpp.
| const char* title |
Initial value:
"\ This is a program which computes a single Conley-Morse graph.\n\ Ver. 0.01, April 19, 2008. Copyright (C) 2005-2008 by Pawel Pilarczyk.\n\ This is free software. No warranty. Consult 'license.txt' for details."
Definition at line 70 of file cmsingle.cpp.
1.5.3